Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/sja1000/
H A Dems_pci.c253 int max_chan, conf_size, base_bar, conf_bar; in ems_pci_add_card() local
277 max_chan = EMS_PCI_V3_MAX_CHAN; in ems_pci_add_card()
283 max_chan = EMS_PCI_V2_MAX_CHAN; in ems_pci_add_card()
289 max_chan = EMS_PCI_V1_MAX_CHAN; in ems_pci_add_card()
336 for (i = 0; i < max_chan; i++) { in ems_pci_add_card()
/openbmc/linux/drivers/hsi/
H A 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()
/openbmc/linux/drivers/bus/mhi/host/
H A Dinit.c265 mhi_cntrl->max_chan, mhi_ctxt->chan_ctxt, in mhi_deinit_dev_ctxt()
294 mhi_cntrl->max_chan, in mhi_init_dev_ctxt()
302 for (i = 0; i < mhi_cntrl->max_chan; i++, chan_ctxt++, mhi_chan++) { in mhi_init_dev_ctxt()
431 mhi_cntrl->max_chan, mhi_ctxt->chan_ctxt, in mhi_init_dev_ctxt()
532 for (i = 0; i < mhi_cntrl->max_chan; i++, val += 8, mhi_chan++) in mhi_init_mmio()
693 if (mhi_event->chan >= mhi_cntrl->max_chan) { in parse_ev_cfg()
756 mhi_cntrl->max_chan = config->max_channels; in parse_ch_cfg()
763 mhi_cntrl->mhi_chan = vcalloc(mhi_cntrl->max_chan, in parse_ch_cfg()
777 if (chan >= mhi_cntrl->max_chan) { in parse_ch_cfg()
967 for (i = 0; i < mhi_cntrl->max_chan; i++, mhi_chan++) { in mhi_register_controller()
[all …]
H A Dmain.c369 for (i = 0; i < mhi_cntrl->max_chan; i++, mhi_chan++) { in mhi_create_devices()
398 if ((i + 1) < mhi_cntrl->max_chan && mhi_chan[1].configured) { in mhi_create_devices()
791 if (chan < mhi_cntrl->max_chan && in mhi_process_cmd_completion()
935 WARN_ON(chan >= mhi_cntrl->max_chan); in mhi_process_ctrl_ev_ring()
941 if (chan < mhi_cntrl->max_chan) { in mhi_process_ctrl_ev_ring()
1007 WARN_ON(chan >= mhi_cntrl->max_chan); in mhi_process_data_event_ring()
1013 if (chan < mhi_cntrl->max_chan && in mhi_process_data_event_ring()
H A Ddebugfs.c95 for (i = 0; i < mhi_cntrl->max_chan; i++, chan_ctxt++, mhi_chan++) { in mhi_debugfs_channels_show()
H A Dpm.c300 for (i = 0; i < mhi_cntrl->max_chan; i++, mhi_chan++) { in mhi_pm_m0_transition()
/openbmc/linux/drivers/bus/mhi/ep/
H A Dmain.c160 if ((ch_id >= mhi_cntrl->max_chan) || !mhi_cntrl->mhi_chan[ch_id].name) { in mhi_ep_process_cmd_ring()
628 ch_ctx_host_size = sizeof(struct mhi_chan_ctxt) * mhi_cntrl->max_chan; in mhi_ep_cache_host_cfg()
700 ch_ctx_host_size = sizeof(struct mhi_chan_ctxt) * mhi_cntrl->max_chan; in mhi_ep_free_host_cfg()
1026 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_abort_transfer()
1049 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_abort_transfer()
1143 for (i = 0; i < mhi_cntrl->max_chan; i++) in mhi_ep_power_up()
1194 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_suspend_channels()
1224 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_resume_channels()
1393 mhi_cntrl->max_chan = config->max_channels; in mhi_ep_chan_init()
1399 mhi_cntrl->mhi_chan = kcalloc(mhi_cntrl->max_chan, sizeof(*mhi_cntrl->mhi_chan), in mhi_ep_chan_init()
[all …]
/openbmc/linux/drivers/staging/rtl8192e/
H A 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()
/openbmc/linux/include/linux/
H A Dmhi_ep.h170 u32 max_chan; member
H A Dmhi.h403 u32 max_chan; member
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drtw_mlme_ext.h396 u8 max_chan; member
/openbmc/linux/drivers/comedi/drivers/
H A 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()
/openbmc/linux/drivers/staging/rtl8192u/
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_mlme_ext.c308 for (ch = o->min_chan; ch <= o->max_chan; ch += o->inc) { in init_channel_list()