Home
last modified time | relevance | path

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

/linux-6.6.21/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);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h61 void *bus_priv, bool reload,
471 int (*init)(void *bus_priv, struct mlxsw_core *mlxsw_core,
474 void (*fini)(void *bus_priv);
475 bool (*skb_transmit_busy)(void *bus_priv,
477 int (*skb_transmit)(void *bus_priv, struct sk_buff *skb,
479 int (*cmd_exec)(void *bus_priv, u16 opcode, u8 opcode_mod,
484 u32 (*read_frc_h)(void *bus_priv);
485 u32 (*read_frc_l)(void *bus_priv);
486 u32 (*read_utc_sec)(void *bus_priv);
487 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
1591 mlxsw_core->bus_priv, true, in mlxsw_devlink_core_bus_device_reload_up()
2161 void *bus_priv, bool reload, in __mlxsw_core_bus_device_register() argument
2193 mlxsw_core->bus_priv = bus_priv; in __mlxsw_core_bus_device_register()
2197 err = mlxsw_bus->init(bus_priv, mlxsw_core, mlxsw_driver->profile, in __mlxsw_core_bus_device_register()
2298 mlxsw_bus->fini(bus_priv); in __mlxsw_core_bus_device_register()
2312 void *bus_priv, bool reload, in mlxsw_core_bus_device_register() argument
2321 bus_priv, reload, in mlxsw_core_bus_device_register()
2368 mlxsw_core->bus->fini(mlxsw_core->bus_priv); in mlxsw_core_bus_device_unregister()
2390 return mlxsw_core->bus->skb_transmit_busy(mlxsw_core->bus_priv, in mlxsw_core_skb_transmit_busy()
[all …]
/linux-6.6.21/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()
149 lis3_dev.bus_priv = client; in lis3lv02d_i2c_probe()
Dlis3lv02d.h261 void *bus_priv; /* used by the bus layer only */ member
/linux-6.6.21/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()
/linux-6.6.21/include/drm/
Ddrm_encoder_slave.h102 void *bus_priv; member
139 return (struct i2c_client *)to_encoder_slave(encoder)->bus_priv; in drm_i2c_encoder_get_client()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/
Dbus.h72 char bus_priv[] __aligned(sizeof(void *));
97 return &bus->bus_priv; in get_bus_priv()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpcie.c1447 struct brcmf_pciedev *pcie_bus_dev = bus_if->bus_priv.pcie; in brcmf_pcie_down()
1456 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_preinit()
1489 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_wowl_config()
1500 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_ramsize()
1510 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_memdump()
1522 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_get_blob()
1547 struct brcmf_pciedev *buspub = bus_if->bus_priv.pcie; in brcmf_pcie_reset()
2140 pcie_bus_dev = bus->bus_priv.pcie; in brcmf_pcie_setup()
2374 struct brcmf_pciedev *pcie_bus_dev = bus_if->bus_priv.pcie; in brcmf_pcie_debugfs_create()
2472 bus->bus_priv.pcie = pcie_bus_dev; in brcmf_pcie_probe()
[all …]
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()
1080 bus_if->bus_priv.sdio = sdiodev; in brcmf_ops_sdio_probe()
1120 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_remove()
1144 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_wowl_config()
1179 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_suspend()
1208 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_resume()
Dsdio.c2468 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_stop()
2748 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_gettxq()
2801 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_txdata()
2936 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_txctl()
3168 struct brcmf_sdio *bus = bus_if->bus_priv.sdio->bus; in brcmf_sdio_forensic_read()
3176 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_debugfs_sdio_count_read()
3216 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_debugfs_create()
3250 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_rxctl()
3529 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_preinit()
3592 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_bus_get_ramsize()
[all …]
Dbus.h170 } 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()
1265 bus->bus_priv.usb = bus_pub; in brcmf_usb_probe_cb()
/linux-6.6.21/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()