Home
last modified time | relevance | path

Searched refs:adrv (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/sound/ac97/
H A Dbus.c44 static int ac97_unbound_ctrl_read(struct ac97_controller *adrv, int slot, in ac97_unbound_ctrl_read() argument
132 unsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv, in snd_ac97_bus_scan_one() argument
138 ret = adrv->ops->read(adrv, codec_num, AC97_VENDOR_ID1); in snd_ac97_bus_scan_one()
143 ret = adrv->ops->read(adrv, codec_num, AC97_VENDOR_ID2); in snd_ac97_bus_scan_one()
148 dev_dbg(&adrv->adap, "%s(codec_num=%u): vendor_id=0x%08x\n", in snd_ac97_bus_scan_one()
471 const struct ac97_codec_driver *adrv = to_ac97_driver(drv); in ac97_bus_match() local
472 const struct ac97_id *id = adrv->id_table; in ac97_bus_match()
489 struct ac97_codec_driver *adrv = to_ac97_driver(dev->driver); in ac97_bus_probe() local
500 ret = adrv->probe(adev); in ac97_bus_probe()
515 struct ac97_codec_driver *adrv = to_ac97_driver(dev->driver); in ac97_bus_remove() local
[all …]
H A Dac97_core.h6 unsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv,
/linux-6.15/include/sound/ac97/
H A Dcontroller.h55 void (*reset)(struct ac97_controller *adrv);
56 void (*warm_reset)(struct ac97_controller *adrv);
57 int (*write)(struct ac97_controller *adrv, int slot,
59 int (*read)(struct ac97_controller *adrv, int slot, unsigned short reg);
/linux-6.15/drivers/bcma/
H A Dmain.c540 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_suspend() local
541 if (adrv->suspend) in bcma_bus_suspend()
542 adrv->suspend(core); in bcma_bus_suspend()
561 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_resume() local
562 if (adrv->resume) in bcma_bus_resume()
563 adrv->resume(core); in bcma_bus_resume()
594 for (did = adrv->id_table; did->manuf || did->id || did->rev; did++) { in bcma_bus_match()
612 if (adrv->probe) in bcma_device_probe()
613 err = adrv->probe(core); in bcma_device_probe()
626 if (adrv->remove) in bcma_device_remove()
[all …]
/linux-6.15/drivers/soc/qcom/
H A Dapr.c195 struct apr_driver *adrv = NULL; in apr_do_rx_callback() local
237 adrv = to_apr_driver(adev->dev.driver); in apr_do_rx_callback()
241 if (!adrv || !adev) { in apr_do_rx_callback()
257 adrv->callback(adev, &resp); in apr_do_rx_callback()
344 const struct apr_driver *adrv = to_apr_driver(drv); in apr_device_match() local
345 const struct apr_device_id *id = adrv->id_table; in apr_device_match()
367 struct apr_driver *adrv = to_apr_driver(dev->driver); in apr_device_probe() local
370 ret = adrv->probe(adev); in apr_device_probe()
372 adev->svc.callback = adrv->gpr_callback; in apr_device_probe()
383 if (adrv->remove) in apr_device_remove()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddev.c361 const struct auxiliary_driver *adrv; in mlx5_attach_device() local
398 adrv = to_auxiliary_drv(adev->dev.driver); in mlx5_attach_device()
400 if (adrv->resume) in mlx5_attach_device()
401 ret = adrv->resume(adev); in mlx5_attach_device()
418 const struct auxiliary_driver *adrv; in mlx5_detach_device() local
441 adrv = to_auxiliary_drv(adev->dev.driver); in mlx5_detach_device()
443 if (adrv->suspend && suspend) { in mlx5_detach_device()
444 adrv->suspend(adev, pm); in mlx5_detach_device()
/linux-6.15/sound/soc/sof/
H A Dsof-client.c360 const struct auxiliary_driver *adrv; in sof_suspend_clients() local
370 adrv = to_auxiliary_drv(cdev->auxdev.dev.driver); in sof_suspend_clients()
371 if (adrv->suspend) in sof_suspend_clients()
372 adrv->suspend(&cdev->auxdev, state); in sof_suspend_clients()
383 const struct auxiliary_driver *adrv; in sof_resume_clients() local
393 adrv = to_auxiliary_drv(cdev->auxdev.dev.driver); in sof_resume_clients()
394 if (adrv->resume) in sof_resume_clients()
395 adrv->resume(&cdev->auxdev); in sof_resume_clients()
/linux-6.15/sound/soc/pxa/
H A Dpxa2xx-ac97.c30 static void pxa2xx_ac97_warm_reset(struct ac97_controller *adrv) in pxa2xx_ac97_warm_reset() argument
37 static void pxa2xx_ac97_cold_reset(struct ac97_controller *adrv) in pxa2xx_ac97_cold_reset() argument
44 static int pxa2xx_ac97_read_actrl(struct ac97_controller *adrv, int slot, in pxa2xx_ac97_read_actrl() argument
50 static int pxa2xx_ac97_write_actrl(struct ac97_controller *adrv, int slot, in pxa2xx_ac97_write_actrl() argument
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ulp.c250 const struct auxiliary_driver *adrv; in bnxt_ulp_stop() local
253 adrv = to_auxiliary_drv(adev->dev.driver); in bnxt_ulp_stop()
255 adrv->suspend(adev, pm); in bnxt_ulp_stop()
288 const struct auxiliary_driver *adrv; in bnxt_ulp_start() local
290 adrv = to_auxiliary_drv(adev->dev.driver); in bnxt_ulp_start()
292 adrv->resume(adev); in bnxt_ulp_start()
/linux-6.15/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c152 return auxiliary_driver_register(&madrv->adrv); in mlx4_register_auxiliary_driver()
158 auxiliary_driver_unregister(&madrv->adrv); in mlx4_unregister_auxiliary_driver()
204 adrv.driver); in mlx4_do_bond()
H A Den_main.c390 .adrv = {
/linux-6.15/include/linux/mlx4/
H A Ddriver.h62 struct auxiliary_driver adrv; member
/linux-6.15/drivers/infiniband/hw/irdma/
H A Dmain.c373 .adrv = {
392 ret = auxiliary_driver_register(&irdma_auxiliary_drv.adrv); in irdma_init_module()
408 auxiliary_driver_unregister(&irdma_auxiliary_drv.adrv); in irdma_exit_module()
/linux-6.15/include/linux/net/intel/
H A Diidc.h100 struct auxiliary_driver adrv; member
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_idc.c27 adrv.driver); in ice_get_auxiliary_drv()
/linux-6.15/drivers/infiniband/hw/mlx4/
H A Dmain.c3335 .adrv = {