Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c342 int *chan_count, in magn_3d_parse_report() argument
398 for (i = 0, *chan_count = 0; in magn_3d_parse_report()
399 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; in magn_3d_parse_report()
403 (_channels[*chan_count]) = magn_3d_channels[i]; in magn_3d_parse_report()
404 (_channels[*chan_count]).scan_index = *chan_count; in magn_3d_parse_report()
405 (_channels[*chan_count]).address = i; in magn_3d_parse_report()
408 st->magn_val_addr[i] = &(st->iio_vals[*chan_count]); in magn_3d_parse_report()
410 *chan_count, in magn_3d_parse_report()
412 (*chan_count)++; in magn_3d_parse_report()
416 if (*chan_count <= 0) { in magn_3d_parse_report()
[all …]
/kernel/linux/linux-5.10/arch/mips/bcm63xx/
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()
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
Dpeak_pcmcia.c139 int chan_count; member
347 for (i = 0; i < card->chan_count; i++) in pcan_set_leds()
384 for (i = 0; i < card->chan_count; i++) { in pcan_led_timer()
435 for (i = 0; i < card->chan_count; i++) { in pcan_isr()
472 for (i = 0; i < card->chan_count; i++) { in pcan_free_channels()
578 card->chan_count++; in pcan_add_channels()
681 if (!card->chan_count) { in pcan_probe()
Dpeak_pci.c150 int chan_count; member
278 for (i = 0; i < card->chan_count; i++) { in peak_pciec_led_work()
323 for (i = 0; i < card->chan_count; i++) in peak_pciec_set_leds()
486 card->channel[card->chan_count++].netdev = dev; in peak_pciec_probe()
/kernel/linux/linux-5.10/fs/cifs/
Dsess.c65 for (i = 0; i < ses->chan_count; i++) { in is_ses_using_iface()
75 int old_chan_count = ses->chan_count; in cifs_try_adding_channels()
76 int left = ses->chan_max - ses->chan_count; in cifs_try_adding_channels()
156 return ses->chan_count - old_chan_count; in cifs_try_adding_channels()
168 for (i = 0; i < ses->chan_count; i++) { in cifs_ses_find_chan()
257 chan = ses->binding_chan = &ses->chans[ses->chan_count]; in cifs_ses_add_channel()
298 ses->chan_count++; in cifs_ses_add_channel()
Dcifs_debug.c406 if (ses->chan_count > 1) { in cifs_debug_data_proc_show()
408 ses->chan_count-1); in cifs_debug_data_proc_show()
409 for (j = 1; j < ses->chan_count; j++) in cifs_debug_data_proc_show()
Dtransport.c1020 if (ses->chan_count > 1) { in cifs_pick_channel()
1022 index %= ses->chan_count; in cifs_pick_channel()
Dsmb2transport.c131 for (i = 0; i < ses->chan_count; i++) { in smb2_get_sign_key()
Dcifsglob.h1028 size_t chan_count; member
Dconnect.c2855 if (ses->chan_count > 1) { in cifs_put_smb_ses()
2858 for (i = 1; i < ses->chan_count; i++) in cifs_put_smb_ses()
3111 ses->chan_count = 1; in cifs_get_smb_ses()
/kernel/linux/linux-5.10/include/linux/
Domap-dma.h249 u16 chan_count; member
/kernel/linux/linux-5.10/drivers/iio/adc/
Ddln2-adc.c425 int chan_count = indio_dev->num_channels - 1; in dln2_update_scan_mode() local
430 for (i = 0; i < chan_count; ++i) { in dln2_update_scan_mode()
/kernel/linux/linux-5.10/drivers/scsi/
Dgdth.h432 u8 chan_count; /* (R) channel count */ member
613 u8 chan_count; /* channel count */ member
Dgdth.c1225 ha->bus_cnt = iocr->hdr.chan_count; in gdth_search_drives()
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c893 u8 chan_count; in mtk_hdmi_aud_set_input() local
917 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input()
918 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()