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.c111 if (cf_sk->layer.dn && cf_sk->layer.dn->modemcmd) in caif_flow_ctrl()
112 cf_sk->layer.dn->modemcmd(cf_sk->layer.dn, mode); in caif_flow_ctrl()
504 if (cf_sk->layer.dn == NULL) { in transmit_skb()
509 return cf_sk->layer.dn->transmit(cf_sk->layer.dn, pkt); in transmit_skb()
Dcfserl.c185 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/dsa/
Ddsa.c277 struct device_node *dn) in dsa_tree_find_port_by_node() argument
282 if (dp->dn == dn) in dsa_tree_find_port_by_node()
318 struct device_node *dn = dp->dn; in dsa_port_setup_routing_table() local
324 of_for_each_phandle(&it, err, dn, "link", NULL, 0) { in dsa_port_setup_routing_table()
375 ethernet = of_parse_phandle(cpu_dp->dn, "ethernet", 0); in dsa_tree_find_first_master()
483 if (dp->dn) { in dsa_port_setup()
501 if (dp->dn) { in dsa_port_setup()
519 of_get_mac_address(dp->dn, dp->mac); in dsa_port_setup()
548 if (dp->dn) in dsa_port_teardown()
553 if (dp->dn) in dsa_port_teardown()
[all …]
Dport.c1543 phy_dn = of_parse_phandle(dp->dn, "phy-handle", 0); in dsa_port_get_phy_device()
1685 err = of_get_phy_mode(dp->dn, &mode); in dsa_port_phylink_create()
1703 pl = phylink_create(&dp->pl_config, of_fwnode_handle(dp->dn), in dsa_port_phylink_create()
1761 struct device_node *dn = dp->dn; in dsa_shared_port_fixed_link_register_of() local
1768 err = of_phy_register_fixed_link(dn); in dsa_shared_port_fixed_link_register_of()
1776 phydev = of_phy_find_device(dn); in dsa_shared_port_fixed_link_register_of()
1778 err = of_get_phy_mode(dn, &mode); in dsa_shared_port_fixed_link_register_of()
1796 struct device_node *port_dn = dp->dn; in dsa_shared_port_phylink_register()
1937 struct device_node *dn = dp->dn, *phy_np; in dsa_shared_port_validate_of() local
1944 if (of_get_phy_mode(dn, &mode)) { in dsa_shared_port_validate_of()
[all …]
Dslave.c2494 struct device_node *port_dn = dp->dn; in dsa_slave_phy_setup()
2640 slave_dev->dev.of_node = port->dn; in dsa_slave_create()
/net/netfilter/
Dnf_conntrack_proto_dccp.c391 struct nf_dccp_net *dn; in dccp_new() local
398 dn = nf_dccp_pernet(net); in dccp_new()
399 if (dn->dccp_loose == 0) { in dccp_new()
732 struct nf_dccp_net *dn = nf_dccp_pernet(net); in dccp_timeout_nlattr_to_obj() local
737 timeouts = dn->dccp_timeout; in dccp_timeout_nlattr_to_obj()
741 timeouts[i] = dn->dccp_timeout[i]; in dccp_timeout_nlattr_to_obj()
784 struct nf_dccp_net *dn = nf_dccp_pernet(net); in nf_conntrack_dccp_init_net() local
787 dn->dccp_loose = 1; in nf_conntrack_dccp_init_net()
788 dn->dccp_timeout[CT_DCCP_REQUEST] = 2 * DCCP_MSL; in nf_conntrack_dccp_init_net()
789 dn->dccp_timeout[CT_DCCP_RESPOND] = 4 * DCCP_MSL; in nf_conntrack_dccp_init_net()
[all …]
Dnf_conntrack_standalone.c1020 struct nf_dccp_net *dn = nf_dccp_pernet(net); in nf_conntrack_standalone_init_dccp_sysctl() local
1022 #define XASSIGN(XNAME, dn) \ in nf_conntrack_standalone_init_dccp_sysctl() argument
1024 &(dn)->dccp_timeout[CT_DCCP_ ## XNAME] in nf_conntrack_standalone_init_dccp_sysctl()
1026 XASSIGN(REQUEST, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1027 XASSIGN(RESPOND, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1028 XASSIGN(PARTOPEN, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1029 XASSIGN(OPEN, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1030 XASSIGN(CLOSEREQ, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1031 XASSIGN(CLOSING, dn); in nf_conntrack_standalone_init_dccp_sysctl()
1032 XASSIGN(TIMEWAIT, dn); in nf_conntrack_standalone_init_dccp_sysctl()
[all …]
/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()