Home
last modified time | relevance | path

Searched refs:dn (Results 1 – 21 of 21) sorted by relevance

/net/caif/
Dcfmuxl.c65 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *dn, u8 phyid) in cfmuxl_set_dnlayer() argument
70 list_add_rcu(&dn->node, &muxl->frml_list); in cfmuxl_set_dnlayer()
107 struct cflayer *dn; in cfmuxl_remove_dnlayer() local
112 dn = get_from_id(&muxl->frml_list, phyid); in cfmuxl_remove_dnlayer()
113 if (dn == NULL) in cfmuxl_remove_dnlayer()
116 list_del_rcu(&dn->node); in cfmuxl_remove_dnlayer()
117 caif_assert(dn != NULL); in cfmuxl_remove_dnlayer()
120 return dn; in cfmuxl_remove_dnlayer()
139 struct cflayer *dn; in get_dn() local
141 dn = rcu_dereference(muxl->dn_cache[idx]); in get_dn()
[all …]
Dcfsrvl.c99 caif_assert(layr->dn != NULL); in cfservl_modemcmd()
100 caif_assert(layr->dn->transmit != NULL); in cfservl_modemcmd()
125 return layr->dn->transmit(layr->dn, pkt); in cfservl_modemcmd()
146 return layr->dn->transmit(layr->dn, pkt); in cfservl_modemcmd()
201 if (adap_layer == NULL || adap_layer->dn == NULL) in caif_free_client()
203 servl = container_obj(adap_layer->dn); in caif_free_client()
214 if (WARN_ON(adapt_layer == NULL || adapt_layer->dn == NULL)) in caif_client_register_refcnt()
216 service = container_of(adapt_layer->dn, struct cfsrvl, layer); in caif_client_register_refcnt()
Dcfctrl.c180 struct cflayer *dn = cfctrl->serv.layer.dn; in cfctrl_enum_req() local
182 if (!dn) { in cfctrl_enum_req()
196 dn->transmit(dn, pkt); in cfctrl_enum_req()
211 struct cflayer *dn = cfctrl->serv.layer.dn; in cfctrl_linkup_request() local
213 if (!dn) { in cfctrl_linkup_request()
294 dn->transmit(dn, pkt); in cfctrl_linkup_request()
314 struct cflayer *dn = cfctrl->serv.layer.dn; in cfctrl_linkdown_req() local
316 if (!dn) { in cfctrl_linkdown_req()
328 dn->transmit(dn, pkt); in cfctrl_linkdown_req()
Dcffrml.c69 void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn) in cffrml_set_dnlayer() argument
71 this->dn = dn; in cffrml_set_dnlayer()
161 if (layr->dn == NULL) { in cffrml_transmit()
166 return layr->dn->transmit(layr->dn, pkt); in cffrml_transmit()
Dcfveil.c83 caif_assert(layr->dn != NULL); in cfvei_transmit()
84 caif_assert(layr->dn->transmit != NULL); in cfvei_transmit()
97 return layr->dn->transmit(layr->dn, pkt); in cfvei_transmit()
Dcfutill.c85 caif_assert(layr->dn != NULL); in cfutill_transmit()
86 caif_assert(layr->dn->transmit != NULL); in cfutill_transmit()
103 return layr->dn->transmit(layr->dn, pkt); in cfutill_transmit()
Dcfrfml.c210 return rfml->serv.layer.dn->transmit(rfml->serv.layer.dn, pkt); in cfrfml_transmit_segment()
222 caif_assert(layr->dn != NULL); in cfrfml_transmit()
223 caif_assert(layr->dn->transmit != NULL); in cfrfml_transmit()
Dcfdbgl.c54 return layr->dn->transmit(layr->dn, pkt); in cfdbgl_transmit()
Dcfvidl.c64 return layr->dn->transmit(layr->dn, pkt); in cfvidl_transmit()
Dcfdgml.c112 return layr->dn->transmit(layr->dn, pkt); in cfdgml_transmit()
Dcaif_socket.c116 if (cf_sk->layer.dn && cf_sk->layer.dn->modemcmd) in caif_flow_ctrl()
117 cf_sk->layer.dn->modemcmd(cf_sk->layer.dn, mode); in caif_flow_ctrl()
509 if (cf_sk->layer.dn == NULL) { in transmit_skb()
514 return cf_sk->layer.dn->transmit(cf_sk->layer.dn, pkt); in transmit_skb()
Dcfserl.c186 return layer->dn->transmit(layer->dn, newpkt); in cfserl_transmit()
Dcaif_usb.c74 return layr->dn->transmit(layr->dn, pkt); in cfusbl_transmit()
Dchnl_net.c228 result = priv->chnl.dn->transmit(priv->chnl.dn, pkt); in chnl_net_start_xmit()
Dcfcnfg.c594 frml_dn = frml->dn; in cfcnfg_del_phy_layer()
/net/netfilter/
Dnf_conntrack_proto_dccp.c389 struct nf_dccp_net *dn; in dccp_new() local
396 dn = nf_dccp_pernet(net); in dccp_new()
397 if (dn->dccp_loose == 0) { in dccp_new()
730 struct nf_dccp_net *dn = nf_dccp_pernet(net); in dccp_timeout_nlattr_to_obj() local
735 timeouts = dn->dccp_timeout; in dccp_timeout_nlattr_to_obj()
739 timeouts[i] = dn->dccp_timeout[i]; in dccp_timeout_nlattr_to_obj()
782 struct nf_dccp_net *dn = nf_dccp_pernet(net); in nf_conntrack_dccp_init_net() local
785 dn->dccp_loose = 1; in nf_conntrack_dccp_init_net()
786 dn->dccp_timeout[CT_DCCP_REQUEST] = 2 * DCCP_MSL; in nf_conntrack_dccp_init_net()
787 dn->dccp_timeout[CT_DCCP_RESPOND] = 4 * DCCP_MSL; in nf_conntrack_dccp_init_net()
[all …]
Dnf_conntrack_standalone.c1045 struct nf_dccp_net *dn = nf_dccp_pernet(net); in nf_conntrack_standalone_init_dccp_sysctl() local
1047 #define XASSIGN(XNAME, dn) \ in nf_conntrack_standalone_init_dccp_sysctl() argument
1049 &(dn)->dccp_timeout[CT_DCCP_ ## XNAME] in nf_conntrack_standalone_init_dccp_sysctl()
1051 XASSIGN(REQUEST, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1052 XASSIGN(RESPOND, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1053 XASSIGN(PARTOPEN, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1054 XASSIGN(OPEN, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1055 XASSIGN(CLOSEREQ, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1056 XASSIGN(CLOSING, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1057 XASSIGN(TIMEWAIT, dn); in nf_conntrack_standalone_init_dccp_sysctl()
[all …]
/net/dsa/
Ddsa2.c274 struct device_node *dn) in dsa_tree_find_port_by_node() argument
279 if (dp->dn == dn) in dsa_tree_find_port_by_node()
315 struct device_node *dn = dp->dn; in dsa_port_setup_routing_table() local
321 of_for_each_phandle(&it, err, dn, "link", NULL, 0) { in dsa_port_setup_routing_table()
477 of_get_mac_address(dp->dn, dp->mac); in dsa_port_setup()
1338 static int dsa_port_parse_of(struct dsa_port *dp, struct device_node *dn) in dsa_port_parse_of() argument
1340 struct device_node *ethernet = of_parse_phandle(dn, "ethernet", 0); in dsa_port_parse_of()
1341 const char *name = of_get_property(dn, "label", NULL); in dsa_port_parse_of()
1342 bool link = of_property_read_bool(dn, "link"); in dsa_port_parse_of()
1344 dp->dn = dn; in dsa_port_parse_of()
[all …]
Dport.c983 phy_dn = of_parse_phandle(dp->dn, "phy-handle", 0); in dsa_port_get_phy_device()
1144 struct device_node *dn = dp->dn; in dsa_port_fixed_link_register_of() local
1151 err = of_phy_register_fixed_link(dn); in dsa_port_fixed_link_register_of()
1159 phydev = of_phy_find_device(dn); in dsa_port_fixed_link_register_of()
1161 err = of_get_phy_mode(dn, &mode); in dsa_port_fixed_link_register_of()
1179 struct device_node *port_dn = dp->dn; in dsa_port_phylink_register()
1218 phy_np = of_parse_phandle(dp->dn, "phy-handle", 0); in dsa_port_link_register_of()
1219 if (of_phy_is_fixed_link(dp->dn) || phy_np) { in dsa_port_link_register_of()
1233 if (of_phy_is_fixed_link(dp->dn)) in dsa_port_link_register_of()
1252 if (of_phy_is_fixed_link(dp->dn)) in dsa_port_link_unregister_of()
[all …]
Dslave.c1818 struct device_node *port_dn = dp->dn; in dsa_slave_phy_setup()
1970 slave_dev->dev.of_node = port->dn; in dsa_slave_create()
/net/mac802154/
Dllsec.c44 struct ieee802154_llsec_device *dev, *dn; in mac802154_llsec_destroy() local
55 list_for_each_entry_safe(dev, dn, &sec->table.devices, list) { in mac802154_llsec_destroy()