Lines Matching refs:if_id

33 	int if_id;  member
55 int if_id = priv->if_id; in ipc_wwan_link_open() local
57 if (if_id < IP_MUX_SESSION_START || in ipc_wwan_link_open()
58 if_id >= ARRAY_SIZE(ipc_wwan->sub_netlist)) in ipc_wwan_link_open()
62 priv->ch_id = ipc_imem_sys_wwan_open(ipc_wwan->ipc_imem, if_id); in ipc_wwan_link_open()
67 if_id); in ipc_wwan_link_open()
75 priv->ch_id, priv->if_id); in ipc_wwan_link_open()
87 ipc_imem_sys_wwan_close(priv->ipc_wwan->ipc_imem, priv->if_id, in ipc_wwan_link_stop()
101 int if_id = priv->if_id; in ipc_wwan_link_transmit() local
107 if (if_id < IP_MUX_SESSION_START || in ipc_wwan_link_transmit()
108 if_id >= ARRAY_SIZE(ipc_wwan->sub_netlist)) in ipc_wwan_link_transmit()
113 if_id, priv->ch_id, skb); in ipc_wwan_link_transmit()
131 if (if_id) in ipc_wwan_link_transmit()
132 dev_dbg(ipc_wwan->dev, "skb dropped. IF_ID: %d, ret: %d", if_id, in ipc_wwan_link_transmit()
167 u32 if_id, struct netlink_ext_ack *extack) in ipc_wwan_newlink() argument
173 if (if_id < IP_MUX_SESSION_START || in ipc_wwan_newlink()
174 if_id >= ARRAY_SIZE(ipc_wwan->sub_netlist)) in ipc_wwan_newlink()
178 priv->if_id = if_id; in ipc_wwan_newlink()
182 if (rcu_access_pointer(ipc_wwan->sub_netlist[if_id])) in ipc_wwan_newlink()
189 rcu_assign_pointer(ipc_wwan->sub_netlist[if_id], priv); in ipc_wwan_newlink()
200 int if_id = priv->if_id; in ipc_wwan_dellink() local
202 if (WARN_ON(if_id < IP_MUX_SESSION_START || in ipc_wwan_dellink()
203 if_id >= ARRAY_SIZE(ipc_wwan->sub_netlist))) in ipc_wwan_dellink()
206 if (WARN_ON(rcu_access_pointer(ipc_wwan->sub_netlist[if_id]) != priv)) in ipc_wwan_dellink()
209 RCU_INIT_POINTER(ipc_wwan->sub_netlist[if_id], NULL); in ipc_wwan_dellink()
222 bool dss, int if_id) in ipc_wwan_receive() argument
237 if (if_id < IP_MUX_SESSION_START || in ipc_wwan_receive()
238 if_id > IP_MUX_SESSION_END) { in ipc_wwan_receive()
244 priv = rcu_dereference(ipc_wwan->sub_netlist[if_id]); in ipc_wwan_receive()
263 void ipc_wwan_tx_flowctrl(struct iosm_wwan *ipc_wwan, int if_id, bool on) in ipc_wwan_tx_flowctrl() argument
270 priv = rcu_dereference(ipc_wwan->sub_netlist[if_id]); in ipc_wwan_tx_flowctrl()
282 if_id); in ipc_wwan_tx_flowctrl()