Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/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.12.1/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.12.1/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.12.1/sound/soc/qcom/qdsp6/ !
Dtopology.c121 struct audioreach_container *cont; in audioreach_tplg_alloc_container() local
128 cont = idr_find(&apm->containers_idr, container_id); in audioreach_tplg_alloc_container()
131 if (cont) { in audioreach_tplg_alloc_container()
133 return cont; in audioreach_tplg_alloc_container()
137 cont = kzalloc(sizeof(*cont), GFP_KERNEL); in audioreach_tplg_alloc_container()
138 if (!cont) in audioreach_tplg_alloc_container()
141 INIT_LIST_HEAD(&cont->modules_list); in audioreach_tplg_alloc_container()
144 ret = idr_alloc_u32(&apm->containers_idr, cont, &container_id, container_id, GFP_KERNEL); in audioreach_tplg_alloc_container()
149 kfree(cont); in audioreach_tplg_alloc_container()
153 cont->container_id = container_id; in audioreach_tplg_alloc_container()
[all …]
/linux-6.12.1/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.c144 int ret = 0, cont = 1, output_param = 0, verbose = 1; in cmd_idle_info() local
154 cont = 0; in cmd_idle_info()
160 cont = 0; in cmd_idle_info()
165 cont = 0; in cmd_idle_info()
171 } while (cont); in cmd_idle_info()
/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn30/ !
Ddcn30_dio_stream_encoder.c55 uint32_t cont, send, line; in enc3_update_hdmi_info_packet() local
66 cont = 1; in enc3_update_hdmi_info_packet()
72 cont = 0; in enc3_update_hdmi_info_packet()
83 HDMI_GENERIC0_CONT, cont, in enc3_update_hdmi_info_packet()
90 HDMI_GENERIC1_CONT, cont, in enc3_update_hdmi_info_packet()
97 HDMI_GENERIC2_CONT, cont, in enc3_update_hdmi_info_packet()
104 HDMI_GENERIC3_CONT, cont, in enc3_update_hdmi_info_packet()
111 HDMI_GENERIC4_CONT, cont, in enc3_update_hdmi_info_packet()
118 HDMI_GENERIC5_CONT, cont, in enc3_update_hdmi_info_packet()
125 HDMI_GENERIC6_CONT, cont, in enc3_update_hdmi_info_packet()
[all …]
/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dio/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.12.1/sound/soc/codecs/ !
Daw87390.c255 const struct firmware *cont = NULL; in aw87390_request_firmware_file() local
260 ret = request_firmware(&cont, AW87390_ACF_FILE, aw87390->aw_pa->dev); in aw87390_request_firmware_file()
266 AW87390_ACF_FILE, cont ? cont->size : 0); in aw87390_request_firmware_file()
269 struct_size(aw87390->aw_cfg, data, cont->size), GFP_KERNEL); in aw87390_request_firmware_file()
271 release_firmware(cont); in aw87390_request_firmware_file()
275 aw87390->aw_cfg->len = cont->size; in aw87390_request_firmware_file()
276 memcpy(aw87390->aw_cfg->data, cont->data, cont->size); in aw87390_request_firmware_file()
277 release_firmware(cont); in aw87390_request_firmware_file()
/linux-6.12.1/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()
/linux-6.12.1/sound/soc/codecs/aw88395/ !
Daw88395.c468 const struct firmware *cont = NULL; in aw88395_request_firmware_file() local
473 ret = request_firmware(&cont, AW88395_ACF_FILE, aw88395->aw_pa->dev); in aw88395_request_firmware_file()
474 if ((ret < 0) || (!cont)) { in aw88395_request_firmware_file()
480 AW88395_ACF_FILE, cont ? cont->size : 0); in aw88395_request_firmware_file()
482 aw88395->aw_cfg = devm_kzalloc(aw88395->aw_pa->dev, cont->size + sizeof(int), GFP_KERNEL); in aw88395_request_firmware_file()
484 release_firmware(cont); in aw88395_request_firmware_file()
487 aw88395->aw_cfg->len = (int)cont->size; in aw88395_request_firmware_file()
488 memcpy(aw88395->aw_cfg->data, cont->data, cont->size); in aw88395_request_firmware_file()
489 release_firmware(cont); in aw88395_request_firmware_file()
/linux-6.12.1/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.12.1/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.12.1/scripts/ !
Ddecodecode27 cont=
34 cont=yes
37 [ -n "$cont" ] && {
42 cont=
/linux-6.12.1/include/linux/ !
Dfirmware.h104 void (*cont)(const struct firmware *fw, void *context));
112 void (*cont)(const struct firmware *fw, void *context));
133 void (*cont)(const struct firmware *fw, void *context)) in firmware_request_nowait_nowarn()
155 void (*cont)(const struct firmware *fw, void *context)) in request_firmware_nowait()

1234567