Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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 …]
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()
Dfeature.c67 struct brcmf_bus *bus_if = dev_get_drvdata(seq->private); in brcmf_feat_debugfs_read() local
68 u32 feats = bus_if->drvr->feat_flags; in brcmf_feat_debugfs_read()
69 u32 quirks = bus_if->drvr->chip_quirks; in brcmf_feat_debugfs_read()
259 struct brcmf_bus *bus_if = dev_get_drvdata(seq->private); in brcmf_feat_fwcap_debugfs_read() local
260 struct brcmf_pub *drvr = bus_if->drvr; in brcmf_feat_fwcap_debugfs_read()
297 if (drvr->bus_if->chip != BRCM_CC_43430_CHIP_ID && in brcmf_feat_attach()
298 drvr->bus_if->chip != BRCM_CC_4345_CHIP_ID && in brcmf_feat_attach()
299 drvr->bus_if->chip != BRCM_CC_43454_CHIP_ID && in brcmf_feat_attach()
300 drvr->bus_if->chip != CY_CC_43439_CHIP_ID) in brcmf_feat_attach()
305 if (drvr->bus_if->wowl_supported) in brcmf_feat_attach()
[all …]
Dfwvid.c155 enum brcmf_fwvendor fwvid = drvr->bus_if->fwvid; in brcmf_fwvid_attach_ops()
162 dev_name(drvr->bus_if->dev)); in brcmf_fwvid_attach_ops()
171 list_add(&drvr->bus_if->list, &fwvid_list[fwvid].drvr_list); in brcmf_fwvid_attach_ops()
180 enum brcmf_fwvendor fwvid = drvr->bus_if->fwvid; in brcmf_fwvid_detach_ops()
186 dev_name(drvr->bus_if->dev)); in brcmf_fwvid_detach_ops()
191 list_del(&drvr->bus_if->list); in brcmf_fwvid_detach_ops()
198 return fwvid_list[drvr->bus_if->fwvid].name; in brcmf_fwvid_vendor_name()
Dbcmsdh.c64 struct brcmf_bus *bus_if = dev_get_drvdata(dev_id); in brcmf_sdiod_oob_irqhandler() local
65 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_oob_irqhandler()
84 struct brcmf_bus *bus_if = dev_get_drvdata(&func->dev); in brcmf_sdiod_ib_irqhandler() local
85 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_ib_irqhandler()
129 if (sdiodev->bus_if->chip == BRCM_CC_43362_CHIP_ID) { in brcmf_sdiod_intr_register()
210 brcmf_bus_change_state(sdiodev->bus_if, BRCMF_BUS_DOWN); in brcmf_sdiod_change_state()
215 brcmf_bus_change_state(sdiodev->bus_if, BRCMF_BUS_UP); in brcmf_sdiod_change_state()
1040 struct brcmf_bus *bus_if; in brcmf_ops_sdio_probe() local
1064 bus_if = kzalloc(sizeof(struct brcmf_bus), GFP_KERNEL); in brcmf_ops_sdio_probe()
1065 if (!bus_if) in brcmf_ops_sdio_probe()
[all …]
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 …]
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()
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 …]
Dsdio.c1783 ((len + pad) < bus->sdiodev->bus_if->maxctl)) in brcmf_sdio_read_control()
1790 if ((rdlen + BRCMF_FIRSTREAD) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdio_read_control()
1792 rdlen, bus->sdiodev->bus_if->maxctl); in brcmf_sdio_read_control()
1797 if ((len - doff) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdio_read_control()
1799 len, len - doff, bus->sdiodev->bus_if->maxctl); in brcmf_sdio_read_control()
2094 stats = &bus->sdiodev->bus_if->stats; in brcmf_sdio_txpkt_hdalign()
2467 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_sdio_bus_stop() local
2468 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_stop()
2747 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_sdio_bus_gettxq() local
2748 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_gettxq()
[all …]
Dpcie.c1446 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_pcie_down() local
1447 struct brcmf_pciedev *pcie_bus_dev = bus_if->bus_priv.pcie; in brcmf_pcie_down()
1455 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_pcie_preinit() local
1456 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_preinit()
1488 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_pcie_wowl_config() local
1489 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_wowl_config()
1499 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_pcie_get_ramsize() local
1500 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_ramsize()
1509 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_pcie_get_memdump() local
1510 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_memdump()
[all …]
Ddebug.c54 debugfs_create_devm_seqfile(drvr->bus_if->dev, fn, in brcmf_debugfs_add_entry()
Dcommon.c181 struct brcmf_bus *bus = drvr->bus_if; in brcmf_c_process_clm_blob()
204 struct brcmf_bus *bus = drvr->bus_if; in brcmf_c_process_txcap_blob()
305 bus = ifp->drvr->bus_if; in brcmf_c_preinit_dcmds()
Dcore.h103 struct brcmf_bus *bus_if; member
Dsdio.h175 struct brcmf_bus *bus_if; member
Dfwsignal.c816 txq = brcmf_bus_gettxq(fws->drvr->bus_if); in brcmf_fws_bus_txq_cleanup()
2276 struct brcmf_bus *bus_if = dev_get_drvdata(seq->private); in brcmf_debugfs_fws_stats_read() local
2277 struct brcmf_fws_stats *fwstats = &(drvr_to_fws(bus_if->drvr)->stats); in brcmf_debugfs_fws_stats_read()
2362 if (!drvr->bus_if->always_use_fws_queue && in brcmf_fws_attach()
Dfwil.c102 if (drvr->bus_if->state != BRCMF_BUS_UP) { in brcmf_fil_cmd_data()
Dusb.c175 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_usb_get_buspub() local
176 return bus_if->bus_priv.usb; in brcmf_usb_get_buspub()
Dcfg80211.c1743 bool bus_up = drvr->bus_if->state == BRCMF_BUS_UP; in brcmf_link_down()
4237 brcmf_bus_wowl_config(cfg->pub->bus_if, true); in brcmf_configure_wowl()
4284 brcmf_bus_wowl_config(cfg->pub->bus_if, false); in brcmf_cfg80211_suspend()
5694 if (!ndev || drvr->bus_if->state != BRCMF_BUS_UP) in brcmf_cfg80211_get_channel()
7893 switch (drvr->bus_if->chip) { in brmcf_use_iso3166_ccode_fallback()