Home
last modified time | relevance | path

Searched refs:bus_priv (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h69 void *bus_priv);
185 int (*init)(void *bus_priv, struct mlxsw_core *mlxsw_core,
187 void (*fini)(void *bus_priv);
188 bool (*skb_transmit_busy)(void *bus_priv,
190 int (*skb_transmit)(void *bus_priv, struct sk_buff *skb,
192 int (*cmd_exec)(void *bus_priv, u16 opcode, u8 opcode_mod,
Dcore.c90 void *bus_priv; member
785 void *bus_priv) in mlxsw_core_bus_device_register() argument
807 mlxsw_core->bus_priv = bus_priv; in mlxsw_core_bus_device_register()
817 err = mlxsw_bus->init(bus_priv, mlxsw_core, mlxsw_driver->profile); in mlxsw_core_bus_device_register()
841 mlxsw_bus->fini(bus_priv); in mlxsw_core_bus_device_register()
859 mlxsw_core->bus->fini(mlxsw_core->bus_priv); in mlxsw_core_bus_device_unregister()
876 return mlxsw_core->bus->skb_transmit_busy(mlxsw_core->bus_priv, in mlxsw_core_skb_transmit_busy()
886 return mlxsw_core->bus->skb_transmit(mlxsw_core->bus_priv, skb, in mlxsw_core_skb_transmit()
1260 err = mlxsw_core->bus->cmd_exec(mlxsw_core->bus_priv, opcode, in mlxsw_cmd_exec()
Dpci.c1393 static int mlxsw_pci_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_pci_init() argument
1396 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_init()
1489 static void mlxsw_pci_fini(void *bus_priv) in mlxsw_pci_fini() argument
1491 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_fini()
1509 static bool mlxsw_pci_skb_transmit_busy(void *bus_priv, in mlxsw_pci_skb_transmit_busy() argument
1512 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_skb_transmit_busy()
1518 static int mlxsw_pci_skb_transmit(void *bus_priv, struct sk_buff *skb, in mlxsw_pci_skb_transmit() argument
1521 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_skb_transmit()
1583 static int mlxsw_pci_cmd_exec(void *bus_priv, u16 opcode, u8 opcode_mod, in mlxsw_pci_cmd_exec() argument
1589 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_cmd_exec()
/drivers/misc/lis3lv02d/
Dlis3lv02d_spi.c30 struct spi_device *spi = lis3->bus_priv; in lis3_spi_read()
42 struct spi_device *spi = lis3->bus_priv; in lis3_spi_write()
81 lis3_dev.bus_priv = spi; in lis302dl_spi_probe()
Dlis3lv02d_i2c.c61 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_write()
67 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_read()
75 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_blockread()
163 lis3_dev.bus_priv = client; in lis3lv02d_i2c_probe()
Dlis3lv02d.h274 void *bus_priv; /* used by the bus layer only */ member
/drivers/platform/x86/
Dhp_accel.c103 struct acpi_device *dev = lis3->bus_priv; in lis3lv02d_acpi_init()
124 struct acpi_device *dev = lis3->bus_priv; in lis3lv02d_acpi_read()
147 struct acpi_device *dev = lis3->bus_priv; in lis3lv02d_acpi_write()
265 struct acpi_device *dev = lis3_dev.bus_priv; in hpled_set()
346 lis3_dev.bus_priv = device; in lis3lv02d_add()
/drivers/gpu/drm/
Ddrm_encoder_slave.c81 encoder->bus_priv = client; in drm_i2c_encoder_init()
118 encoder->bus_priv = NULL; in drm_i2c_encoder_destroy()
/drivers/ps3/
Dps3-vuart.c891 struct vuart_bus_priv *bus_priv = _private; in ps3_vuart_irq_handler() local
893 BUG_ON(!bus_priv); in ps3_vuart_irq_handler()
898 dump_ports_bmp(bus_priv->bmp); in ps3_vuart_irq_handler()
900 port = (BITS_PER_LONG - 1) - __ilog2(bus_priv->bmp->status); in ps3_vuart_irq_handler()
906 BUG_ON(!bus_priv->devices[port]); in ps3_vuart_irq_handler()
908 ps3_vuart_handle_port_interrupt(bus_priv->devices[port]); in ps3_vuart_irq_handler()
/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c78 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_oob_irqhandler()
98 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_ib_irqhandler()
1179 bus_if->bus_priv.sdio = sdiodev; in brcmf_ops_sdio_probe()
1235 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_remove()
1252 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_wowl_config()
1273 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_suspend()
1293 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_resume()
Dpcie.c1388 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_wowl_config()
1403 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_ramsize()
1413 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_memdump()
1781 struct brcmf_pciedev *pcie_bus_dev = bus->bus_priv.pcie; in brcmf_pcie_setup()
1889 bus->bus_priv.pcie = pcie_bus_dev; in brcmf_pcie_probe()
1932 devinfo = bus->bus_priv.pcie->devinfo; in brcmf_pcie_remove()
1940 kfree(bus->bus_priv.pcie); in brcmf_pcie_remove()
1971 devinfo = bus->bus_priv.pcie->devinfo; in brcmf_pcie_suspend()
2020 devinfo = bus->bus_priv.pcie->devinfo; in brcmf_pcie_resume()
2036 devinfo = bus->bus_priv.pcie->devinfo; in brcmf_pcie_resume()
Dbus.h128 } bus_priv; member
Dsdio.c2512 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_stop()
2776 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_gettxq()
2829 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_txdata()
2958 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_txctl()
3174 struct brcmf_sdio *bus = bus_if->bus_priv.sdio->bus; in brcmf_sdio_forensic_read()
3182 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_debugfs_sdio_count_read()
3253 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_rxctl()
3505 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_preinit()
3558 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_get_ramsize()
3568 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_get_memdump()
[all …]
Dusb.c171 return bus_if->bus_priv.usb; in brcmf_usb_get_buspub()
1216 devinfo = bus->bus_priv.usb->devinfo; in brcmf_usb_probe_phase2()
1264 bus->bus_priv.usb = bus_pub; in brcmf_usb_probe_cb()