Home
last modified time | relevance | path

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

12

/Linux-v5.15/include/linux/
Dmost.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,
267 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);
300 void most_stop_enqueue(struct most_interface *iface, int channel_idx);
310 void most_resume_enqueue(struct most_interface *iface, int channel_idx);
313 struct mbo *most_get_mbo(struct most_interface *iface, int channel_idx,
[all …]
/Linux-v5.15/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
310 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 1); in set_control_lines()
321 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 1); in set_control_lines()
332 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 0); in set_control_lines()
341 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 0); in set_control_lines()
437 struct ipw_network *network, int channel_idx, in add_tty() argument
445 ttys[j]->channel_idx = channel_idx; in add_tty()
453 ipwireless_associate_network_tty(network, channel_idx, ttys[j]); in add_tty()
539 ttyj->channel_idx); in ipwireless_tty_free()
608 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-v5.15/drivers/net/can/usb/etas_es58x/
Des58x_core.h269 u8 channel_idx; member
351 u8 cmd_id, u8 channel_idx, u16 cmd_len);
621 int channel_idx = channel_no - channel_idx_offset; in es58x_get_netdev() local
624 if (channel_idx < 0 || channel_idx >= es58x_dev->num_can_ch) in es58x_get_netdev()
627 *netdev = es58x_dev->netdev[channel_idx]; in es58x_get_netdev()
692 const void *msg, u16 cmd_len, int channel_idx);
Des581_4.c333 u8 cmd_id, u8 channel_idx, u16 msg_len) in es581_4_fill_urb_header() argument
361 priv->channel_idx, msg_len); in es581_4_tx_can_msg()
378 tx_can_msg->channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_tx_can_msg()
408 tx_conf_msg.channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_set_bittiming()
412 sizeof(tx_conf_msg), priv->channel_idx); in es581_4_set_bittiming()
418 u8 msg = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_enable_channel()
426 priv->channel_idx); in es581_4_enable_channel()
431 u8 msg = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_disable_channel()
435 priv->channel_idx); in es581_4_disable_channel()
Des58x_fd.c226 ret = es58x_get_netdev(es58x_dev, es58x_fd_urb_cmd->channel_idx, in es58x_fd_can_cmd_id()
319 u8 cmd_id, u8 channel_idx, u16 msg_len) in es58x_fd_fill_urb_header() argument
326 es58x_fd_urb_cmd->channel_idx = channel_idx; in es58x_fd_fill_urb_header()
348 priv->channel_idx, msg_len); in es58x_fd_tx_can_msg()
398 struct net_device *netdev = es58x_dev->netdev[priv->channel_idx]; in es58x_fd_enable_channel()
444 &tx_conf_msg, conf_len, priv->channel_idx); in es58x_fd_enable_channel()
454 ES58X_EMPTY_MSG, 0, priv->channel_idx); in es58x_fd_disable_channel()
Des58x_core.c999 priv->channel_idx + 1); in es58x_rx_cmd_ret_u32()
1677 const void *msg, u16 msg_len, int channel_idx) in es58x_send_msg() argument
1684 if (channel_idx == ES58X_CHANNEL_IDX_NA) in es58x_send_msg()
1687 netdev = es58x_dev->netdev[channel_idx]; in es58x_send_msg()
1699 channel_idx, msg_len); in es58x_send_msg()
2052 struct es58x_priv *priv, int channel_idx) in es58x_init_priv() argument
2058 priv->channel_idx = channel_idx; in es58x_init_priv()
2081 static int es58x_init_netdev(struct es58x_device *es58x_dev, int channel_idx) in es58x_init_netdev() argument
2094 es58x_dev->netdev[channel_idx] = netdev; in es58x_init_netdev()
2095 es58x_init_priv(es58x_dev, es58x_priv(netdev), channel_idx); in es58x_init_netdev()
Des58x_fd.h210 u8 channel_idx; member
/Linux-v5.15/drivers/hwtracing/coresight/
Dcoresight-cti.h224 enum cti_trig_dir direction, u32 channel_idx,
227 u32 channel_idx);
229 u32 channel_idx);
Dcoresight-cti-core.c335 enum cti_trig_dir direction, u32 channel_idx, in cti_channel_trig_op() argument
346 if ((channel_idx >= config->nr_ctm_channels) || in cti_channel_trig_op()
366 chan_bitmask = BIT(channel_idx); in cti_channel_trig_op()
394 u32 channel_idx) in cti_channel_gate_op() argument
402 if (channel_idx >= config->nr_ctm_channels) in cti_channel_gate_op()
405 chan_bitmask = BIT(channel_idx); in cti_channel_gate_op()
432 u32 channel_idx) in cti_channel_setop() argument
441 if (channel_idx >= config->nr_ctm_channels) in cti_channel_setop()
444 chan_bitmask = BIT(channel_idx); in cti_channel_setop()
/Linux-v5.15/drivers/staging/most/net/
Dnet.c305 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
354 ch->ch_id = channel_idx; in comp_probe_channel()
363 int channel_idx) in comp_disconnect_channel() argument
377 if (nd->rx.linked && channel_idx == nd->rx.ch_id) { in comp_disconnect_channel()
379 } else if (nd->tx.linked && channel_idx == nd->tx.ch_id) { in comp_disconnect_channel()
410 int channel_idx) in comp_resume_tx_channel() argument
418 if (nd->tx.ch_id != channel_idx) in comp_resume_tx_channel()
/Linux-v5.15/drivers/staging/most/video/
Dvideo.c369 struct most_interface *iface, int channel_idx) in get_comp_dev() argument
376 if (mdev->iface == iface && mdev->ch_idx == channel_idx) { in get_comp_dev()
450 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
455 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_probe_channel()
482 mdev->ch_idx = channel_idx; in comp_probe_channel()
510 int channel_idx) in comp_disconnect_channel() argument
512 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_disconnect_channel()
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/
Drx.c901 unsigned int channel_idx, index, size; in __ef4_filter_rfs_expire() local
908 channel_idx = efx->rps_expire_channel; in __ef4_filter_rfs_expire()
912 struct ef4_channel *channel = ef4_get_channel(efx, channel_idx); in __ef4_filter_rfs_expire()
919 index, channel_idx, flow_id); in __ef4_filter_rfs_expire()
923 if (++channel_idx == efx->n_channels) in __ef4_filter_rfs_expire()
924 channel_idx = 0; in __ef4_filter_rfs_expire()
928 efx->rps_expire_channel = channel_idx; in __ef4_filter_rfs_expire()
/Linux-v5.15/drivers/soc/fsl/dpio/
Dqbman-portal.c940 void qbman_swp_push_get(struct qbman_swp *s, u8 channel_idx, int *enabled) in qbman_swp_push_get() argument
944 WARN_ON(channel_idx > 15); in qbman_swp_push_get()
945 *enabled = src | (1 << channel_idx); in qbman_swp_push_get()
954 void qbman_swp_push_set(struct qbman_swp *s, u8 channel_idx, int enable) in qbman_swp_push_set() argument
958 WARN_ON(channel_idx > 15); in qbman_swp_push_set()
960 s->sdq |= 1 << channel_idx; in qbman_swp_push_set()
962 s->sdq &= ~(1 << channel_idx); in qbman_swp_push_set()
Dqbman-portal.h197 void qbman_swp_push_get(struct qbman_swp *p, u8 channel_idx, int *enabled);
198 void qbman_swp_push_set(struct qbman_swp *p, u8 channel_idx, int enable);
/Linux-v5.15/drivers/edac/
Digen6_edac.c172 int channel_idx; member
528 res->channel_idx = idx; in igen6_decode()
553 res->channel_idx, res->sub_channel_idx, in igen6_output_error()
/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c221 pmlmeext->sitesurvey_res.channel_idx = 0; in init_mlme_ext_priv_value()
6287 survey_channel = pwdinfo->rx_invitereq_info.operation_ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
6289 survey_channel = pwdinfo->p2p_info.operation_ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
6296 survey_channel = pwdinfo->social_chan[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
6306 if (pmlmeext->sitesurvey_res.channel_idx < pmlmeext->sitesurvey_res.ch_num) { in site_survey()
6307 ch = &pmlmeext->sitesurvey_res.ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
6318 if (pmlmeext->sitesurvey_res.channel_idx == 0) in site_survey()
6386 pmlmeext->sitesurvey_res.channel_idx = -1; in site_survey()
7534 pmlmeext->sitesurvey_res.channel_idx++; in survey_timer_hdl()
7540 pmlmeext->sitesurvey_res.channel_idx = 3; in survey_timer_hdl()
[all …]
/Linux-v5.15/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c241 pmlmeext->sitesurvey_res.channel_idx = 0; in init_mlme_ext_priv_value()
3846 if (pmlmeext->sitesurvey_res.channel_idx < pmlmeext->sitesurvey_res.ch_num) { in site_survey()
3847 ch = &pmlmeext->sitesurvey_res.ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey()
3858 if (pmlmeext->sitesurvey_res.channel_idx == 0) { in site_survey()
5140 pmlmeext->sitesurvey_res.channel_idx++; in survey_timer_hdl()
5144 pmlmeext->sitesurvey_res.channel_idx = pmlmeext->sitesurvey_res.ch_num; in survey_timer_hdl()
5589 pmlmeext->sitesurvey_res.channel_idx = 0; in sitesurvey_cmd_hdl()
/Linux-v5.15/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h261 int channel_idx; member
/Linux-v5.15/drivers/staging/r8188eu/include/
Drtw_mlme_ext.h231 int channel_idx; member
/Linux-v5.15/drivers/net/wireless/intel/iwlegacy/
Dcommands.h2210 u8 channel_idx; /* idx in measurement channel list */ member

12