Home
last modified time | relevance | path

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

123456

/linux/drivers/base/ !
H A Dattribute_container.c27 struct attribute_container *cont; member
58 return ic->cont; in attribute_container_classdev_to_container()
69 * @cont: The container to register. This must be allocated by the
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()
90 * @cont: previously registered container to remove
93 attribute_container_unregister(struct attribute_container *cont) in attribute_container_unregister() argument
98 spin_lock(&cont in attribute_container_unregister()
146 struct attribute_container *cont; attribute_container_add_device() local
211 struct attribute_container *cont; attribute_container_remove_device() local
241 do_attribute_container_device_trigger_safe(struct device * dev,struct attribute_container * cont,int (* fn)(struct attribute_container *,struct device *,struct device *),int (* undo)(struct attribute_container *,struct device *,struct device *)) do_attribute_container_device_trigger_safe() argument
305 struct attribute_container *cont, *failed = NULL; attribute_container_device_trigger_safe() local
357 struct attribute_container *cont; attribute_container_device_trigger() local
391 struct attribute_container *cont = attribute_container_add_attrs() local
442 struct attribute_container *cont = attribute_container_remove_attrs() local
484 attribute_container_find_class_device(struct attribute_container * cont,struct device * dev) attribute_container_find_class_device() argument
[all...]
H 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()
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()
233 transport_remove_classdev(struct attribute_container * cont,struct device * dev,struct device * classdev) transport_remove_classdev() argument
272 transport_destroy_classdev(struct attribute_container * cont,struct device * dev,struct device * classdev) transport_destroy_classdev() argument
[all...]
/linux/arch/mips/kernel/ !
H 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/sound/pci/ice1712/ !
H 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()
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 in snd_wm8766_add_control()
[all...]
H A 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 in se200pci_add_controls()
[all...]
/linux/tools/power/cpupower/utils/ !
H A 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()
H A 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()
H A 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/tools/testing/selftests/drivers/net/mlxsw/ !
H A Dsch_offload.sh192 local cont
196 for cont in "" ets prio; do
199 if [[ -z "$cont$leaf$fifo" ]]; then
203 $cont $leaf $fifo
208 for cont in ets prio; do
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
236 local cont
238 for cont i
[all...]
/linux/drivers/gpu/host1x/ !
H 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/gpu/drm/amd/display/dc/dio/dcn30/ !
H A 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/drivers/gpu/drm/amd/display/dc/dio/dcn20/ !
H A 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/sound/soc/codecs/ !
H A Daw87390.c253 const struct firmware *cont = NULL; in aw87390_request_firmware_file() local
258 ret = request_firmware(&cont, AW87390_ACF_FILE, aw87390->aw_pa->dev); in aw87390_request_firmware_file()
264 AW87390_ACF_FILE, cont ? cont->size : 0); in aw87390_request_firmware_file()
267 struct_size(aw87390->aw_cfg, data, cont->size), GFP_KERNEL); in aw87390_request_firmware_file()
269 release_firmware(cont); in aw87390_request_firmware_file()
273 aw87390->aw_cfg->len = cont->size; in aw87390_request_firmware_file()
274 memcpy(aw87390->aw_cfg->data, cont->data, cont->size); in aw87390_request_firmware_file()
275 release_firmware(cont); in aw87390_request_firmware_file()
/linux/drivers/ata/pata_parport/ !
H A Dfit2.c27 * cont = 0 - access the IDE register file
28 * cont = 1 - access the IDE command set
36 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()
H A Dktti.c23 * cont = 0 - access the IDE register file
24 * cont = 1 - access the IDE command set
28 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()
H A Daten.c23 * cont = 0 - access the IDE register file
24 * cont = 1 - access the IDE command set
28 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()
H A Don20.c33 * cont = 0 - access the IDE register file
34 * cont = 1 - access the IDE command set
37 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()
H A Dfit3.c29 * cont = 0 - access the IDE register file
30 * cont = 1 - access the IDE command set
33 static void fit3_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in fit3_write_regr() argument
35 regr += cont << 3; in fit3_write_regr()
52 static int fit3_read_regr(struct pi_adapter *pi, int cont, int regr) in fit3_read_regr() argument
56 regr += cont << 3; in fit3_read_regr()
H A Ddstr.c34 * cont = 0 - access the IDE register file
35 * cont = 1 - access the IDE command set
39 static int dstr_read_regr(struct pi_adapter *pi, int cont, int regr) in dstr_read_regr() argument
43 r = regr + cont_map[cont]; in dstr_read_regr()
69 static void dstr_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in dstr_write_regr() argument
71 int r = regr + cont_map[cont]; in dstr_write_regr()
/linux/sound/soc/codecs/aw88395/ !
H A Daw88395.c466 const struct firmware *cont = NULL; in aw88395_request_firmware_file() local
471 ret = request_firmware(&cont, AW88395_ACF_FILE, aw88395->aw_pa->dev); in aw88395_request_firmware_file()
472 if ((ret < 0) || (!cont)) { in aw88395_request_firmware_file()
478 AW88395_ACF_FILE, cont ? cont->size : 0); in aw88395_request_firmware_file()
480 aw88395->aw_cfg = devm_kzalloc(aw88395->aw_pa->dev, cont->size + sizeof(int), GFP_KERNEL); in aw88395_request_firmware_file()
482 release_firmware(cont); in aw88395_request_firmware_file()
485 aw88395->aw_cfg->len = (int)cont->size; in aw88395_request_firmware_file()
486 memcpy(aw88395->aw_cfg->data, cont->data, cont->size); in aw88395_request_firmware_file()
487 release_firmware(cont); in aw88395_request_firmware_file()
/linux/tools/power/cpupower/debug/i386/ !
H A 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/drivers/infiniband/sw/rxe/ !
H A 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/include/linux/ !
H A 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()
/linux/sound/pcmcia/pdaudiocf/ !
H A Dpdaudiocf_irq.c250 int size, off, cont, rdp, wdp; in pdacf_threaded_irq() local
292 cont = chip->pcm_size - off; in pdacf_threaded_irq()
293 if (cont > size) in pdacf_threaded_irq()
294 cont = size; in pdacf_threaded_irq()
295 pdacf_transfer(chip, cont, off); in pdacf_threaded_irq()
296 off += cont; in pdacf_threaded_irq()
298 size -= cont; in pdacf_threaded_irq()
/linux/drivers/block/ !
H A Dfloppy.c541 } *cont; variable
914 cont = NULL; in unlock_fdc()
1034 cont->done(0); in fd_watchdog()
1046 cont->interrupt(); in main_command_interrupt()
1077 cont->done(0); in setup_DMA()
1083 cont->done(0); in setup_DMA()
1095 cont->done(0); in setup_DMA()
1223 cont->done(0); in perpendicular_mode()
1451 cont->done(0); in interpret_errors()
1469 cont in interpret_errors()
[all...]

123456