Lines Matching refs:bus_if
64 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()
1069 kfree(bus_if); in brcmf_ops_sdio_probe()
1079 sdiodev->bus_if = bus_if; in brcmf_ops_sdio_probe()
1080 bus_if->bus_priv.sdio = sdiodev; in brcmf_ops_sdio_probe()
1081 bus_if->proto_type = BRCMF_PROTO_BCDC; in brcmf_ops_sdio_probe()
1082 bus_if->fwvid = id->driver_data; in brcmf_ops_sdio_probe()
1083 dev_set_drvdata(&func->dev, bus_if); in brcmf_ops_sdio_probe()
1084 dev_set_drvdata(&sdiodev->func1->dev, bus_if); in brcmf_ops_sdio_probe()
1104 kfree(bus_if); in brcmf_ops_sdio_probe()
1110 struct brcmf_bus *bus_if; in brcmf_ops_sdio_remove() local
1118 bus_if = dev_get_drvdata(&func->dev); in brcmf_ops_sdio_remove()
1119 if (bus_if) { in brcmf_ops_sdio_remove()
1120 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_remove()
1134 kfree(bus_if); in brcmf_ops_sdio_remove()
1143 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_sdio_wowl_config() local
1144 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_wowl_config()
1167 struct brcmf_bus *bus_if; in brcmf_ops_sdio_suspend() local
1178 bus_if = dev_get_drvdata(dev); in brcmf_ops_sdio_suspend()
1179 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_suspend()
1207 struct brcmf_bus *bus_if = dev_get_drvdata(dev); in brcmf_ops_sdio_resume() local
1208 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_resume()