Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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
158 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_add_class_device()
161 attribute_container_to_transport_container(cont); in transport_add_class_device()
202 static int transport_configure(struct attribute_container *cont, in transport_configure() argument
206 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_configure()
207 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_configure()
[all …]
/linux-6.6.21/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.6.21/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.c548 struct snd_kcontrol_new cont; in snd_wm8776_add_control() local
551 memset(&cont, 0, sizeof(cont)); in snd_wm8776_add_control()
552 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8776_add_control()
553 cont.private_value = num; in snd_wm8776_add_control()
554 cont.name = wm->ctl[num].name; in snd_wm8776_add_control()
555 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8776_add_control()
558 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_add_control()
559 cont.tlv.p = NULL; in snd_wm8776_add_control()
560 cont.get = snd_wm8776_ctl_get; in snd_wm8776_add_control()
561 cont.put = snd_wm8776_ctl_put; in snd_wm8776_add_control()
[all …]
Dpsc724.c304 struct snd_kcontrol_new cont; in psc724_add_controls() local
338 memset(&cont, 0, sizeof(cont)); in psc724_add_controls()
339 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in psc724_add_controls()
341 cont.private_value = i; in psc724_add_controls()
342 cont.name = psc724_cont[i].name; in psc724_add_controls()
343 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in psc724_add_controls()
344 cont.info = snd_ctl_boolean_mono_info; in psc724_add_controls()
345 cont.get = psc724_ctl_get; in psc724_add_controls()
346 cont.put = psc724_ctl_put; in psc724_add_controls()
347 ctl = snd_ctl_new1(&cont, ice); in psc724_add_controls()
/linux-6.6.21/sound/soc/qcom/qdsp6/
Dtopology.c120 struct audioreach_container *cont; in audioreach_tplg_alloc_container() local
127 cont = idr_find(&apm->containers_idr, container_id); in audioreach_tplg_alloc_container()
130 if (cont) { in audioreach_tplg_alloc_container()
132 return cont; in audioreach_tplg_alloc_container()
136 cont = kzalloc(sizeof(*cont), GFP_KERNEL); in audioreach_tplg_alloc_container()
137 if (!cont) in audioreach_tplg_alloc_container()
140 INIT_LIST_HEAD(&cont->modules_list); in audioreach_tplg_alloc_container()
143 ret = idr_alloc_u32(&apm->containers_idr, cont, &container_id, container_id, GFP_KERNEL); in audioreach_tplg_alloc_container()
148 kfree(cont); in audioreach_tplg_alloc_container()
152 cont->container_id = container_id; in audioreach_tplg_alloc_container()
[all …]
/linux-6.6.21/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()
47 cont = 0; in cmd_idle_set()
62 cont = 0; in cmd_idle_set()
75 cont = 0; in cmd_idle_set()
81 cont = 0; in cmd_idle_set()
84 } while (cont); in cmd_idle_set()
Dpowercap-info.c95 int ret = 0, cont = 1; in cmd_cap_info() local
101 cont = 0; in cmd_cap_info()
104 cont = 0; in cmd_cap_info()
113 } while (cont); in cmd_cap_info()
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.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c58 uint32_t cont, send, line; in enc3_update_hdmi_info_packet() local
69 cont = 1; in enc3_update_hdmi_info_packet()
75 cont = 0; in enc3_update_hdmi_info_packet()
86 HDMI_GENERIC0_CONT, cont, in enc3_update_hdmi_info_packet()
93 HDMI_GENERIC1_CONT, cont, in enc3_update_hdmi_info_packet()
100 HDMI_GENERIC2_CONT, cont, in enc3_update_hdmi_info_packet()
107 HDMI_GENERIC3_CONT, cont, in enc3_update_hdmi_info_packet()
114 HDMI_GENERIC4_CONT, cont, in enc3_update_hdmi_info_packet()
121 HDMI_GENERIC5_CONT, cont, in enc3_update_hdmi_info_packet()
128 HDMI_GENERIC6_CONT, cont, in enc3_update_hdmi_info_packet()
[all …]
/linux-6.6.21/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.6.21/drivers/ata/pata_parport/
Dfit2.c36 static void fit2_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in fit2_write_regr() argument
38 if (cont == 1) in fit2_write_regr()
43 static int fit2_read_regr(struct pi_adapter *pi, int cont, int regr) in fit2_read_regr() argument
47 if (cont) { in fit2_read_regr()
Dktti.c28 static void ktti_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in ktti_write_regr() argument
30 int r = regr + cont_map[cont]; in ktti_write_regr()
36 static int ktti_read_regr(struct pi_adapter *pi, int cont, int regr) in ktti_read_regr() argument
40 r = regr + cont_map[cont]; in ktti_read_regr()
Daten.c28 static void aten_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in aten_write_regr() argument
30 int r = regr + cont_map[cont] + 0x80; in aten_write_regr()
35 static int aten_read_regr(struct pi_adapter *pi, int cont, int regr) in aten_read_regr() argument
39 r = regr + cont_map[cont] + 0x40; in aten_read_regr()
Don20.c37 static int on20_read_regr(struct pi_adapter *pi, int cont, int regr) in on20_read_regr() argument
41 r = (regr << 2) + 1 + cont; in on20_read_regr()
60 static void on20_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in on20_write_regr() argument
62 int r = (regr << 2) + 1 + cont; in on20_write_regr()
Dcomm.c36 static int comm_read_regr(struct pi_adapter *pi, int cont, int regr) in comm_read_regr() argument
40 r = regr + cont_map[cont]; in comm_read_regr()
64 static void comm_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in comm_write_regr() argument
66 int r = regr + cont_map[cont]; in comm_write_regr()
/linux-6.6.21/sound/soc/codecs/aw88395/
Daw88395.c469 const struct firmware *cont = NULL; in aw88395_request_firmware_file() local
474 ret = request_firmware(&cont, AW88395_ACF_FILE, aw88395->aw_pa->dev); in aw88395_request_firmware_file()
475 if ((ret < 0) || (!cont)) { in aw88395_request_firmware_file()
481 AW88395_ACF_FILE, cont ? cont->size : 0); in aw88395_request_firmware_file()
483 aw88395->aw_cfg = devm_kzalloc(aw88395->aw_pa->dev, cont->size + sizeof(int), GFP_KERNEL); in aw88395_request_firmware_file()
485 release_firmware(cont); in aw88395_request_firmware_file()
488 aw88395->aw_cfg->len = (int)cont->size; in aw88395_request_firmware_file()
489 memcpy(aw88395->aw_cfg->data, cont->data, cont->size); in aw88395_request_firmware_file()
490 release_firmware(cont); in aw88395_request_firmware_file()
/linux-6.6.21/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.6.21/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,
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_task.c108 int cont; in do_task() local
124 cont = 0; in do_task()
150 cont = 1; in do_task()
165 if (!cont) { in do_task()
174 } while (cont); in do_task()
/linux-6.6.21/scripts/
Ddecodecode27 cont=
34 cont=yes
37 [ -n "$cont" ] && {
42 cont=

1234567