Home
last modified time | relevance | path

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

/drivers/net/wireless/silabs/wfx/
Dbus.h24 int (*copy_from_io)(void *bus_priv, unsigned int addr, void *dst, size_t count);
25 int (*copy_to_io)(void *bus_priv, unsigned int addr, const void *src, size_t count);
26 int (*irq_subscribe)(void *bus_priv);
27 int (*irq_unsubscribe)(void *bus_priv);
28 void (*lock)(void *bus_priv);
29 void (*unlock)(void *bus_priv);
30 size_t (*align_size)(void *bus_priv, size_t size);
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h61 void *bus_priv, bool reload,
476 int (*init)(void *bus_priv, struct mlxsw_core *mlxsw_core,
479 void (*fini)(void *bus_priv);
480 bool (*skb_transmit_busy)(void *bus_priv,
482 int (*skb_transmit)(void *bus_priv, struct sk_buff *skb,
484 int (*cmd_exec)(void *bus_priv, u16 opcode, u8 opcode_mod,
489 u32 (*read_frc_h)(void *bus_priv);
490 u32 (*read_frc_l)(void *bus_priv);
491 u32 (*read_utc_sec)(void *bus_priv);
492 u32 (*read_utc_nsec)(void *bus_priv);
Di2c.c502 static int mlxsw_i2c_cmd_exec(void *bus_priv, u16 opcode, u8 opcode_mod, in mlxsw_i2c_cmd_exec() argument
508 struct mlxsw_i2c *mlxsw_i2c = bus_priv; in mlxsw_i2c_cmd_exec()
514 static bool mlxsw_i2c_skb_transmit_busy(void *bus_priv, in mlxsw_i2c_skb_transmit_busy() argument
520 static int mlxsw_i2c_skb_transmit(void *bus_priv, struct sk_buff *skb, in mlxsw_i2c_skb_transmit() argument
527 mlxsw_i2c_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_i2c_init() argument
531 struct mlxsw_i2c *mlxsw_i2c = bus_priv; in mlxsw_i2c_init()
559 static void mlxsw_i2c_fini(void *bus_priv) in mlxsw_i2c_fini() argument
561 struct mlxsw_i2c *mlxsw_i2c = bus_priv; in mlxsw_i2c_fini()
Dpci.c1511 static int mlxsw_pci_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_pci_init() argument
1515 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_init()
1667 static void mlxsw_pci_fini(void *bus_priv) in mlxsw_pci_fini() argument
1669 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_fini()
1694 static bool mlxsw_pci_skb_transmit_busy(void *bus_priv, in mlxsw_pci_skb_transmit_busy() argument
1697 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_skb_transmit_busy()
1703 static int mlxsw_pci_skb_transmit(void *bus_priv, struct sk_buff *skb, in mlxsw_pci_skb_transmit() argument
1706 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_skb_transmit()
1772 static int mlxsw_pci_cmd_exec(void *bus_priv, u16 opcode, u8 opcode_mod, in mlxsw_pci_cmd_exec() argument
1778 struct mlxsw_pci *mlxsw_pci = bus_priv; in mlxsw_pci_cmd_exec()
[all …]
Dcore.c68 void *bus_priv; member
1522 mlxsw_core->bus_priv, true, in mlxsw_devlink_core_bus_device_reload_up()
2111 void *bus_priv, bool reload, in __mlxsw_core_bus_device_register() argument
2142 mlxsw_core->bus_priv = bus_priv; in __mlxsw_core_bus_device_register()
2146 err = mlxsw_bus->init(bus_priv, mlxsw_core, mlxsw_driver->profile, in __mlxsw_core_bus_device_register()
2250 mlxsw_bus->fini(bus_priv); in __mlxsw_core_bus_device_register()
2263 void *bus_priv, bool reload, in mlxsw_core_bus_device_register() argument
2272 bus_priv, reload, in mlxsw_core_bus_device_register()
2321 mlxsw_core->bus->fini(mlxsw_core->bus_priv); in mlxsw_core_bus_device_unregister()
2341 return mlxsw_core->bus->skb_transmit_busy(mlxsw_core->bus_priv, in mlxsw_core_skb_transmit_busy()
[all …]
/drivers/misc/lis3lv02d/
Dlis3lv02d_spi.c27 struct spi_device *spi = lis3->bus_priv; in lis3_spi_read()
39 struct spi_device *spi = lis3->bus_priv; in lis3_spi_write()
78 lis3_dev.bus_priv = spi; in lis302dl_spi_probe()
Dlis3lv02d_i2c.c48 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_write()
54 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_read()
62 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_blockread()
150 lis3_dev.bus_priv = client; in lis3lv02d_i2c_probe()
Dlis3lv02d.h261 void *bus_priv; /* used by the bus layer only */ member
/drivers/platform/x86/hp/
Dhp_accel.c99 struct acpi_device *dev = lis3->bus_priv; in lis3lv02d_acpi_read()
124 struct acpi_device *dev = lis3->bus_priv; in lis3lv02d_acpi_write()
248 struct acpi_device *dev = lis3_dev.bus_priv; in hpled_set()
302 lis3_dev.bus_priv = ACPI_COMPANION(&device->dev); in lis3lv02d_probe()
/drivers/gpu/drm/
Ddrm_encoder_slave.c76 encoder->bus_priv = client; in drm_i2c_encoder_init()
112 encoder->bus_priv = NULL; in drm_i2c_encoder_destroy()
/drivers/net/wireless/quantenna/qtnfmac/
Dbus.h72 char bus_priv[] __aligned(sizeof(void *));
97 return &bus->bus_priv; in get_bus_priv()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c65 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_oob_irqhandler()
85 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_ib_irqhandler()
1065 bus_if->bus_priv.sdio = sdiodev; in brcmf_ops_sdio_probe()
1104 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_remove()
1128 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_wowl_config()
1163 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_suspend()
1192 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_resume()
Dpcie.c1426 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_preinit()
1459 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_wowl_config()
1470 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_ramsize()
1480 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_memdump()
1492 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_blob()
1513 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_reset()
2092 pcie_bus_dev = bus->bus_priv.pcie; in brcmf_pcie_setup()
2300 bus->bus_priv.pcie = pcie_bus_dev; in brcmf_pcie_probe()
2360 devinfo = bus->bus_priv.pcie->devinfo; in brcmf_pcie_remove()
2370 kfree(bus->bus_priv.pcie); in brcmf_pcie_remove()
[all …]
Dsdio.c2470 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_stop()
2750 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_gettxq()
2803 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_txdata()
2938 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_txctl()
3170 struct brcmf_sdio *bus = bus_if->bus_priv.sdio->bus; in brcmf_sdio_forensic_read()
3178 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_debugfs_sdio_count_read()
3218 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_debugfs_create()
3252 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_rxctl()
3531 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_preinit()
3594 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_get_ramsize()
[all …]
Dbus.h148 } bus_priv; member
Dusb.c176 return bus_if->bus_priv.usb; in brcmf_usb_get_buspub()
1179 struct brcmf_usbdev_info *devinfo = bus->bus_priv.usb->devinfo; in brcmf_usb_probe_phase2()
1264 bus->bus_priv.usb = bus_pub; in brcmf_usb_probe_cb()
/drivers/ps3/
Dps3-vuart.c879 struct vuart_bus_priv *bus_priv = _private; in ps3_vuart_irq_handler() local
881 BUG_ON(!bus_priv); in ps3_vuart_irq_handler()
886 dump_ports_bmp(bus_priv->bmp); in ps3_vuart_irq_handler()
888 port = (BITS_PER_LONG - 1) - __ilog2(bus_priv->bmp->status); in ps3_vuart_irq_handler()
894 BUG_ON(!bus_priv->devices[port]); in ps3_vuart_irq_handler()
896 ps3_vuart_handle_port_interrupt(bus_priv->devices[port]); in ps3_vuart_irq_handler()