Searched refs:chan_count (Results 1 – 15 of 15) sorted by relevance
342 int *chan_count, in magn_3d_parse_report() argument398 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 …]
173 int ret, chan_count; in register_shared() local188 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()
139 int chan_count; member347 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()
150 int chan_count; member278 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()
65 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()
406 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()
1020 if (ses->chan_count > 1) { in cifs_pick_channel()1022 index %= ses->chan_count; in cifs_pick_channel()
131 for (i = 0; i < ses->chan_count; i++) { in smb2_get_sign_key()
1028 size_t chan_count; member
2855 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()
249 u16 chan_count; member
425 int chan_count = indio_dev->num_channels - 1; in dln2_update_scan_mode() local430 for (i = 0; i < chan_count; ++i) { in dln2_update_scan_mode()
432 u8 chan_count; /* (R) channel count */ member613 u8 chan_count; /* channel count */ member
1225 ha->bus_cnt = iocr->hdr.chan_count; in gdth_search_drives()
893 u8 chan_count; in mtk_hdmi_aud_set_input() local917 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()