/linux/drivers/net/wwan/iosm/ |
A D | iosm_ipc_wwan.c | 32 int if_id; member 56 int if_id = priv->if_id; in ipc_wwan_link_open() local 71 if_id); in ipc_wwan_link_open() 80 priv->ch_id, priv->if_id); in ipc_wwan_link_open() 111 int if_id = priv->if_id; in ipc_wwan_link_transmit() local 123 if_id, priv->ch_id, skb); in ipc_wwan_link_transmit() 141 if (if_id) in ipc_wwan_link_transmit() 187 priv->if_id = if_id; in ipc_wwan_newlink() 218 int if_id = priv->if_id; in ipc_wwan_dellink() local 245 bool dss, int if_id) in ipc_wwan_receive() argument [all …]
|
A D | iosm_ipc_mux.c | 48 if_entry = &ipc_mux->session[if_id]; in ipc_mux_session_free() 76 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() 131 session_open->if_id = cpu_to_le32(if_id); in ipc_mux_session_open() 140 ipc_mux_session_free(ipc_mux, if_id); in ipc_mux_session_reset() 149 int if_id; in ipc_mux_session_close() local 152 if_id = le32_to_cpu(msg->if_id); in ipc_mux_session_close() 154 if (if_id < 0 || if_id >= ipc_mux->nr_sessions) { in ipc_mux_session_close() [all …]
|
A D | iosm_ipc_mux_codec.c | 66 cmdh->if_id = acb->if_id; in ipc_mux_lite_add_cmd() 110 acb->if_id = if_id; in ipc_mux_dl_acb_send_cmds() 180 cmdh->if_id); in ipc_mux_dl_dlcmds_decode_process() 301 int if_id; in ipc_mux_dl_fcth_decode() local 309 if_id = fct->if_id; in ipc_mux_dl_fcth_decode() 316 if_id = array_index_nospec(if_id, ipc_mux->nr_sessions); in ipc_mux_dl_fcth_decode() 326 if_id, ipc_mux->session[if_id].ul_flow_credits, ul_credits); in ipc_mux_dl_fcth_decode() 335 ipc_mux->session[if_id].if_id, false); in ipc_mux_dl_fcth_decode() 348 u8 if_id; in ipc_mux_dl_adgh_decode() local 357 if_id = adgh->if_id; in ipc_mux_dl_adgh_decode() [all …]
|
A 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,
|
A D | iosm_ipc_imem_ops.c | 16 int ipc_imem_sys_wwan_open(struct iosm_imem *ipc_imem, int if_id) in ipc_imem_sys_wwan_open() argument 19 ipc_imem_phase_get_string(ipc_imem->phase), if_id); in ipc_imem_sys_wwan_open() 23 dev_err(ipc_imem->dev, "net:%d : refused phase %s", if_id, in ipc_imem_sys_wwan_open() 28 return ipc_mux_open_session(ipc_imem->mux, if_id); in ipc_imem_sys_wwan_open() 32 void ipc_imem_sys_wwan_close(struct iosm_imem *ipc_imem, int if_id, in ipc_imem_sys_wwan_close() argument 35 if (ipc_imem->mux && if_id >= IP_MUX_SESSION_START && in ipc_imem_sys_wwan_close() 36 if_id <= IP_MUX_SESSION_END) in ipc_imem_sys_wwan_close() 37 ipc_mux_close_session(ipc_imem->mux, if_id); in ipc_imem_sys_wwan_close() 58 int if_id, int channel_id, struct sk_buff *skb) in ipc_imem_sys_wwan_transmit() argument 74 ret = ipc_mux_ul_trigger_encode(ipc_imem->mux, if_id, skb); in ipc_imem_sys_wwan_transmit()
|
A 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,
|
A 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
|
A D | iosm_ipc_wwan.h | 35 bool dss, int if_id);
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpsw.c | 354 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_link_cfg() 385 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_link_state() 423 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_tci() 456 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_tci() 496 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_stp() 528 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_counter() 562 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_enable() 587 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_disable() 614 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_attributes() 655 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_max_frame_length() [all …]
|
A D | dpsw.h | 285 u16 if_id, struct dpsw_link_state *state); 420 u16 if_id, struct dpsw_if_attr *attr); 423 u16 if_id, u16 frame_length); 452 u16 if_id[DPSW_MAX_IF]; member 530 u16 if_id[DPSW_MAX_IF]; member 596 u16 if_id, u8 mac_addr[6]); 627 u16 if_id[DPSW_MAX_IF]; member 634 u16 if_id, enum dpsw_learning_mode mode); 657 u16 if_id[DPSW_MAX_IF]; member 734 u16 if_id; member [all …]
|
A 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 …]
|
A D | dpaa2-switch-flower.c | 375 dpsw_act->if_id = dpaa2_switch_get_index(ethsw, cls_act->dev); in dpaa2_switch_tc_parse_action_acl() 580 u16 if_id, vlan; in dpaa2_switch_cls_flower_replace_mirror() local 592 if_id = dpaa2_switch_get_index(ethsw, cls_act->dev); in dpaa2_switch_cls_flower_replace_mirror() 598 if (mirror_port_enabled && ethsw->mirror_port != if_id) { in dpaa2_switch_cls_flower_replace_mirror() 631 return dpaa2_switch_block_add_mirror(block, mirror_entry, if_id, in dpaa2_switch_cls_flower_replace_mirror() 734 u16 if_id; in dpaa2_switch_cls_matchall_replace_mirror() local 745 if_id = dpaa2_switch_get_index(ethsw, cls_act->dev); in dpaa2_switch_cls_matchall_replace_mirror() 751 if (mirror_port_enabled && ethsw->mirror_port != if_id) { in dpaa2_switch_cls_matchall_replace_mirror() 777 return dpaa2_switch_block_add_mirror(block, mirror_entry, if_id, in dpaa2_switch_cls_matchall_replace_mirror()
|
A D | dpaa2-switch.c | 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() 1493 int err, if_id; in dpaa2_switch_irq0_handler_thread() local 1502 if_id = (status & 0xFFFF0000) >> 16; in dpaa2_switch_irq0_handler_thread() 1503 port_priv = ethsw->ports[if_id]; in dpaa2_switch_irq0_handler_thread() 1873 vcfg.if_id[0] = port_priv->idx; in dpaa2_switch_port_del_vlan() 2390 int if_id, err; in dpaa2_switch_rx() local 2399 port_priv = ethsw->ports[if_id]; in dpaa2_switch_rx() [all …]
|
/linux/net/xfrm/ |
A D | xfrm_interface.c | 64 static u32 xfrmi_hash(u32 if_id) in xfrmi_hash() argument 66 return hash_32(if_id, XFRMI_HASH_BITS); in xfrmi_hash() 74 for_each_xfrmi_rcu(xfrmn->xfrmi[xfrmi_hash(x->if_id)], xi) { in xfrmi_lookup() 75 if (x->if_id == xi->p.if_id && in xfrmi_lookup() 130 for (xip = &xfrmn->xfrmi[xfrmi_hash(xi->p.if_id)]; in xfrmi_unlink() 174 for (xip = &xfrmn->xfrmi[xfrmi_hash(p->if_id)]; in xfrmi_locate() 177 if (xi->p.if_id == p->if_id) in xfrmi_locate() 286 if (x->if_id != xi->p.if_id) in xfrmi_xmit2() 522 xi->p.if_id = p->if_id; in xfrmi_change() 632 parms->if_id = nla_get_u32(data[IFLA_XFRM_IF_ID]); in xfrmi_netlink_parms() [all …]
|
A D | xfrm_policy.c | 114 u32 if_id; member 701 .if_id = pol->if_id, in xfrm_policy_inexact_alloc_bin() 1489 return b->k.if_id ^ key->if_id; in xfrm_pol_bin_cmp() 1509 pol->if_id == policy->if_id && in xfrm_policy_insert_inexact_list() 1544 pol->if_id == policy->if_id && in xfrm_policy_insert_list() 1629 pol->if_id == if_id && in __xfrm_policy_bysel_ctx() 1897 pol->if_id != if_id || in xfrm_policy_match() 1987 .if_id = if_id, in xfrm_policy_inexact_lookup_rcu() 2177 pol->if_id != if_id) { in xfrm_sk_policy_lookup() 2305 newp->if_id = old->if_id; in clone_policy() [all …]
|
A D | xfrm_state.c | 1073 unsigned short family, u32 if_id) in xfrm_state_find() argument 1097 x->if_id == if_id && in xfrm_state_find() 1114 x->if_id == if_id && in xfrm_state_find() 1154 x->if_id = if_id; in xfrm_state_find() 1231 x->if_id == if_id && in xfrm_stateonly_find() 1318 u32 if_id = xnew->if_id; in __xfrm_state_bump_genids() local 1324 x->if_id == if_id && in __xfrm_state_bump_genids() 1402 x->if_id = if_id; in __find_acq_core() 1587 x->if_id = orig->if_id; in xfrm_state_clone() 1754 if (x->if_id) in xfrm_state_update() [all …]
|
A D | xfrm_user.c | 1022 if (x->if_id) { in copy_to_user_state_extra() 1402 u32 if_id = 0; in xfrm_alloc_userspi() local 1429 if_id, p->info.id.proto, daddr, in xfrm_alloc_userspi() 1882 err = xfrm_if_id_put(skb, xp->if_id); in dump_one_policy() 2071 u32 if_id = 0; in xfrm_get_policy() local 2231 err = xfrm_if_id_put(skb, x->if_id); in build_aevent() 2376 u32 if_id = 0; in xfrm_add_pol_expire() local 2964 err = xfrm_if_id_put(skb, x->if_id); in build_expire() 3066 if (x->if_id) in xfrm_sa_len() 3198 err = xfrm_if_id_put(skb, xp->if_id); in build_acquire() [all …]
|
/linux/drivers/staging/wfx/ |
A 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()
|
A D | traces.h | 169 __field(int, if_id) 179 __entry->if_id = hif->interface; 200 __entry->if_id,
|
/linux/net/ipv6/ |
A D | ipcomp6.c | 94 t->if_id = x->if_id; in ipcomp6_tunnel_create()
|
/linux/net/ipv4/ |
A D | ipcomp.c | 76 t->if_id = x->if_id; in ipcomp_tunnel_create()
|
/linux/include/net/ |
A D | xfrm.h | 171 u32 if_id; member 503 u32 if_id; member 977 u32 if_id; /* interface identifyer */ member 1503 unsigned short family, u32 if_id); 1504 struct xfrm_state *xfrm_stateonly_find(struct net *net, u32 mark, u32 if_id, 1653 u32 if_id, u8 type, int dir, 1658 const struct xfrm_mark *mark, u32 if_id, 1667 u8 mode, u32 reqid, u32 if_id, u8 proto, 1987 static inline int xfrm_if_id_put(struct sk_buff *skb, __u32 if_id) in xfrm_if_id_put() argument 1991 if (if_id) in xfrm_if_id_put() [all …]
|
/linux/drivers/net/wwan/ |
A 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()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A 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 …]
|
/linux/include/linux/ |
A D | wwan.h | 164 u32 if_id, struct netlink_ext_ack *extack);
|