Home
last modified time | relevance | path

Searched refs:channel_idx (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/drivers/staging/most/
Dcore.h241 int (*configure)(struct most_interface *iface, int channel_idx,
243 int (*enqueue)(struct most_interface *iface, int channel_idx,
245 int (*poison_channel)(struct most_interface *iface, int channel_idx);
246 void (*request_netinfo)(struct most_interface *iface, int channel_idx,
268 int (*probe_channel)(struct most_interface *iface, int channel_idx,
271 int channel_idx);
273 int (*tx_completion)(struct most_interface *iface, int channel_idx);
299 void most_stop_enqueue(struct most_interface *iface, int channel_idx);
309 void most_resume_enqueue(struct most_interface *iface, int channel_idx);
312 struct mbo *most_get_mbo(struct most_interface *iface, int channel_idx,
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_acs.c126 u8 channel_idx = 0, search_idx = 0; in odm_auto_channel_select() local
152 channel_idx = channel - 1; in odm_auto_channel_select()
153 acs->channel_info_2g[1][channel_idx]++; in odm_auto_channel_select()
155 if (acs->channel_info_2g[1][channel_idx] >= 2) in odm_auto_channel_select()
156 acs->channel_info_2g[0][channel_idx] = in odm_auto_channel_select()
157 (acs->channel_info_2g[0][channel_idx] >> 1) + in odm_auto_channel_select()
158 (acs->channel_info_2g[0][channel_idx] >> 2) + in odm_auto_channel_select()
161 acs->channel_info_2g[0][channel_idx] = dm->nhm_cnt_0; in odm_auto_channel_select()
168 __func__, channel_idx, in odm_auto_channel_select()
169 acs->channel_info_2g[0][channel_idx], channel_idx, in odm_auto_channel_select()
[all …]
Dphydm_kfree.c150 u8 channel_idx = 0; in phydm_config_kfree() local
184 channel_idx = PHYDM_2G; in phydm_config_kfree()
187 channel_idx = PHYDM_5GLB1; in phydm_config_kfree()
189 channel_idx = PHYDM_5GLB2; in phydm_config_kfree()
191 channel_idx = PHYDM_5GMB1; in phydm_config_kfree()
193 channel_idx = PHYDM_5GMB2; in phydm_config_kfree()
195 channel_idx = PHYDM_5GHB; in phydm_config_kfree()
201 kfree_table[channel_idx * max_rf_path + in phydm_config_kfree()
205 kfree_table[channel_idx * max_rf_path + in phydm_config_kfree()
/Linux-v4.19/drivers/tty/ipwireless/
Dhardware.c38 unsigned int channel_idx, const unsigned char *data, int len);
340 unsigned int channel_idx; member
625 unsigned int channel_idx = address - 1; in queue_received_packet() local
630 if (channel_idx >= NL_NUM_OF_ADDRESSES) { in queue_received_packet()
641 &hw->packet_assembler[channel_idx]; in queue_received_packet()
654 (*assem)->channel_idx = channel_idx; in queue_received_packet()
678 packet->channel_idx = channel_idx; in queue_received_packet()
734 packet->channel_idx, in ipw_receive_data_work()
747 handle_received_CTRL_packet(hw, packet->channel_idx, in ipw_receive_data_work()
766 unsigned int channel_idx, in handle_received_CTRL_packet() argument
[all …]
Dnetwork.h35 unsigned int channel_idx, unsigned int control_lines,
38 unsigned int channel_idx, unsigned char *data,
43 unsigned int channel_idx, struct ipw_tty *tty);
45 unsigned int channel_idx);
Dnetwork.c313 unsigned int channel_idx, in ipwireless_network_notify_control_line_change() argument
319 if (channel_idx == IPW_CHANNEL_RAS) in ipwireless_network_notify_control_line_change()
324 network->associated_ttys[channel_idx][i]; in ipwireless_network_notify_control_line_change()
334 channel_idx, in ipwireless_network_notify_control_line_change()
365 unsigned int channel_idx, in ipwireless_network_packet_received() argument
373 struct ipw_tty *tty = network->associated_ttys[channel_idx][i]; in ipwireless_network_packet_received()
384 if (channel_idx == IPW_CHANNEL_RAS in ipwireless_network_packet_received()
452 unsigned int channel_idx, in ipwireless_associate_network_tty() argument
458 if (network->associated_ttys[channel_idx][i] == NULL) { in ipwireless_associate_network_tty()
459 network->associated_ttys[channel_idx][i] = tty; in ipwireless_associate_network_tty()
[all …]
Dtty.c50 unsigned int channel_idx; member
305 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 1); in set_control_lines()
316 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 1); in set_control_lines()
327 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 0); in set_control_lines()
336 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 0); in set_control_lines()
441 struct ipw_network *network, int channel_idx, in add_tty() argument
449 ttys[j]->channel_idx = channel_idx; in add_tty()
457 ipwireless_associate_network_tty(network, channel_idx, ttys[j]); in add_tty()
544 ttyj->channel_idx); in ipwireless_tty_free()
616 unsigned int channel_idx, in ipwireless_tty_notify_control_line_change() argument
Dhardware.h39 int ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx,
41 int ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx,
44 unsigned int channel_idx,
Dtty.h42 unsigned int channel_idx,
/Linux-v4.19/drivers/staging/most/video/
Dvideo.c374 struct most_interface *iface, int channel_idx) in get_comp_dev() argument
381 if (mdev->iface == iface && mdev->ch_idx == channel_idx) { in get_comp_dev()
455 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
459 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_probe_channel()
486 mdev->ch_idx = channel_idx; in comp_probe_channel()
514 int channel_idx) in comp_disconnect_channel() argument
516 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_disconnect_channel()
/Linux-v4.19/drivers/staging/most/net/
Dnet.c295 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
343 ch->ch_id = channel_idx; in comp_probe_channel()
352 int channel_idx) in comp_disconnect_channel() argument
366 if (nd->rx.linked && channel_idx == nd->rx.ch_id) { in comp_disconnect_channel()
368 } else if (nd->tx.linked && channel_idx == nd->tx.ch_id) { in comp_disconnect_channel()
399 int channel_idx) in comp_resume_tx_channel() argument
407 if (nd->tx.ch_id != channel_idx) in comp_resume_tx_channel()
/Linux-v4.19/drivers/soc/fsl/dpio/
Dqbman-portal.c426 void qbman_swp_push_get(struct qbman_swp *s, u8 channel_idx, int *enabled) in qbman_swp_push_get() argument
430 WARN_ON(channel_idx > 15); in qbman_swp_push_get()
431 *enabled = src | (1 << channel_idx); in qbman_swp_push_get()
440 void qbman_swp_push_set(struct qbman_swp *s, u8 channel_idx, int enable) in qbman_swp_push_set() argument
444 WARN_ON(channel_idx > 15); in qbman_swp_push_set()
446 s->sdq |= 1 << channel_idx; in qbman_swp_push_set()
448 s->sdq &= ~(1 << channel_idx); in qbman_swp_push_set()
Dqbman-portal.h141 void qbman_swp_push_get(struct qbman_swp *p, u8 channel_idx, int *enabled);
142 void qbman_swp_push_set(struct qbman_swp *p, u8 channel_idx, int enable);
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Drx.c905 unsigned int channel_idx, index, size; in __ef4_filter_rfs_expire() local
912 channel_idx = efx->rps_expire_channel; in __ef4_filter_rfs_expire()
916 struct ef4_channel *channel = ef4_get_channel(efx, channel_idx); in __ef4_filter_rfs_expire()
923 index, channel_idx, flow_id); in __ef4_filter_rfs_expire()
927 if (++channel_idx == efx->n_channels) in __ef4_filter_rfs_expire()
928 channel_idx = 0; in __ef4_filter_rfs_expire()
932 efx->rps_expire_channel = channel_idx; in __ef4_filter_rfs_expire()
/Linux-v4.19/drivers/net/ethernet/sfc/
Drx.c1002 unsigned int channel_idx, index, size; in __efx_filter_rfs_expire() local
1008 channel_idx = efx->rps_expire_channel; in __efx_filter_rfs_expire()
1012 struct efx_channel *channel = efx_get_channel(efx, channel_idx); in __efx_filter_rfs_expire()
1019 index, channel_idx, flow_id); in __efx_filter_rfs_expire()
1023 if (++channel_idx == efx->n_channels) in __efx_filter_rfs_expire()
1024 channel_idx = 0; in __efx_filter_rfs_expire()
1028 efx->rps_expire_channel = channel_idx; in __efx_filter_rfs_expire()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c1915 if (pmlmeext->sitesurvey_res.channel_idx < pmlmeext->sitesurvey_res.ch_num) { in site_survey()
1916 ch = &pmlmeext->sitesurvey_res.ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
1926 if (pmlmeext->sitesurvey_res.channel_idx == 0) in site_survey()
1969 pmlmeext->sitesurvey_res.channel_idx = -1; in site_survey()
3908 pmlmeext->sitesurvey_res.channel_idx = 0; in init_mlme_ext_priv_value()
4773 pmlmeext->sitesurvey_res.channel_idx++; in survey_timer_hdl()
4776 pmlmeext->sitesurvey_res.channel_idx = pmlmeext->sitesurvey_res.ch_num; in survey_timer_hdl()
4778 , pmlmeext->sitesurvey_res.channel_idx); in survey_timer_hdl()
5155 pmlmeext->sitesurvey_res.channel_idx = 0; in sitesurvey_cmd_hdl()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_mlme.h463 u8 channel_idx; member
Drtw_mlme_ext.h331 int channel_idx; member
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h248 int channel_idx; member
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c305 pmlmeext->sitesurvey_res.channel_idx = 0; in init_mlme_ext_priv_value()
4304 if (pmlmeext->sitesurvey_res.channel_idx < pmlmeext->sitesurvey_res.ch_num) { in site_survey()
4305 ch = &pmlmeext->sitesurvey_res.ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
4314 , pmlmeext->sitesurvey_res.channel_idx in site_survey()
4328 if (pmlmeext->sitesurvey_res.channel_idx == 0) { in site_survey()
5841 pmlmeext->sitesurvey_res.channel_idx++; in survey_timer_hdl()
5846 pmlmeext->sitesurvey_res.channel_idx = pmlmeext->sitesurvey_res.ch_num; in survey_timer_hdl()
5848 , pmlmeext->sitesurvey_res.channel_idx in survey_timer_hdl()
6423 pmlmeext->sitesurvey_res.channel_idx = 0; in sitesurvey_cmd_hdl()
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/
Dcommands.h2210 u8 channel_idx; /* idx in measurement channel list */ member