Home
last modified time | relevance | path

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

123456

/linux-6.1.9/drivers/base/
Dattribute_container.c27 struct attribute_container *cont; member
58 return ic->cont; in attribute_container_classdev_to_container()
73 attribute_container_register(struct attribute_container *cont) in attribute_container_register() argument
75 INIT_LIST_HEAD(&cont->node); in attribute_container_register()
76 klist_init(&cont->containers, internal_container_klist_get, in attribute_container_register()
80 list_add_tail(&cont->node, &attribute_container_list); in attribute_container_register()
93 attribute_container_unregister(struct attribute_container *cont) in attribute_container_unregister() argument
98 spin_lock(&cont->containers.k_lock); in attribute_container_unregister()
99 if (!list_empty(&cont->containers.k_list)) in attribute_container_unregister()
102 list_del(&cont->node); in attribute_container_unregister()
[all …]
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()
125 struct transport_container *tcont = attribute_container_to_transport_container(cont); 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()
192 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_configure()
218 static int transport_remove_classdev(struct attribute_container *cont, in transport_remove_classdev() argument
[all …]
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dtopology.c116 struct audioreach_container *cont; in audioreach_tplg_alloc_container() local
123 cont = idr_find(&apm->containers_idr, container_id); in audioreach_tplg_alloc_container()
126 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()
136 INIT_LIST_HEAD(&cont->modules_list); in audioreach_tplg_alloc_container()
139 ret = idr_alloc(&apm->containers_idr, cont, container_id, container_id + 1, GFP_KERNEL); in audioreach_tplg_alloc_container()
144 kfree(cont); in audioreach_tplg_alloc_container()
148 cont->container_id = ret; in audioreach_tplg_alloc_container()
[all …]
/linux-6.1.9/arch/mips/kernel/
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-6.1.9/sound/pci/ice1712/
Dwm8766.c278 struct snd_kcontrol_new cont; in snd_wm8766_add_control() local
281 memset(&cont, 0, sizeof(cont)); in snd_wm8766_add_control()
282 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; 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()
285 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8766_add_control()
288 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; 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()
[all …]
Dse.c584 struct snd_kcontrol_new cont; in se200pci_add_controls() local
587 memset(&cont, 0, sizeof(cont)); in se200pci_add_controls()
588 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in se200pci_add_controls()
590 cont.private_value = i; in se200pci_add_controls()
591 cont.name = se200pci_cont[i].name; in se200pci_add_controls()
592 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in se200pci_add_controls()
593 cont.tlv.p = NULL; in se200pci_add_controls()
597 cont.info = se200pci_cont_volume_info; 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()
[all …]
Dwm8776.c552 struct snd_kcontrol_new cont; in snd_wm8776_add_control() local
555 memset(&cont, 0, sizeof(cont)); in snd_wm8776_add_control()
556 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; 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()
559 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8776_add_control()
562 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; 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()
[all …]
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-6.1.9/tools/power/cpupower/utils/
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()
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-6.1.9/drivers/block/paride/
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()
Dparide.c45 void pi_write_regr(PIA * pi, int cont, int regr, int val) in pi_write_regr() argument
47 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()
95 int pi_schedule_claimed(PIA * pi, void (*cont) (void)) in pi_schedule_claimed()
101 pi->claim_cont = cont; in pi_schedule_claimed()
[all …]
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()
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()
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()
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()
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-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
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-6.1.9/drivers/gpu/host1x/
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-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c57 uint32_t cont, send, line; in enc3_update_hdmi_info_packet() local
68 cont = 1; in enc3_update_hdmi_info_packet()
74 cont = 0; in enc3_update_hdmi_info_packet()
85 HDMI_GENERIC0_CONT, cont, in enc3_update_hdmi_info_packet()
92 HDMI_GENERIC1_CONT, cont, in enc3_update_hdmi_info_packet()
99 HDMI_GENERIC2_CONT, cont, in enc3_update_hdmi_info_packet()
106 HDMI_GENERIC3_CONT, cont, in enc3_update_hdmi_info_packet()
113 HDMI_GENERIC4_CONT, cont, in enc3_update_hdmi_info_packet()
120 HDMI_GENERIC5_CONT, cont, in enc3_update_hdmi_info_packet()
127 HDMI_GENERIC6_CONT, cont, in enc3_update_hdmi_info_packet()
[all …]
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_task.c33 int cont; in rxe_do_task() local
59 cont = 0; in rxe_do_task()
68 cont = 1; in rxe_do_task()
84 cont = 1; in rxe_do_task()
92 } while (cont); in rxe_do_task()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_stream_encoder.c55 uint32_t cont, send, line; in enc2_update_hdmi_info_packet() local
65 cont = 1; in enc2_update_hdmi_info_packet()
71 cont = 0; in enc2_update_hdmi_info_packet()
82 HDMI_GENERIC0_CONT, cont, in enc2_update_hdmi_info_packet()
89 HDMI_GENERIC1_CONT, cont, in enc2_update_hdmi_info_packet()
96 HDMI_GENERIC2_CONT, cont, in enc2_update_hdmi_info_packet()
103 HDMI_GENERIC3_CONT, cont, in enc2_update_hdmi_info_packet()
110 HDMI_GENERIC4_CONT, cont, in enc2_update_hdmi_info_packet()
117 HDMI_GENERIC5_CONT, cont, in enc2_update_hdmi_info_packet()
124 HDMI_GENERIC6_CONT, cont, in enc2_update_hdmi_info_packet()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Duconn.c91 struct nvkm_conn *cont, *conn = NULL; in nvkm_uconn_new() local
98 list_for_each_entry(cont, &disp->conns, head) { in nvkm_uconn_new()
99 if (cont->index == args->v0.id) { in nvkm_uconn_new()
100 conn = cont; in nvkm_uconn_new()
/linux-6.1.9/tools/power/cpupower/debug/i386/
Ddump_psb.c151 int ret=0, cont=1; in main() local
161 cont = 0; in main()
170 cont = 0; in main()
174 } while(cont); in main()
/linux-6.1.9/include/linux/
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,

123456