Home
last modified time | relevance | path

Searched refs:chan_count (Results 1 – 11 of 11) 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()
410 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; in magn_3d_parse_report()
414 (_channels[*chan_count]) = magn_3d_channels[i]; 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()
420 st->magn_val_addr[i] = &st->iio_vals[*chan_count]; 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()
[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/fs/smb/client/
H A Dsess.c35 for (i = 0; i < ses->chan_count; i++) { in is_ses_using_iface()
57 for (i = 0; i < ses->chan_count; i++) { in cifs_ses_get_chan_index()
160 new_chan_count = old_chan_count = ses->chan_count; in cifs_try_adding_channels()
161 left = ses->chan_max - ses->chan_count; in cifs_try_adding_channels()
279 int i, chan_count; in cifs_decrease_secondary_channels() local
284 chan_count = ses->chan_count; in cifs_decrease_secondary_channels()
285 if (chan_count == 1) in cifs_decrease_secondary_channels()
291 ses->chan_count = 1; in cifs_decrease_secondary_channels()
293 ses->chan_count = ses->chan_max; in cifs_decrease_secondary_channels()
297 for (i = ses->chan_count ; i < chan_count; i++) { in cifs_decrease_secondary_channels()
[all …]
H A Dcifs_debug.c659 if (ses->chan_count > 1) { in cifs_debug_data_proc_show()
661 ses->chan_count-1); in cifs_debug_data_proc_show()
662 for (j = 1; j < ses->chan_count; j++) { in cifs_debug_data_proc_show()
719 for (j = 0; j < ses->chan_count; j++) { in cifs_debug_data_proc_show()
H A Dtransport.c829 for (i = 0; i < ses->chan_count; i++) { in cifs_pick_channel()
830 cur = (start + i) % ses->chan_count; in cifs_pick_channel()
856 index = (uint)start % ses->chan_count; in cifs_pick_channel()
H A Dcifsglob.h1130 ((1UL << (ses)->chan_count) - 1)
1143 size_t chan_count; member
H A Dsmb2transport.c85 for (i = 0; i < ses->chan_count; i++) { in smb3_get_sign_key()
H A Dsmb2pdu.c240 if (ses->chan_count < ses->chan_max) in smb3_update_ses_channels()
242 else if (ses->chan_count > ses->chan_max) in smb3_update_ses_channels()
388 if (ses->chan_count > 1 && in smb2_reconnect()
465 if (rc == -EOPNOTSUPP && ses->chan_count > 1) { in smb2_reconnect()
481 if (ses->chan_max > ses->chan_count && in smb2_reconnect()
484 if (ses->chan_count == 1) in smb2_reconnect()
H A Dconnect.c170 for (i = 1; i < ses->chan_count; i++) { in cifs_signal_cifsd_for_reconnect()
2146 for (i = 1; i < ses->chan_count; i++) { in __cifs_put_smb_ses()
2474 ses->chan_count = 1; in cifs_get_smb_ses()
/linux/include/linux/
H A Domap-dma.h249 u16 chan_count; member
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi.c618 u8 chan_count; in mtk_hdmi_aud_set_input() local
642 chan_count = mtk_hdmi_aud_get_chnl_count(chan_type); in mtk_hdmi_aud_set_input()
643 mtk_hdmi_hw_aud_set_i2s_chan_num(hdmi, chan_type, chan_count); in mtk_hdmi_aud_set_input()