Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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-v6.1/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()
1303 mhi_cntrl->max_chan = config->max_channels; in mhi_ep_chan_init()
1309 mhi_cntrl->mhi_chan = kcalloc(mhi_cntrl->max_chan, sizeof(*mhi_cntrl->mhi_chan), in mhi_ep_chan_init()
1320 if (chan >= mhi_cntrl->max_chan) { in mhi_ep_chan_init()
[all …]
/Linux-v6.1/drivers/bus/mhi/host/
Dinit.c264 mhi_cntrl->max_chan, mhi_ctxt->chan_ctxt, in mhi_deinit_dev_ctxt()
293 mhi_cntrl->max_chan, in mhi_init_dev_ctxt()
301 for (i = 0; i < mhi_cntrl->max_chan; i++, chan_ctxt++, mhi_chan++) { in mhi_init_dev_ctxt()
430 mhi_cntrl->max_chan, mhi_ctxt->chan_ctxt, in mhi_init_dev_ctxt()
525 for (i = 0; i < mhi_cntrl->max_chan; i++, val += 8, mhi_chan++) in mhi_init_mmio()
680 if (mhi_event->chan >= mhi_cntrl->max_chan) { in parse_ev_cfg()
743 mhi_cntrl->max_chan = config->max_channels; in parse_ch_cfg()
750 mhi_cntrl->mhi_chan = vzalloc(mhi_cntrl->max_chan * in parse_ch_cfg()
764 if (chan >= mhi_cntrl->max_chan) { in parse_ch_cfg()
954 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()
786 if (chan < mhi_cntrl->max_chan && in mhi_process_cmd_completion()
930 WARN_ON(chan >= mhi_cntrl->max_chan); in mhi_process_ctrl_ev_ring()
936 if (chan < mhi_cntrl->max_chan) { in mhi_process_ctrl_ev_ring()
1001 WARN_ON(chan >= mhi_cntrl->max_chan); in mhi_process_data_event_ring()
1007 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-v6.1/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-v6.1/include/linux/
Dmhi_ep.h142 u32 max_chan; member
Dmhi.h397 u32 max_chan; member
/Linux-v6.1/drivers/staging/r8188eu/include/
Drtw_mlme_ext.h337 u8 max_chan; member
/Linux-v6.1/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h396 u8 max_chan; member
/Linux-v6.1/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-v6.1/drivers/staging/rtl8192u/
Dr8192U_core.c150 int i, max_chan = -1, min_chan = -1; in rtl819x_set_channel_map() local
169 max_chan = 14; in rtl819x_set_channel_map()
181 …ChannelPlan[channel_plan].Channel[i] < min_chan || ChannelPlan[channel_plan].Channel[i] > max_chan) in rtl819x_set_channel_map()
/Linux-v6.1/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-v6.1/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c265 for (ch = o->min_chan; ch <= o->max_chan; ch += o->inc) { in init_channel_list()