Home
last modified time | relevance | path

Searched refs:bus_if (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcore.c301 if (drvr->bus_if->state != BRCMF_BUS_UP) { in brcmf_netdev_start_xmit()
302 bphy_err(drvr, "xmit rejected state=%d\n", drvr->bus_if->state); in brcmf_netdev_start_xmit()
332 atomic_inc(&drvr->bus_if->stats.pktcowed); in brcmf_netdev_start_xmit()
338 atomic_inc(&drvr->bus_if->stats.pktcow_failed); in brcmf_netdev_start_xmit()
501 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_rx_frame() local
502 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_rx_frame()
526 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_rx_event() local
527 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_rx_event()
570 strscpy(info->bus_info, dev_name(drvr->bus_if->dev), in brcmf_ethtool_get_drvinfo()
595 struct brcmf_bus *bus_if = drvr->bus_if; in brcmf_netdev_open() local
[all …]
H A Dfeature.c68 struct brcmf_bus *bus_if = dev_get_drvdata(seq->private); in brcmf_feat_debugfs_read() local
69 u32 feats = bus_if->drvr->feat_flags; in brcmf_feat_debugfs_read()
70 u32 quirks = bus_if->drvr->chip_quirks; in brcmf_feat_debugfs_read()
260 struct brcmf_bus *bus_if = dev_get_drvdata(seq->private); in brcmf_feat_fwcap_debugfs_read() local
261 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_feat_fwcap_debugfs_read()
298 if (drvr->bus_if->chip != BRCM_CC_43430_CHIP_ID && in brcmf_feat_attach()
299 drvr->bus_if->chip != BRCM_CC_4345_CHIP_ID && in brcmf_feat_attach()
300 drvr->bus_if->chip != BRCM_CC_43454_CHIP_ID && in brcmf_feat_attach()
301 drvr->bus_if->chip != CY_CC_43439_CHIP_ID) in brcmf_feat_attach()
306 if (drvr->bus_if->wowl_supported) in brcmf_feat_attach()
[all …]
H A Dproto.c32 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) { in brcmf_proto_attach()
35 } else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) { in brcmf_proto_attach()
40 drvr->bus_if->proto_type); in brcmf_proto_attach()
64 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) in brcmf_proto_detach()
66 else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) in brcmf_proto_detach()
H A Dfwvid.c155 enum brcmf_fwvendor fwvid = drvr->bus_if->fwvid; in brcmf_fwvid_attach()
162 dev_name(drvr->bus_if->dev)); in brcmf_fwvid_attach()
171 list_add(&drvr->bus_if->list, &fwvid_list[fwvid].drvr_list); in brcmf_fwvid_attach()
180 enum brcmf_fwvendor fwvid = drvr->bus_if->fwvid; in brcmf_fwvid_detach()
186 dev_name(drvr->bus_if->dev)); in brcmf_fwvid_detach()
192 list_del(&drvr->bus_if->list); in brcmf_fwvid_detach()
199 return fwvid_list[drvr->bus_if->fwvid].name; in brcmf_fwvid_vendor_name()
H A Dflowring.c182 struct brcmf_bus *bus_if; in brcmf_flowring_block() local
218 bus_if = dev_get_drvdata(flow->dev); in brcmf_flowring_block()
219 drvr = bus_if->drvr; in brcmf_flowring_block()
229 struct brcmf_bus *bus_if = dev_get_drvdata(flow->dev); in brcmf_flowring_delete() local
241 ifp = brcmf_get_ifp(bus_if->drvr, ifidx); in brcmf_flowring_delete()
386 struct brcmf_bus *bus_if = dev_get_drvdata(flow->dev); in brcmf_flowring_detach() local
387 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_flowring_detach()
411 struct brcmf_bus *bus_if = dev_get_drvdata(flow->dev); in brcmf_flowring_configure_addr_mode() local
412 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_flowring_configure_addr_mode()
433 struct brcmf_bus *bus_if = dev_get_drvdata(flow->dev); in brcmf_flowring_delete_peer() local
[all …]
H A Dbcdc.c137 return brcmf_bus_txctl(drvr->bus_if, (unsigned char *)&bcdc->msg, len); in brcmf_proto_bcdc_msg()
148 ret = brcmf_bus_rxctl(drvr->bus_if, (unsigned char *)&bcdc->msg, in brcmf_proto_bcdc_cmplt()
350 return brcmf_bus_txdata(drvr->bus_if, pktbuf); in brcmf_proto_bcdc_txdata()
355 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_proto_bcdc_txflowblock() local
356 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_proto_bcdc_txflowblock()
367 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_proto_bcdc_txcomplete() local
368 struct brcmf_bcdc *bcdc = bus_if->drvr->proto->pd; in brcmf_proto_bcdc_txcomplete()
375 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) in brcmf_proto_bcdc_txcomplete()
474 drvr->bus_if->maxctl = BRCMF_DCMD_MAXLEN + in brcmf_proto_bcdc_attach()
H A Dmsgbuf.c423 brcmf_msgbuf_release_array(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_release_pktids()
426 brcmf_msgbuf_release_array(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_release_pktids()
513 skb = brcmf_msgbuf_get_pktid(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_query_dcmd()
557 dma_free_coherent(msgbuf->drvr->bus_if->dev, dma_sz, dma_buf, in brcmf_msgbuf_remove_flowring()
598 dma_buf = dma_alloc_coherent(msgbuf->drvr->bus_if->dev, dma_sz, in brcmf_msgbuf_flowring_create_worker()
726 if (brcmf_msgbuf_alloc_pktid(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_txflow()
735 brcmf_msgbuf_get_pktid(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_txflow()
889 skb = brcmf_msgbuf_get_pktid(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_process_txstatus()
939 if (brcmf_msgbuf_alloc_pktid(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_rxbuf_data_post()
1049 if (brcmf_msgbuf_alloc_pktid(msgbuf->drvr->bus_if->dev, in brcmf_msgbuf_rxbuf_ctrl_post()
[all …]
H A Ddebug.c54 debugfs_create_devm_seqfile(drvr->bus_if->dev, fn, in brcmf_debugfs_add_entry()
H A Dcore.h103 struct brcmf_bus *bus_if; member
H A Dsdio.h175 struct brcmf_bus *bus_if; member
H A Dfwil.c102 if (drvr->bus_if->state != BRCMF_BUS_UP) { in brcmf_fil_cmd_data()
H A Dfwsignal.c816 txq = brcmf_bus_gettxq(fws->drvr->bus_if); in brcmf_fws_bus_txq_cleanup()
2272 struct brcmf_bus *bus_if = dev_get_drvdata(seq->private); in brcmf_debugfs_fws_stats_read() local
2273 struct brcmf_fws_stats *fwstats = &(drvr_to_fws(bus_if->drvr)->stats); in brcmf_debugfs_fws_stats_read()
2358 if (!drvr->bus_if->always_use_fws_queue && in brcmf_fws_attach()
H A Dcfg80211.c1730 bool bus_up = drvr->bus_if->state == BRCMF_BUS_UP; in brcmf_link_down()
4223 brcmf_bus_wowl_config(cfg->pub->bus_if, true); in brcmf_configure_wowl()
4270 brcmf_bus_wowl_config(cfg->pub->bus_if, false); in brcmf_cfg80211_suspend()
5692 if (!ndev || drvr->bus_if->state != BRCMF_BUS_UP) in brcmf_cfg80211_get_channel()
7883 switch (drvr->bus_if->chip) { in brmcf_use_iso3166_ccode_fallback()