Lines Matching refs:drvr
19 int (*hdrpull)(struct brcmf_pub *drvr, bool do_fws,
21 int (*query_dcmd)(struct brcmf_pub *drvr, int ifidx, uint cmd,
23 int (*set_dcmd)(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf,
25 int (*tx_queue_data)(struct brcmf_pub *drvr, int ifidx,
27 int (*txdata)(struct brcmf_pub *drvr, int ifidx, u8 offset,
29 void (*configure_addr_mode)(struct brcmf_pub *drvr, int ifidx,
31 void (*delete_peer)(struct brcmf_pub *drvr, int ifidx,
33 void (*add_tdls_peer)(struct brcmf_pub *drvr, int ifidx,
39 int (*init_done)(struct brcmf_pub *drvr);
40 void (*debugfs_create)(struct brcmf_pub *drvr);
45 int brcmf_proto_attach(struct brcmf_pub *drvr);
46 void brcmf_proto_detach(struct brcmf_pub *drvr);
48 static inline int brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, in brcmf_proto_hdrpull() argument
61 return drvr->proto->hdrpull(drvr, do_fws, skb, ifp); in brcmf_proto_hdrpull()
63 static inline int brcmf_proto_query_dcmd(struct brcmf_pub *drvr, int ifidx, in brcmf_proto_query_dcmd() argument
67 return drvr->proto->query_dcmd(drvr, ifidx, cmd, buf, len,fwerr); in brcmf_proto_query_dcmd()
69 static inline int brcmf_proto_set_dcmd(struct brcmf_pub *drvr, int ifidx, in brcmf_proto_set_dcmd() argument
73 return drvr->proto->set_dcmd(drvr, ifidx, cmd, buf, len, fwerr); in brcmf_proto_set_dcmd()
76 static inline int brcmf_proto_tx_queue_data(struct brcmf_pub *drvr, int ifidx, in brcmf_proto_tx_queue_data() argument
79 return drvr->proto->tx_queue_data(drvr, ifidx, skb); in brcmf_proto_tx_queue_data()
82 static inline int brcmf_proto_txdata(struct brcmf_pub *drvr, int ifidx, in brcmf_proto_txdata() argument
85 return drvr->proto->txdata(drvr, ifidx, offset, skb); in brcmf_proto_txdata()
88 brcmf_proto_configure_addr_mode(struct brcmf_pub *drvr, int ifidx, in brcmf_proto_configure_addr_mode() argument
91 drvr->proto->configure_addr_mode(drvr, ifidx, addr_mode); in brcmf_proto_configure_addr_mode()
94 brcmf_proto_delete_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) in brcmf_proto_delete_peer() argument
96 drvr->proto->delete_peer(drvr, ifidx, peer); in brcmf_proto_delete_peer()
99 brcmf_proto_add_tdls_peer(struct brcmf_pub *drvr, int ifidx, u8 peer[ETH_ALEN]) in brcmf_proto_add_tdls_peer() argument
101 drvr->proto->add_tdls_peer(drvr, ifidx, peer); in brcmf_proto_add_tdls_peer()
114 ifp->drvr->proto->rxreorder(ifp, skb, inirq); in brcmf_proto_rxreorder()
118 brcmf_proto_add_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) in brcmf_proto_add_if() argument
120 if (!drvr->proto->add_if) in brcmf_proto_add_if()
122 drvr->proto->add_if(ifp); in brcmf_proto_add_if()
126 brcmf_proto_del_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) in brcmf_proto_del_if() argument
128 if (!drvr->proto->del_if) in brcmf_proto_del_if()
130 drvr->proto->del_if(ifp); in brcmf_proto_del_if()
134 brcmf_proto_reset_if(struct brcmf_pub *drvr, struct brcmf_if *ifp) in brcmf_proto_reset_if() argument
136 if (!drvr->proto->reset_if) in brcmf_proto_reset_if()
138 drvr->proto->reset_if(ifp); in brcmf_proto_reset_if()
142 brcmf_proto_init_done(struct brcmf_pub *drvr) in brcmf_proto_init_done() argument
144 if (!drvr->proto->init_done) in brcmf_proto_init_done()
146 return drvr->proto->init_done(drvr); in brcmf_proto_init_done()
150 brcmf_proto_debugfs_create(struct brcmf_pub *drvr) in brcmf_proto_debugfs_create() argument
152 drvr->proto->debugfs_create(drvr); in brcmf_proto_debugfs_create()