Home
last modified time | relevance | path

Searched refs:chan_count (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c352 int *chan_count, in magn_3d_parse_report() argument
409 for (i = 0, *chan_count = 0; in magn_3d_parse_report()
415 (_channels[*chan_count]).scan_index = *chan_count; in magn_3d_parse_report()
416 (_channels[*chan_count]).address = i; in magn_3d_parse_report()
422 *chan_count, in magn_3d_parse_report()
425 (*chan_count)++; in magn_3d_parse_report()
429 if (*chan_count <= 0) { in magn_3d_parse_report()
438 *chan_count); in magn_3d_parse_report()
475 int chan_count = 0; in hid_magn_3d_probe() local
502 &channels, &chan_count, in hid_magn_3d_probe()
[all …]
/linux/arch/mips/bcm63xx/
H A Ddev-enet.c173 int ret, chan_count; in register_shared() local
188 chan_count = 32; in register_shared()
190 chan_count = 8; in register_shared()
192 chan_count = 16; in register_shared()
196 shared_res[1].end += RSET_ENETDMAC_SIZE(chan_count) - 1; in register_shared()
200 shared_res[2].end += RSET_ENETDMAS_SIZE(chan_count) - 1; in register_shared()
/linux/drivers/leds/flash/
H A Dleds-qcom-flash.c171 u8 chan_count; member
181 for (i = 0; i < led->chan_count; i++) in set_flash_module_en()
331 itarg_ua = (current_ma * UA_PER_MA) / led->chan_count + 1; in set_flash_current()
334 for (i = 0; i < led->chan_count; i++) { in set_flash_current()
377 for (i = 0; i < led->chan_count; i++) { in set_flash_timeout()
401 for (i = 0; i < led->chan_count; i++) { in set_flash_strobe()
501 for (i = 0; i < led->chan_count; i++) { in qcom_flash_fault_get()
551 for (i = 0; i < led->chan_count; i++) { in qcom_flash_fault_get()
666 intensity->min = intensity->step = TORCH_IRES_UA * led->chan_count; in qcom_flash_v4l2_init()
724 led->chan_count = count; in qcom_flash_register_led_device()
[all …]
/linux/drivers/net/can/sja1000/
H A Dpeak_pcmcia.c138 int chan_count; member
346 for (i = 0; i < card->chan_count; i++) in pcan_set_leds()
383 for (i = 0; i < card->chan_count; i++) { in pcan_led_timer()
434 for (i = 0; i < card->chan_count; i++) { in pcan_isr()
471 for (i = 0; i < card->chan_count; i++) { in pcan_free_channels()
577 card->chan_count++; in pcan_add_channels()
680 if (!card->chan_count) { in pcan_probe()
H A Dpeak_pci.c170 int chan_count; member
296 for (i = 0; i < card->chan_count; i++) { in peak_pciec_led_work()
339 for (i = 0; i < card->chan_count; i++) in peak_pciec_set_leds()
493 card->channel[card->chan_count++].netdev = dev; in peak_pciec_probe()
/linux/fs/smb/client/
H A Dsess.c60 for (i = 0; i < ses->chan_count; i++) { in is_ses_using_iface()
82 for (i = 0; i < ses->chan_count; i++) { in cifs_ses_get_chan_index()
300 int i, chan_count; in cifs_disable_secondary_channels() local
305 chan_count = ses->chan_count; in cifs_disable_secondary_channels()
306 if (chan_count == 1) in cifs_disable_secondary_channels()
309 ses->chan_count = 1; in cifs_disable_secondary_channels()
314 for (i = 1; i < chan_count; i++) { in cifs_disable_secondary_channels()
572 chan = &ses->chans[ses->chan_count]; in cifs_ses_add_channel()
581 ses->chan_count++; in cifs_ses_add_channel()
616 ses->chan_count--; in cifs_ses_add_channel()
[all …]
H A Dcifs_debug.c551 if (ses->chan_count > 1) { in cifs_debug_data_proc_show()
553 ses->chan_count-1); in cifs_debug_data_proc_show()
554 for (j = 1; j < ses->chan_count; j++) { in cifs_debug_data_proc_show()
611 for (j = 0; j < ses->chan_count; j++) { in cifs_debug_data_proc_show()
H A Dcifsglob.h1118 ((1UL << (ses)->chan_count) - 1)
1131 size_t chan_count; member
H A Dtransport.c1038 for (i = 0; i < ses->chan_count; i++) { in cifs_pick_channel()
1065 index %= ses->chan_count; in cifs_pick_channel()
H A Dsmb2transport.c123 for (i = 0; i < ses->chan_count; i++) { in smb2_get_sign_key()
H A Dconnect.c181 for (i = 0; i < ses->chan_count; i++) { in cifs_signal_cifsd_for_reconnect()
2061 for (i = 1; i < ses->chan_count; i++) { in __cifs_put_smb_ses()
2348 ses->chan_count = 1; in cifs_get_smb_ses()
H A Dsmb2pdu.c365 if (ses->chan_count > 1 && in smb2_reconnect()
440 if (rc == -EOPNOTSUPP && ses->chan_count > 1) { in smb2_reconnect()
455 if (ses->chan_max > ses->chan_count && in smb2_reconnect()
458 if (ses->chan_count == 1) { in smb2_reconnect()
/linux/include/linux/
H A Domap-dma.h249 u16 chan_count; member
/linux/drivers/iio/adc/
H A Ddln2-adc.c423 int chan_count = indio_dev->num_channels - 1; in dln2_update_scan_mode() local
428 for (i = 0; i < chan_count; ++i) { in dln2_update_scan_mode()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi.c878 u8 chan_count; in mtk_hdmi_aud_set_input() local
902 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input()
903 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()