Home
last modified time | relevance | path

Searched refs:cont (Results 1 – 25 of 141) sorted by relevance

123456

/linux/drivers/base/
A Dattribute_container.c58 return ic->cont; in attribute_container_classdev_to_container()
155 if (!cont->match(cont, dev)) in attribute_container_add_device()
164 ic->cont = cont; in attribute_container_add_device()
221 if (!cont->match(cont, dev)) in attribute_container_remove_device()
312 if (!cont->match(cont, dev)) in attribute_container_device_trigger_safe()
318 failed = cont; in attribute_container_device_trigger_safe()
329 if (!cont->match(cont, dev)) in attribute_container_device_trigger_safe()
365 if (!cont->match(cont, dev)) in attribute_container_device_trigger()
402 if (cont->match(cont, dev)) in attribute_container_trigger()
403 fn(cont, dev); in attribute_container_trigger()
[all …]
A Dtransport_class.c33 static int transport_remove_classdev(struct attribute_container *cont,
120 static int transport_setup_classdev(struct attribute_container *cont, in transport_setup_classdev() argument
124 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_setup_classdev()
154 static int transport_add_class_device(struct attribute_container *cont, in transport_add_class_device() argument
160 attribute_container_to_transport_container(cont); in transport_add_class_device()
187 static int transport_configure(struct attribute_container *cont, in transport_configure() argument
191 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_configure()
218 static int transport_remove_classdev(struct attribute_container *cont, in transport_remove_classdev() argument
223 attribute_container_to_transport_container(cont); in transport_remove_classdev()
224 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_remove_classdev()
[all …]
/linux/sound/soc/qcom/qdsp6/
A Dtopology.c126 if (cont) { in audioreach_tplg_alloc_container()
128 return cont; in audioreach_tplg_alloc_container()
132 cont = kzalloc(sizeof(*cont), GFP_KERNEL); in audioreach_tplg_alloc_container()
133 if (!cont) in audioreach_tplg_alloc_container()
144 kfree(cont); in audioreach_tplg_alloc_container()
154 return cont; in audioreach_tplg_alloc_container()
199 cont->num_modules++; in audioreach_tplg_alloc_module()
379 return cont; in audioreach_parse_cont_tokens()
402 return cont; in audioreach_parse_cont_tokens()
503 if (IS_ERR(cont)) in audioreach_widget_load_module_common()
[all …]
/linux/sound/pci/ice1712/
A Dwm8766.c278 struct snd_kcontrol_new cont; in snd_wm8766_add_control() local
281 memset(&cont, 0, sizeof(cont)); in snd_wm8766_add_control()
283 cont.private_value = num; in snd_wm8766_add_control()
284 cont.name = wm->ctl[num].name; in snd_wm8766_add_control()
289 cont.tlv.p = NULL; in snd_wm8766_add_control()
290 cont.get = snd_wm8766_ctl_get; in snd_wm8766_add_control()
291 cont.put = snd_wm8766_ctl_put; in snd_wm8766_add_control()
295 cont.info = snd_wm8766_volume_info; in snd_wm8766_add_control()
297 cont.tlv.p = wm->ctl[num].tlv; in snd_wm8766_add_control()
307 cont.info = snd_wm8766_enum_info; in snd_wm8766_add_control()
[all …]
A Dse.c584 struct snd_kcontrol_new cont; in se200pci_add_controls() local
587 memset(&cont, 0, sizeof(cont)); in se200pci_add_controls()
590 cont.private_value = i; in se200pci_add_controls()
591 cont.name = se200pci_cont[i].name; in se200pci_add_controls()
593 cont.tlv.p = NULL; in se200pci_add_controls()
598 cont.get = se200pci_cont_volume_get; in se200pci_add_controls()
599 cont.put = se200pci_cont_volume_put; in se200pci_add_controls()
602 cont.tlv.p = db_scale_gain1; in se200pci_add_controls()
604 cont.tlv.p = db_scale_gain2; in se200pci_add_controls()
613 cont.get = se200pci_cont_enum_get; in se200pci_add_controls()
[all …]
A Dwm8776.c552 struct snd_kcontrol_new cont; in snd_wm8776_add_control() local
555 memset(&cont, 0, sizeof(cont)); in snd_wm8776_add_control()
557 cont.private_value = num; in snd_wm8776_add_control()
558 cont.name = wm->ctl[num].name; in snd_wm8776_add_control()
563 cont.tlv.p = NULL; in snd_wm8776_add_control()
564 cont.get = snd_wm8776_ctl_get; in snd_wm8776_add_control()
565 cont.put = snd_wm8776_ctl_put; in snd_wm8776_add_control()
569 cont.info = snd_wm8776_volume_info; in snd_wm8776_add_control()
571 cont.tlv.p = wm->ctl[num].tlv; in snd_wm8776_add_control()
581 cont.info = snd_wm8776_enum_info; in snd_wm8776_add_control()
[all …]
A Dpsc724.c307 struct snd_kcontrol_new cont; in psc724_add_controls() local
341 memset(&cont, 0, sizeof(cont)); in psc724_add_controls()
342 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in psc724_add_controls()
344 cont.private_value = i; in psc724_add_controls()
345 cont.name = psc724_cont[i].name; in psc724_add_controls()
346 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in psc724_add_controls()
347 cont.info = snd_ctl_boolean_mono_info; in psc724_add_controls()
348 cont.get = psc724_ctl_get; in psc724_add_controls()
349 cont.put = psc724_ctl_put; in psc724_add_controls()
350 ctl = snd_ctl_new1(&cont, ice); in psc724_add_controls()
/linux/arch/mips/kernel/
A Dspinlock_test.c15 int cont; in ss_get() local
19 cont = 1; in ss_get()
23 while (cont) { in ss_get()
27 cont = 0; in ss_get()
58 int cont; in multi_other() local
63 cont = 1; in multi_other()
77 while (cont) { in multi_other()
81 cont = 0; in multi_other()
/linux/tools/power/cpupower/utils/
A Dcpuidle-set.c29 int ret = 0, cont = 1, param = 0, disabled; in cmd_idle_set() local
41 cont = 0; in cmd_idle_set()
46 cont = 0; in cmd_idle_set()
55 cont = 0; in cmd_idle_set()
64 cont = 0; in cmd_idle_set()
77 cont = 0; in cmd_idle_set()
83 cont = 0; in cmd_idle_set()
86 } while (cont); in cmd_idle_set()
A Dcpuidle-info.c140 int ret = 0, cont = 1, output_param = 0, verbose = 1; in cmd_idle_info() local
150 cont = 0; in cmd_idle_info()
156 cont = 0; in cmd_idle_info()
161 cont = 0; in cmd_idle_info()
167 } while (cont); in cmd_idle_info()
/linux/drivers/block/paride/
A Dbpck6.c59 static int bpck6_read_regr(PIA *pi, int cont, int reg) in bpck6_read_regr() argument
64 if (reg<0 || reg>7 || cont<0 || cont>2) in bpck6_read_regr()
68 out=ppc6_rd_port(PPCSTRUCT(pi),cont?reg|8:reg); in bpck6_read_regr()
72 static void bpck6_write_regr(PIA *pi, int cont, int reg, int val) in bpck6_write_regr() argument
75 if (reg>=0 && reg<=7 && cont>=0 && cont<=1) in bpck6_write_regr()
77 ppc6_wr_port(PPCSTRUCT(pi),cont?reg|8:reg,(u8)val); in bpck6_write_regr()
A Dparide.c47 pi->proto->write_regr(pi, cont, regr, val); in pi_write_regr()
52 int pi_read_regr(PIA * pi, int cont, int regr) in pi_read_regr() argument
54 return pi->proto->read_regr(pi, cont, regr); in pi_read_regr()
77 void (*cont) (void) = NULL; in pi_wake_up() local
82 cont = pi->claim_cont; in pi_wake_up()
91 if (cont) in pi_wake_up()
92 cont(); in pi_wake_up()
101 pi->claim_cont = cont; in pi_schedule_claimed()
111 void pi_do_claimed(PIA * pi, void (*cont) (void)) in pi_do_claimed()
113 if (pi_schedule_claimed(pi, cont)) in pi_do_claimed()
[all …]
A Dktti.c32 static void ktti_write_regr( PIA *pi, int cont, int regr, int val) in ktti_write_regr() argument
36 r = regr + cont_map[cont]; in ktti_write_regr()
42 static int ktti_read_regr( PIA *pi, int cont, int regr ) in ktti_read_regr() argument
46 r = regr + cont_map[cont]; in ktti_read_regr()
A Dfit2.c40 static void fit2_write_regr( PIA *pi, int cont, int regr, int val) in fit2_write_regr() argument
42 { if (cont == 1) return; in fit2_write_regr()
46 static int fit2_read_regr( PIA *pi, int cont, int regr ) in fit2_read_regr() argument
50 if (cont) { in fit2_read_regr()
A Daten.c38 static void aten_write_regr( PIA *pi, int cont, int regr, int val) in aten_write_regr() argument
42 r = regr + cont_map[cont] + 0x80; in aten_write_regr()
47 static int aten_read_regr( PIA *pi, int cont, int regr ) in aten_read_regr() argument
51 r = regr + cont_map[cont] + 0x40; in aten_read_regr()
A Don20.c36 static int on20_read_regr( PIA *pi, int cont, int regr ) in on20_read_regr() argument
40 r = (regr<<2) + 1 + cont; in on20_read_regr()
59 static void on20_write_regr( PIA *pi, int cont, int regr, int val ) in on20_write_regr() argument
63 r = (regr<<2) + 1 + cont; in on20_write_regr()
A Dparide.h83 extern void pi_write_regr(PIA *pi, int cont, int regr, int val);
85 extern int pi_read_regr(PIA *pi, int cont, int regr);
95 extern void pi_do_claimed(PIA *pi, void (*cont)(void));
96 extern int pi_schedule_claimed(PIA *pi, void (*cont)(void));
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_dio_stream_encoder.c74 uint32_t cont, send, line; in enc3_update_hdmi_info_packet() local
85 cont = 1; in enc3_update_hdmi_info_packet()
91 cont = 0; in enc3_update_hdmi_info_packet()
102 HDMI_GENERIC0_CONT, cont, in enc3_update_hdmi_info_packet()
109 HDMI_GENERIC1_CONT, cont, in enc3_update_hdmi_info_packet()
116 HDMI_GENERIC2_CONT, cont, in enc3_update_hdmi_info_packet()
123 HDMI_GENERIC3_CONT, cont, in enc3_update_hdmi_info_packet()
130 HDMI_GENERIC4_CONT, cont, in enc3_update_hdmi_info_packet()
137 HDMI_GENERIC5_CONT, cont, in enc3_update_hdmi_info_packet()
144 HDMI_GENERIC6_CONT, cont, in enc3_update_hdmi_info_packet()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dsch_offload.sh199 if [[ -z "$cont$leaf$fifo" ]]; then
203 $cont $leaf $fifo
210 do_test_nooffload $handle $parent $cont red tbf $leaf
211 do_test_nooffload $handle $parent $cont tbf red $leaf
214 do_test_nooffload $handle $parent $cont $leaf
240 with_$cont 8: "$parent" \
249 with_$cont 8: "$parent" \
258 with_$cont 8: "$parent" \
/linux/drivers/gpu/host1x/
A Ddebug.h16 void (*fn)(void *ctx, const char *str, size_t len, bool cont);
22 bool cont) in write_to_seqfile() argument
28 bool cont) in write_to_printk() argument
30 if (cont) in write_to_printk()
/linux/drivers/infiniband/sw/rxe/
A Drxe_task.c33 int cont; in rxe_do_task() local
59 cont = 0; in rxe_do_task()
68 cont = 1; in rxe_do_task()
77 cont = 1; in rxe_do_task()
85 } while (cont); in rxe_do_task()
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_stream_encoder.c56 uint32_t cont, send, line; in enc2_update_hdmi_info_packet() local
66 cont = 1; in enc2_update_hdmi_info_packet()
72 cont = 0; in enc2_update_hdmi_info_packet()
83 HDMI_GENERIC0_CONT, cont, in enc2_update_hdmi_info_packet()
90 HDMI_GENERIC1_CONT, cont, in enc2_update_hdmi_info_packet()
97 HDMI_GENERIC2_CONT, cont, in enc2_update_hdmi_info_packet()
104 HDMI_GENERIC3_CONT, cont, in enc2_update_hdmi_info_packet()
111 HDMI_GENERIC4_CONT, cont, in enc2_update_hdmi_info_packet()
118 HDMI_GENERIC5_CONT, cont, in enc2_update_hdmi_info_packet()
125 HDMI_GENERIC6_CONT, cont, in enc2_update_hdmi_info_packet()
[all …]
/linux/scripts/
A Ddecodecode25 cont=
32 cont=yes
35 [ -n "$cont" ] && {
40 cont=
/linux/tools/power/cpupower/debug/i386/
A Ddump_psb.c153 int ret=0, cont=1; in main() local
163 cont = 0; in main()
172 cont = 0; in main()
176 } while(cont); in main()
/linux/include/linux/
A Dattribute_container.h39 int attribute_container_register(struct attribute_container *cont);
40 int __must_check attribute_container_unregister(struct attribute_container *cont);
69 int attribute_container_add_class_device_adapter(struct attribute_container *cont,

Completed in 42 milliseconds

123456