/openbmc/linux/include/linux/ |
H A D | most.h | 241 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 …]
|
/openbmc/linux/drivers/tty/ipwireless/ |
H A D | hardware.c | 38 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 …]
|
H A D | network.h | 35 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);
|
H A D | network.c | 313 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 …]
|
H A D | tty.c | 50 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
|
H A D | hardware.h | 39 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,
|
H A D | tty.h | 42 unsigned int channel_idx,
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | umc_v6_7.h | 60 #define CHANNEL_HASH(channel_idx, pa) (((channel_idx) >> 4) ^ \ argument 64 #define SET_CHANNEL_HASH(channel_idx, pa) do { \ argument 66 (pa) |= (CHANNEL_HASH(channel_idx, pa) << UMC_V6_7_PA_CH4_BIT); \
|
H A D | umc_v8_10.c | 186 uint32_t channel_idx, in umc_v8_10_swizzle_mode_na_to_pa() argument 196 tmp_addr = SWIZZLE_MODE_TMP_ADDR(na, channel_num, channel_idx); in umc_v8_10_swizzle_mode_na_to_pa()
|
/openbmc/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.h | 272 u8 channel_idx; member 354 u8 cmd_id, u8 channel_idx, u16 cmd_len); 664 int channel_idx = channel_no - channel_idx_offset; in es58x_get_netdev() local 667 if (channel_idx < 0 || channel_idx >= es58x_dev->num_can_ch) in es58x_get_netdev() 670 *netdev = es58x_dev->netdev[channel_idx]; in es58x_get_netdev() 736 const void *msg, u16 cmd_len, int channel_idx);
|
H A D | es581_4.c | 334 u8 cmd_id, u8 channel_idx, u16 msg_len) in es581_4_fill_urb_header() argument 362 priv->channel_idx, msg_len); in es581_4_tx_can_msg() 379 tx_can_msg->channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_tx_can_msg() 409 tx_conf_msg.channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_set_bittiming() 413 sizeof(tx_conf_msg), priv->channel_idx); in es581_4_set_bittiming() 419 u8 msg = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_enable_channel() 427 priv->channel_idx); in es581_4_enable_channel() 432 u8 msg = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_disable_channel() 436 priv->channel_idx); in es581_4_disable_channel()
|
H A D | es58x_fd.c | 227 ret = es58x_get_netdev(es58x_dev, es58x_fd_urb_cmd->channel_idx, in es58x_fd_can_cmd_id() 320 u8 cmd_id, u8 channel_idx, u16 msg_len) in es58x_fd_fill_urb_header() argument 327 es58x_fd_urb_cmd->channel_idx = channel_idx; in es58x_fd_fill_urb_header() 349 priv->channel_idx, msg_len); in es58x_fd_tx_can_msg() 399 struct net_device *netdev = es58x_dev->netdev[priv->channel_idx]; in es58x_fd_enable_channel() 445 &tx_conf_msg, conf_len, priv->channel_idx); in es58x_fd_enable_channel() 455 ES58X_EMPTY_MSG, 0, priv->channel_idx); in es58x_fd_disable_channel()
|
H A D | es58x_core.c | 989 priv->channel_idx + 1); in es58x_rx_cmd_ret_u32() 1662 const void *msg, u16 msg_len, int channel_idx) in es58x_send_msg() argument 1669 if (channel_idx == ES58X_CHANNEL_IDX_NA) in es58x_send_msg() 1672 netdev = es58x_dev->netdev[channel_idx]; in es58x_send_msg() 1684 channel_idx, msg_len); in es58x_send_msg() 2047 struct es58x_priv *priv, int channel_idx) in es58x_init_priv() argument 2056 priv->channel_idx = channel_idx; in es58x_init_priv() 2073 &priv->devlink_port, channel_idx); in es58x_init_priv() 2083 static int es58x_init_netdev(struct es58x_device *es58x_dev, int channel_idx) in es58x_init_netdev() argument 2096 es58x_dev->netdev[channel_idx] = netdev; in es58x_init_netdev() [all …]
|
H A D | es58x_fd.h | 210 u8 channel_idx; member
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-cti.h | 224 enum cti_trig_dir direction, u32 channel_idx, 227 u32 channel_idx); 229 u32 channel_idx);
|
H A D | coresight-cti-core.c | 337 enum cti_trig_dir direction, u32 channel_idx, in cti_channel_trig_op() argument 348 if ((channel_idx >= config->nr_ctm_channels) || in cti_channel_trig_op() 368 chan_bitmask = BIT(channel_idx); in cti_channel_trig_op() 396 u32 channel_idx) in cti_channel_gate_op() argument 404 if (channel_idx >= config->nr_ctm_channels) in cti_channel_gate_op() 407 chan_bitmask = BIT(channel_idx); in cti_channel_gate_op() 434 u32 channel_idx) in cti_channel_setop() argument 443 if (channel_idx >= config->nr_ctm_channels) in cti_channel_setop() 446 chan_bitmask = BIT(channel_idx); in cti_channel_setop()
|
/openbmc/linux/drivers/staging/most/net/ |
H A D | net.c | 305 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()
|
/openbmc/linux/drivers/staging/most/video/ |
H A D | video.c | 368 static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx) in get_comp_dev() argument 375 if (mdev->iface == iface && mdev->ch_idx == channel_idx) { in get_comp_dev() 449 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument 454 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_probe_channel() 481 mdev->ch_idx = channel_idx; in comp_probe_channel() 509 int channel_idx) in comp_disconnect_channel() argument 511 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_disconnect_channel()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | rx.c | 911 unsigned int channel_idx, index, size; in __ef4_filter_rfs_expire() local 918 channel_idx = efx->rps_expire_channel; in __ef4_filter_rfs_expire() 922 struct ef4_channel *channel = ef4_get_channel(efx, channel_idx); in __ef4_filter_rfs_expire() 929 index, channel_idx, flow_id); in __ef4_filter_rfs_expire() 933 if (++channel_idx == efx->n_channels) in __ef4_filter_rfs_expire() 934 channel_idx = 0; in __ef4_filter_rfs_expire() 938 efx->rps_expire_channel = channel_idx; in __ef4_filter_rfs_expire()
|
/openbmc/linux/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 942 void qbman_swp_push_get(struct qbman_swp *s, u8 channel_idx, int *enabled) in qbman_swp_push_get() argument 946 WARN_ON(channel_idx > 15); in qbman_swp_push_get() 947 *enabled = src | (1 << channel_idx); in qbman_swp_push_get() 956 void qbman_swp_push_set(struct qbman_swp *s, u8 channel_idx, int enable) in qbman_swp_push_set() argument 960 WARN_ON(channel_idx > 15); in qbman_swp_push_set() 962 s->sdq |= 1 << channel_idx; in qbman_swp_push_set() 964 s->sdq &= ~(1 << channel_idx); in qbman_swp_push_set()
|
H A D | qbman-portal.h | 204 void qbman_swp_push_get(struct qbman_swp *p, u8 channel_idx, int *enabled); 205 void qbman_swp_push_set(struct qbman_swp *p, u8 channel_idx, int enable);
|
/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_8192f.c | 540 u8 channel_idx = 0; in rtl8192fu_config_kfree() local 543 channel_idx = 0; in rtl8192fu_config_kfree() 545 channel_idx = 1; in rtl8192fu_config_kfree() 547 channel_idx = 2; in rtl8192fu_config_kfree() 578 bb_gain_for_path = (bb_gain[channel_idx] & bb_gain_path_mask[rfpath]); in rtl8192fu_config_kfree() 582 0x70000, channel_idx * 2); in rtl8192fu_config_kfree() 587 0x70000, channel_idx * 2 + 1); in rtl8192fu_config_kfree()
|
/openbmc/linux/drivers/edac/ |
H A D | igen6_edac.c | 172 int channel_idx; member 528 res->channel_idx = idx; in igen6_decode() 553 res->channel_idx, res->sub_channel_idx, in igen6_output_error()
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme_ext.c | 241 pmlmeext->sitesurvey_res.channel_idx = 0; in init_mlme_ext_priv_value() 3812 if (pmlmeext->sitesurvey_res.channel_idx < pmlmeext->sitesurvey_res.ch_num) { in site_survey() 3813 ch = &pmlmeext->sitesurvey_res.ch[pmlmeext->sitesurvey_res.channel_idx]; in site_survey() 3824 if (pmlmeext->sitesurvey_res.channel_idx == 0) { in site_survey() 5103 pmlmeext->sitesurvey_res.channel_idx++; in survey_timer_hdl() 5106 pmlmeext->sitesurvey_res.channel_idx = pmlmeext->sitesurvey_res.ch_num; in survey_timer_hdl() 5535 pmlmeext->sitesurvey_res.channel_idx = 0; in sitesurvey_cmd_hdl()
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_mlme_ext.h | 261 int channel_idx; member
|