Home
last modified time | relevance | path

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

/drivers/staging/most/mostcore/
Dmostcore.h246 int (*configure)(struct most_interface *iface, int channel_idx,
248 int (*enqueue)(struct most_interface *iface, int channel_idx,
250 int (*poison_channel)(struct most_interface *iface, int channel_idx);
251 void (*request_netinfo)(struct most_interface *iface, int channel_idx,
269 int (*probe_channel)(struct most_interface *iface, int channel_idx,
273 int channel_idx);
275 int (*tx_completion)(struct most_interface *iface, int channel_idx);
302 void most_stop_enqueue(struct most_interface *iface, int channel_idx);
312 void most_resume_enqueue(struct most_interface *iface, int channel_idx);
315 struct mbo *most_get_mbo(struct most_interface *iface, int channel_idx,
[all …]
/drivers/staging/rtlwifi/phydm/
Dphydm_acs.c137 u8 channel_idx = 0, search_idx = 0; in odm_auto_channel_select() local
163 channel_idx = channel - 1; in odm_auto_channel_select()
164 acs->channel_info_2g[1][channel_idx]++; in odm_auto_channel_select()
166 if (acs->channel_info_2g[1][channel_idx] >= 2) in odm_auto_channel_select()
167 acs->channel_info_2g[0][channel_idx] = in odm_auto_channel_select()
168 (acs->channel_info_2g[0][channel_idx] >> 1) + in odm_auto_channel_select()
169 (acs->channel_info_2g[0][channel_idx] >> 2) + in odm_auto_channel_select()
172 acs->channel_info_2g[0][channel_idx] = dm->nhm_cnt_0; in odm_auto_channel_select()
179 __func__, channel_idx, in odm_auto_channel_select()
180 acs->channel_info_2g[0][channel_idx], channel_idx, in odm_auto_channel_select()
[all …]
Dphydm_kfree.c161 u8 channel_idx = 0; in phydm_config_kfree() local
195 channel_idx = PHYDM_2G; in phydm_config_kfree()
198 channel_idx = PHYDM_5GLB1; in phydm_config_kfree()
200 channel_idx = PHYDM_5GLB2; in phydm_config_kfree()
202 channel_idx = PHYDM_5GMB1; in phydm_config_kfree()
204 channel_idx = PHYDM_5GMB2; in phydm_config_kfree()
206 channel_idx = PHYDM_5GHB; in phydm_config_kfree()
212 kfree_table[channel_idx * max_rf_path + in phydm_config_kfree()
216 kfree_table[channel_idx * max_rf_path + in phydm_config_kfree()
/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.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 …]
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);
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,
/drivers/staging/most/aim-network/
Dnetworking.c309 static int aim_probe_channel(struct most_interface *iface, int channel_idx, in aim_probe_channel() argument
358 ch->ch_id = channel_idx; in aim_probe_channel()
367 int channel_idx) in aim_disconnect_channel() argument
381 if (nd->rx.linked && channel_idx == nd->rx.ch_id) { in aim_disconnect_channel()
383 } else if (nd->tx.linked && channel_idx == nd->tx.ch_id) { in aim_disconnect_channel()
414 int channel_idx) in aim_resume_tx_channel() argument
422 if (nd->tx.ch_id != channel_idx) in aim_resume_tx_channel()
/drivers/staging/most/aim-v4l2/
Dvideo.c403 struct most_interface *iface, int channel_idx) in get_aim_dev() argument
410 if (mdev->iface == iface && mdev->ch_idx == channel_idx) { in get_aim_dev()
488 static int aim_probe_channel(struct most_interface *iface, int channel_idx, in aim_probe_channel() argument
493 struct most_video_dev *mdev = get_aim_dev(iface, channel_idx); in aim_probe_channel()
522 mdev->ch_idx = channel_idx; in aim_probe_channel()
551 int channel_idx) in aim_disconnect_channel() argument
553 struct most_video_dev *mdev = get_aim_dev(iface, channel_idx); in aim_disconnect_channel()
/drivers/staging/fsl-mc/bus/dpio/
Dqbman-portal.c451 void qbman_swp_push_get(struct qbman_swp *s, u8 channel_idx, int *enabled) in qbman_swp_push_get() argument
455 WARN_ON(channel_idx > 15); in qbman_swp_push_get()
456 *enabled = src | (1 << channel_idx); in qbman_swp_push_get()
465 void qbman_swp_push_set(struct qbman_swp *s, u8 channel_idx, int enable) in qbman_swp_push_set() argument
469 WARN_ON(channel_idx > 15); in qbman_swp_push_set()
471 s->sdq |= 1 << channel_idx; in qbman_swp_push_set()
473 s->sdq &= ~(1 << channel_idx); in qbman_swp_push_set()
Dqbman-portal.h166 void qbman_swp_push_get(struct qbman_swp *p, u8 channel_idx, int *enabled);
167 void qbman_swp_push_set(struct qbman_swp *p, u8 channel_idx, int enable);
/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()
/drivers/net/ethernet/sfc/
Drx.c899 unsigned int channel_idx, index, size; in __efx_filter_rfs_expire() local
906 channel_idx = efx->rps_expire_channel; in __efx_filter_rfs_expire()
910 struct efx_channel *channel = efx_get_channel(efx, channel_idx); in __efx_filter_rfs_expire()
917 index, channel_idx, flow_id); in __efx_filter_rfs_expire()
921 if (++channel_idx == efx->n_channels) in __efx_filter_rfs_expire()
922 channel_idx = 0; in __efx_filter_rfs_expire()
926 efx->rps_expire_channel = channel_idx; in __efx_filter_rfs_expire()
/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c1932 if (pmlmeext->sitesurvey_res.channel_idx < pmlmeext->sitesurvey_res.ch_num) { in site_survey()
1933 ch = &pmlmeext->sitesurvey_res.ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
1944 if (pmlmeext->sitesurvey_res.channel_idx == 0) in site_survey()
1988 pmlmeext->sitesurvey_res.channel_idx = -1; in site_survey()
3935 pmlmeext->sitesurvey_res.channel_idx = 0; in init_mlme_ext_priv_value()
4802 pmlmeext->sitesurvey_res.channel_idx++; in survey_timer_hdl()
4805 pmlmeext->sitesurvey_res.channel_idx = pmlmeext->sitesurvey_res.ch_num; in survey_timer_hdl()
4807 , pmlmeext->sitesurvey_res.channel_idx); in survey_timer_hdl()
5185 pmlmeext->sitesurvey_res.channel_idx = 0; in sitesurvey_cmd_hdl()
/drivers/staging/rtl8723bs/include/
Drtw_mlme.h471 u8 channel_idx; member
Drtw_mlme_ext.h339 int channel_idx; member
/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c312 pmlmeext->sitesurvey_res.channel_idx = 0; in init_mlme_ext_priv_value()
4307 if (pmlmeext->sitesurvey_res.channel_idx < pmlmeext->sitesurvey_res.ch_num) { in site_survey()
4308 ch = &pmlmeext->sitesurvey_res.ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
4317 , pmlmeext->sitesurvey_res.channel_idx in site_survey()
4331 if (pmlmeext->sitesurvey_res.channel_idx == 0) { in site_survey()
5842 pmlmeext->sitesurvey_res.channel_idx++; in survey_timer_hdl()
5847 pmlmeext->sitesurvey_res.channel_idx = pmlmeext->sitesurvey_res.ch_num; in survey_timer_hdl()
5849 , pmlmeext->sitesurvey_res.channel_idx in survey_timer_hdl()
6419 pmlmeext->sitesurvey_res.channel_idx = 0; in sitesurvey_cmd_hdl()
/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h254 int channel_idx; member
/drivers/net/wireless/intel/iwlegacy/
Dcommands.h2210 u8 channel_idx; /* idx in measurement channel list */ member