Home
last modified time | relevance | path

Searched refs:max_chan (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/drivers/net/can/sja1000/
Dems_pci.c215 int max_chan, conf_size, base_bar; in ems_pci_add_card() local
239 max_chan = EMS_PCI_V2_MAX_CHAN; in ems_pci_add_card()
244 max_chan = EMS_PCI_V1_MAX_CHAN; in ems_pci_add_card()
282 for (i = 0; i < max_chan; i++) { in ems_pci_add_card()
/linux-5.19.10/drivers/hsi/
Dhsi_core.c204 int length, cells, err, i, max_chan, mode; in hsi_add_client_from_dt() local
268 max_chan = 0; in hsi_add_client_from_dt()
280 if (channel.id > max_chan) in hsi_add_client_from_dt()
281 max_chan = channel.id; in hsi_add_client_from_dt()
287 cl->rx_cfg.num_hw_channels = max_chan + 1; in hsi_add_client_from_dt()
288 cl->tx_cfg.num_hw_channels = max_chan + 1; in hsi_add_client_from_dt()
/linux-5.19.10/drivers/bus/mhi/ep/
Dmain.c531 ch_ctx_host_size = sizeof(struct mhi_chan_ctxt) * mhi_cntrl->max_chan; in mhi_ep_cache_host_cfg()
603 ch_ctx_host_size = sizeof(struct mhi_chan_ctxt) * mhi_cntrl->max_chan; in mhi_ep_free_host_cfg()
919 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_abort_transfer()
942 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_abort_transfer()
1055 for (i = 0; i < mhi_cntrl->max_chan; i++) in mhi_ep_power_up()
1106 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_suspend_channels()
1135 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_resume_channels()
1299 mhi_cntrl->max_chan = config->max_channels; in mhi_ep_chan_init()
1305 mhi_cntrl->mhi_chan = kcalloc(mhi_cntrl->max_chan, sizeof(*mhi_cntrl->mhi_chan), in mhi_ep_chan_init()
1316 if (chan >= mhi_cntrl->max_chan) { in mhi_ep_chan_init()
[all …]
/linux-5.19.10/drivers/bus/mhi/host/
Dinit.c256 mhi_cntrl->max_chan, mhi_ctxt->chan_ctxt, in mhi_deinit_dev_ctxt()
285 mhi_cntrl->max_chan, in mhi_init_dev_ctxt()
293 for (i = 0; i < mhi_cntrl->max_chan; i++, chan_ctxt++, mhi_chan++) { in mhi_init_dev_ctxt()
422 mhi_cntrl->max_chan, mhi_ctxt->chan_ctxt, in mhi_init_dev_ctxt()
517 for (i = 0; i < mhi_cntrl->max_chan; i++, val += 8, mhi_chan++) in mhi_init_mmio()
672 if (mhi_event->chan >= mhi_cntrl->max_chan) { in parse_ev_cfg()
735 mhi_cntrl->max_chan = config->max_channels; in parse_ch_cfg()
742 mhi_cntrl->mhi_chan = vzalloc(mhi_cntrl->max_chan * in parse_ch_cfg()
756 if (chan >= mhi_cntrl->max_chan) { in parse_ch_cfg()
946 for (i = 0; i < mhi_cntrl->max_chan; i++, mhi_chan++) { in mhi_register_controller()
[all …]
Dmain.c368 for (i = 0; i < mhi_cntrl->max_chan; i++, mhi_chan++) { in mhi_create_devices()
397 if ((i + 1) < mhi_cntrl->max_chan && mhi_chan[1].configured) { in mhi_create_devices()
773 if (chan < mhi_cntrl->max_chan && in mhi_process_cmd_completion()
917 WARN_ON(chan >= mhi_cntrl->max_chan); in mhi_process_ctrl_ev_ring()
923 if (chan < mhi_cntrl->max_chan) { in mhi_process_ctrl_ev_ring()
988 WARN_ON(chan >= mhi_cntrl->max_chan); in mhi_process_data_event_ring()
994 if (chan < mhi_cntrl->max_chan && in mhi_process_data_event_ring()
Ddebugfs.c95 for (i = 0; i < mhi_cntrl->max_chan; i++, chan_ctxt++, mhi_chan++) { in mhi_debugfs_channels_show()
Dpm.c292 for (i = 0; i < mhi_cntrl->max_chan; i++, mhi_chan++) { in mhi_pm_m0_transition()
/linux-5.19.10/drivers/staging/rtl8192e/
Ddot11d.c54 int i, max_chan = 14, min_chan = 1; in dot11d_channel_map() local
63 channel_array[channel_plan].channel[i] > max_chan) in dot11d_channel_map()
/linux-5.19.10/include/linux/
Dmhi_ep.h142 u32 max_chan; member
Dmhi.h397 u32 max_chan; member
/linux-5.19.10/drivers/staging/r8188eu/include/
Drtw_mlme_ext.h337 u8 max_chan; member
/linux-5.19.10/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h396 u8 max_chan; member
/linux-5.19.10/drivers/comedi/drivers/
Dni_mio_common.c5151 unsigned int max_chan = NISTC_RTSI_TRIG_NUM_CHAN(devpriv->is_m_series); in ni_set_rtsi_direction() local
5158 if (chan < max_chan) { in ni_set_rtsi_direction()
5166 if (chan < max_chan) { in ni_set_rtsi_direction()
5181 unsigned int max_chan = NISTC_RTSI_TRIG_NUM_CHAN(devpriv->is_m_series); in ni_get_rtsi_direction() local
5187 if (chan < max_chan) { in ni_get_rtsi_direction()
/linux-5.19.10/drivers/staging/rtl8192u/
Dr8192U_core.c151 int i, max_chan = -1, min_chan = -1; in rtl819x_set_channel_map() local
170 max_chan = 14; in rtl819x_set_channel_map()
182 …ChannelPlan[channel_plan].Channel[i] < min_chan || ChannelPlan[channel_plan].Channel[i] > max_chan) in rtl819x_set_channel_map()
/linux-5.19.10/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c308 for (ch = o->min_chan; ch <= o->max_chan; ch += o->inc) { in init_channel_list()
/linux-5.19.10/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c267 for (ch = o->min_chan; ch <= o->max_chan; ch += o->inc) { in init_channel_list()