/drivers/net/wwan/iosm/ |
D | iosm_ipc_wwan.c | 32 int if_id; member 56 int if_id = priv->if_id; in ipc_wwan_link_open() local 59 if (if_id < IP_MUX_SESSION_START || in ipc_wwan_link_open() 60 if_id >= ARRAY_SIZE(ipc_wwan->sub_netlist)) in ipc_wwan_link_open() 66 priv->ch_id = ipc_imem_sys_wwan_open(ipc_wwan->ipc_imem, if_id); in ipc_wwan_link_open() 71 if_id); in ipc_wwan_link_open() 80 priv->ch_id, priv->if_id); in ipc_wwan_link_open() 96 ipc_imem_sys_wwan_close(priv->ipc_wwan->ipc_imem, priv->if_id, in ipc_wwan_link_stop() 111 int if_id = priv->if_id; in ipc_wwan_link_transmit() local 117 if (if_id < IP_MUX_SESSION_START || in ipc_wwan_link_transmit() [all …]
|
D | iosm_ipc_mux.c | 44 static void ipc_mux_session_free(struct iosm_mux *ipc_mux, int if_id) in ipc_mux_session_free() argument 48 if_entry = &ipc_mux->session[if_id]; in ipc_mux_session_free() 55 ipc_mux_session_open_send(struct iosm_mux *ipc_mux, int if_id) in ipc_mux_session_open_send() argument 71 if (ipc_mux_dl_acb_send_cmds(ipc_mux, MUX_CMD_OPEN_SESSION, if_id, 0, in ipc_mux_session_open_send() 76 if_id); in ipc_mux_session_open_send() 83 "if_id %d,session open failed,response=%d", if_id, in ipc_mux_session_open_send() 96 int if_id; in ipc_mux_session_open() local 99 if_id = le32_to_cpu(session_open->if_id); in ipc_mux_session_open() 100 if (if_id < 0 || if_id >= ipc_mux->nr_sessions) { in ipc_mux_session_open() 101 dev_err(ipc_mux->dev, "invalid interface id=%d", if_id); in ipc_mux_session_open() [all …]
|
D | iosm_ipc_mux_codec.c | 66 cmdh->if_id = acb->if_id; in ipc_mux_lite_add_cmd() 102 int ipc_mux_dl_acb_send_cmds(struct iosm_mux *ipc_mux, u32 cmd_type, u8 if_id, in ipc_mux_dl_acb_send_cmds() argument 110 acb->if_id = if_id; in ipc_mux_dl_acb_send_cmds() 151 cmdh->if_id, le32_to_cpu(cmdh->transaction_id)); in ipc_mux_dl_cmdresps_decode_process() 173 cmdh->if_id, le32_to_cpu(cmdh->command_type)); in ipc_mux_dl_dlcmds_decode_process() 178 if (cmdh->if_id >= ipc_mux->nr_sessions) { in ipc_mux_dl_dlcmds_decode_process() 180 cmdh->if_id); in ipc_mux_dl_dlcmds_decode_process() 184 session = &ipc_mux->session[cmdh->if_id]; in ipc_mux_dl_dlcmds_decode_process() 220 dev_dbg(ipc_mux->dev, "if[%u] FLOW CTRL 0x%08X", cmdh->if_id, in ipc_mux_dl_dlcmds_decode_process() 265 if (ipc_mux_dl_acb_send_cmds(ipc_mux, cmd, cmdh->if_id, in ipc_mux_dl_cmd_decode() [all …]
|
D | iosm_ipc_imem_ops.c | 15 int ipc_imem_sys_wwan_open(struct iosm_imem *ipc_imem, int if_id) in ipc_imem_sys_wwan_open() argument 18 ipc_imem_phase_get_string(ipc_imem->phase), if_id); in ipc_imem_sys_wwan_open() 22 dev_err(ipc_imem->dev, "net:%d : refused phase %s", if_id, in ipc_imem_sys_wwan_open() 27 return ipc_mux_open_session(ipc_imem->mux, if_id); in ipc_imem_sys_wwan_open() 31 void ipc_imem_sys_wwan_close(struct iosm_imem *ipc_imem, int if_id, in ipc_imem_sys_wwan_close() argument 34 if (ipc_imem->mux && if_id >= IP_MUX_SESSION_START && in ipc_imem_sys_wwan_close() 35 if_id <= IP_MUX_SESSION_END) in ipc_imem_sys_wwan_close() 36 ipc_mux_close_session(ipc_imem->mux, if_id); in ipc_imem_sys_wwan_close() 63 int if_id, int channel_id, struct sk_buff *skb) in ipc_imem_sys_wwan_transmit() argument 79 ret = ipc_mux_ul_trigger_encode(ipc_imem->mux, if_id, skb); in ipc_imem_sys_wwan_transmit()
|
D | iosm_ipc_mux_codec.h | 73 u8 if_id; member 97 u8 if_id; member 125 u8 if_id; member 152 int ipc_mux_dl_acb_send_cmds(struct iosm_mux *ipc_mux, u32 cmd_type, u8 if_id, 175 int ipc_mux_ul_trigger_encode(struct iosm_mux *ipc_mux, int if_id,
|
D | iosm_ipc_imem_ops.h | 70 int ipc_imem_sys_wwan_open(struct iosm_imem *ipc_imem, int if_id); 79 void ipc_imem_sys_wwan_close(struct iosm_imem *ipc_imem, int if_id, 91 int ipc_imem_sys_wwan_transmit(struct iosm_imem *ipc_imem, int if_id,
|
D | iosm_ipc_mux.h | 70 __le32 if_id; member 76 __le32 if_id; member 182 int if_id; /* i/f id for session open message.*/ member 212 int if_id; /* Session id. */ member
|
D | iosm_ipc_wwan.h | 35 bool dss, int if_id);
|
D | iosm_ipc_imem.c | 17 chnl->if_id == IPC_MEM_MUX_IP_CH_IF_ID; in ipc_imem_check_wwan_ips() 272 if (pipe->channel->if_id == IPC_MEM_MUX_IP_CH_IF_ID) in ipc_imem_dl_skb_process() 378 if (channel->if_id == IPC_MEM_MUX_IP_CH_IF_ID) in ipc_imem_ul_pipe_process() 383 channel->if_id); in ipc_imem_ul_pipe_process() 1014 channel->if_id = index; in ipc_imem_channel_alloc()
|
D | iosm_ipc_imem.h | 254 int if_id; member
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpsw.c | 343 int dpsw_if_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_set_link_cfg() argument 354 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_link_cfg() 373 u16 if_id, struct dpsw_link_state *state) in dpsw_if_get_link_state() argument 385 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_link_state() 411 int dpsw_if_set_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_set_tci() argument 423 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_tci() 443 int dpsw_if_get_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_get_tci() argument 456 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_tci() 485 int dpsw_if_set_stp(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_set_stp() argument 496 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_stp() [all …]
|
D | dpsw.h | 269 int dpsw_if_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, 285 u16 if_id, struct dpsw_link_state *state); 306 int dpsw_if_set_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, 309 int dpsw_if_get_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, 339 int dpsw_if_set_stp(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, 388 u16 if_id, enum dpsw_counter type, u64 *counter); 390 int dpsw_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id); 392 int dpsw_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id); 420 u16 if_id, struct dpsw_if_attr *attr); 423 u16 if_id, u16 frame_length); [all …]
|
D | dpsw-cmd.h | 234 __le16 if_id; member 240 __le16 if_id; member 254 __le16 if_id; member 264 __le16 if_id; member 275 __le16 if_id; member 301 __le16 if_id; member 307 __le16 if_id; member 317 __le16 if_id; member 347 __le64 if_id; member 356 __le64 if_id; member [all …]
|
D | dpaa2-switch-flower.c | 380 dpsw_act->if_id = dpaa2_switch_get_index(ethsw, cls_act->dev); in dpaa2_switch_tc_parse_action_acl() 587 u16 if_id, vlan; in dpaa2_switch_cls_flower_replace_mirror() local 599 if_id = dpaa2_switch_get_index(ethsw, cls_act->dev); in dpaa2_switch_cls_flower_replace_mirror() 605 if (mirror_port_enabled && ethsw->mirror_port != if_id) { in dpaa2_switch_cls_flower_replace_mirror() 638 return dpaa2_switch_block_add_mirror(block, mirror_entry, if_id, in dpaa2_switch_cls_flower_replace_mirror() 741 u16 if_id; in dpaa2_switch_cls_matchall_replace_mirror() local 752 if_id = dpaa2_switch_get_index(ethsw, cls_act->dev); in dpaa2_switch_cls_matchall_replace_mirror() 758 if (mirror_port_enabled && ethsw->mirror_port != if_id) { in dpaa2_switch_cls_matchall_replace_mirror() 784 return dpaa2_switch_block_add_mirror(block, mirror_entry, if_id, in dpaa2_switch_cls_matchall_replace_mirror()
|
D | dpaa2-switch.c | 143 cfg->if_id[i++] = ethsw->ports[j]->idx; in dpaa2_switch_fdb_get_flood_cfg() 145 cfg->if_id[i++] = ethsw->ports[j]->idx; in dpaa2_switch_fdb_get_flood_cfg() 149 cfg->if_id[i++] = ethsw->sw_attr.num_ifs; in dpaa2_switch_fdb_get_flood_cfg() 301 vcfg.if_id[0] = port_priv->idx; in dpaa2_switch_port_add_vlan() 456 entry.if_id[0] = port_priv->idx; in dpaa2_switch_port_fdb_add_mc() 479 entry.if_id[0] = port_priv->idx; in dpaa2_switch_port_fdb_del_mc() 1189 acl_if_cfg.if_id[0] = port_priv->idx; in dpaa2_switch_port_acl_tbl_bind() 1216 acl_if_cfg.if_id[0] = port_priv->idx; in dpaa2_switch_port_acl_tbl_unbind() 1493 int err, if_id; in dpaa2_switch_irq0_handler_thread() local 1502 if_id = (status & 0xFFFF0000) >> 16; in dpaa2_switch_irq0_handler_thread() [all …]
|
D | dpaa2-switch.h | 121 u16 if_id; member
|
/drivers/staging/wfx/ |
D | hif_tx.c | 25 static void wfx_fill_header(struct hif_msg *hif, int if_id, in wfx_fill_header() argument 28 if (if_id == -1) in wfx_fill_header() 29 if_id = 2; in wfx_fill_header() 33 WARN(if_id > 0x3, "invalid interface ID %d", if_id); in wfx_fill_header() 37 hif->interface = if_id; in wfx_fill_header()
|
D | traces.h | 169 __field(int, if_id) 179 __entry->if_id = hif->interface; 200 __entry->if_id,
|
/drivers/net/wwan/ |
D | mhi_wwan_mbim.c | 536 static int mhi_mbim_newlink(void *ctxt, struct net_device *ndev, u32 if_id, in mhi_mbim_newlink() argument 542 link->session = if_id; in mhi_mbim_newlink() 549 if (mhi_mbim_get_link_rcu(mbim, if_id)) { in mhi_mbim_newlink() 556 hlist_add_head_rcu(&link->hlnode, &mbim->link_list[LINK_HASH(if_id)]); in mhi_mbim_newlink()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 419 u16 if_id; member 431 u32 if_id; member 444 u32 if_id; member 585 u16 if_id; member 1049 u32 if_id; member 1217 u32 if_id; member 2305 u32 if_id; member 2388 int be_cmd_pmac_add(struct be_adapter *adapter, const u8 *mac_addr, u32 if_id, 2390 int be_cmd_pmac_del(struct be_adapter *adapter, u32 if_id, int pmac_id, 2403 u16 cq_id, u16 frag_size, u32 if_id, u32 rss, u8 *rss_id); [all …]
|
D | be_cmds.c | 1065 req->if_id = cpu_to_le16((u16)if_handle); in be_cmd_mac_addr_query() 1084 u32 if_id, u32 *pmac_id, u32 domain) in be_cmd_pmac_add() argument 1104 req->if_id = cpu_to_le32(if_id); in be_cmd_pmac_add() 1124 int be_cmd_pmac_del(struct be_adapter *adapter, u32 if_id, int pmac_id, u32 dom) in be_cmd_pmac_del() argument 1147 req->if_id = cpu_to_le32(if_id); in be_cmd_pmac_del() 1382 req->if_id = cpu_to_le16(adapter->if_handle); in be_cmd_txq_create() 1409 u32 if_id, u32 rss, u8 *rss_id) in be_cmd_rxq_create() argument 1432 req->interface_id = cpu_to_le32(if_id); in be_cmd_rxq_create() 1944 int be_cmd_vlan_config(struct be_adapter *adapter, u32 if_id, u16 *vtag_array, in be_cmd_vlan_config() argument 1965 req->interface_id = if_id; in be_cmd_vlan_config() [all …]
|
/drivers/net/wireless/intersil/p54/ |
D | lmac.h | 122 __le16 if_id; member 130 __le16 if_id; member
|
/drivers/bus/fsl-mc/ |
D | dprc.c | 686 cmd_params->ep1_interface_id = cpu_to_le16(endpoint1->if_id); in dprc_get_connection() 698 endpoint2->if_id = le16_to_cpu(rsp_params->ep2_interface_id); in dprc_get_connection()
|
D | fsl-mc-bus.c | 939 u16 if_id) in fsl_mc_get_endpoint() argument 950 endpoint1.if_id = if_id; in fsl_mc_get_endpoint()
|
/drivers/usb/gadget/ |
D | composite.c | 1559 if (i != f->os_desc_table[j].if_id) in count_ext_compat() 1584 if (i != f->os_desc_table[j].if_id) in fill_ext_compat() 1615 if (interface != f->os_desc_table[j].if_id) in count_ext_prop() 1633 if (interface != f->os_desc_table[j].if_id) in len_ext_prop() 1653 if (interface != f->os_desc_table[j].if_id) in fill_ext_prop()
|