Lines Matching refs:spec

470 	struct se_spec *spec = ice->spec;  in se200pci_cont_volume_get()  local
472 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_volume_get()
473 uc->value.integer.value[1] = spec->vol[n].ch2; in se200pci_cont_volume_get()
481 struct se_spec *spec = ice->spec; in se200pci_cont_boolean_get() local
483 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_boolean_get()
491 struct se_spec *spec = ice->spec; in se200pci_cont_enum_get() local
493 uc->value.enumerated.item[0] = spec->vol[n].ch1; in se200pci_cont_enum_get()
499 struct se_spec *spec = ice->spec; in se200pci_cont_update() local
504 spec->vol[n].ch1, in se200pci_cont_update()
505 spec->vol[n].ch2); in se200pci_cont_update()
510 spec->vol[n].ch1, in se200pci_cont_update()
511 spec->vol[n].ch2); in se200pci_cont_update()
516 spec->vol[n].ch1, in se200pci_cont_update()
517 spec->vol[n].ch2); in se200pci_cont_update()
522 spec->vol[n].ch1); in se200pci_cont_update()
526 se200pci_WM8776_set_agc(ice, spec->vol[n].ch1); in se200pci_cont_update()
530 se200pci_WM8776_set_afl(ice, spec->vol[n].ch1); in se200pci_cont_update()
542 struct se_spec *spec = ice->spec; in se200pci_cont_volume_put() local
550 if (spec->vol[n].ch1 != vol1) { in se200pci_cont_volume_put()
551 spec->vol[n].ch1 = vol1; in se200pci_cont_volume_put()
554 if (spec->vol[n].ch2 != vol2) { in se200pci_cont_volume_put()
555 spec->vol[n].ch2 = vol2; in se200pci_cont_volume_put()
568 struct se_spec *spec = ice->spec; in se200pci_cont_boolean_put() local
573 if (spec->vol[n].ch1 != vol1) { in se200pci_cont_boolean_put()
574 spec->vol[n].ch1 = vol1; in se200pci_cont_boolean_put()
585 struct se_spec *spec = ice->spec; in se200pci_cont_enum_put() local
592 if (spec->vol[n].ch1 != vol1) { in se200pci_cont_enum_put()
593 spec->vol[n].ch1 = vol1; in se200pci_cont_enum_put()
683 struct se_spec *spec; in se_init() local
685 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in se_init()
686 if (!spec) in se_init()
688 ice->spec = spec; in se_init()