| /linux/sound/ac97/ |
| H A D | bus.c | 38 static int ac97_unbound_ctrl_write(struct ac97_controller *adrv, int slot, in ac97_unbound_ctrl_write() argument 44 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() 467 const struct ac97_codec_driver *adrv = to_ac97_driver(drv); in ac97_bus_match() local 468 const struct ac97_id *id = adrv->id_table; in ac97_bus_match() 485 struct ac97_codec_driver *adrv = to_ac97_driver(dev->driver); in ac97_bus_probe() local 496 ret = adrv->probe(adev); in ac97_bus_probe() [all …]
|
| H A D | ac97_core.h | 6 unsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv,
|
| /linux/include/sound/ac97/ |
| H A D | controller.h | 55 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/drivers/bcma/ |
| H A D | main.c | 546 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_suspend() local 547 if (adrv->suspend) in bcma_bus_suspend() 548 adrv->suspend(core); in bcma_bus_suspend() 567 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_resume() local 568 if (adrv->resume) in bcma_bus_resume() 569 adrv->resume(core); in bcma_bus_resume() 596 const struct bcma_driver *adrv = container_of_const(drv, struct bcma_driver, drv); in bcma_bus_match() local 600 for (did = adrv->id_table; did->manuf || did->id || did->rev; did++) { in bcma_bus_match() 613 struct bcma_driver *adrv = container_of(dev->driver, struct bcma_driver, in bcma_device_probe() local 618 if (adrv->probe) in bcma_device_probe() [all …]
|
| /linux/rust/kernel/ |
| H A D | auxiliary.rs | 52 adrv: &Opaque<Self::DriverType>, in register() 58 (*adrv.get()).name = name.as_char_ptr(); in register() 59 (*adrv.get()).probe = Some(Self::probe_callback); in register() 60 (*adrv.get()).remove = Some(Self::remove_callback); in register() 61 (*adrv.get()).id_table = T::ID_TABLE.as_ptr(); in register() 66 bindings::__auxiliary_driver_register(adrv.get(), module.0, name.as_char_ptr()) in register() 70 unsafe fn unregister(adrv: &Opaque<Self::DriverType>) { in unregister() 72 unsafe { bindings::auxiliary_driver_unregister(adrv.get()) } in unregister()
|
| /linux/drivers/soc/qcom/ |
| H A D | apr.c | 195 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() 380 struct apr_driver *adrv = to_apr_driver(dev->driver); in apr_device_remove() local [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | dev.c | 361 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/sound/soc/sof/ |
| H A D | sof-client.c | 397 const struct auxiliary_driver *adrv; in sof_suspend_clients() local 409 adrv = to_auxiliary_drv(cdev->auxdev.dev.driver); in sof_suspend_clients() 410 if (adrv->suspend) in sof_suspend_clients() 411 adrv->suspend(&cdev->auxdev, state); in sof_suspend_clients() 420 const struct auxiliary_driver *adrv; in sof_resume_clients() local 432 adrv = to_auxiliary_drv(cdev->auxdev.dev.driver); in sof_resume_clients() 433 if (adrv->resume) in sof_resume_clients() 434 adrv->resume(&cdev->auxdev); in sof_resume_clients()
|
| /linux/sound/soc/pxa/ |
| H A D | pxa2xx-ac97.c | 30 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/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ulp.c | 247 const struct auxiliary_driver *adrv; in bnxt_ulp_stop() local 250 adrv = to_auxiliary_drv(adev->dev.driver); in bnxt_ulp_stop() 252 adrv->suspend(adev, pm); in bnxt_ulp_stop() 280 const struct auxiliary_driver *adrv; in bnxt_ulp_start() local 282 adrv = to_auxiliary_drv(adev->dev.driver); in bnxt_ulp_start() 284 adrv->resume(adev); in bnxt_ulp_start()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | intf.c | 152 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 D | en_main.c | 390 .adrv = {
|
| /linux/include/linux/mlx4/ |
| H A D | driver.h | 62 struct auxiliary_driver adrv; member
|
| /linux/include/linux/net/intel/ |
| H A D | iidc_rdma.h | 63 struct auxiliary_driver adrv; member
|
| H A D | iidc_rdma_idpf.h | 23 struct auxiliary_driver adrv; member
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_idc.c | 168 adrv.driver); in idpf_idc_vdev_mtu_event() 281 adrv.driver); in idpf_idc_issue_reset_event()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | ig3rdma_if.c | 228 .adrv = {
|
| H A D | icrdma_if.c | 339 .adrv = {
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_idc.c | 30 struct iidc_rdma_core_auxiliary_drv, adrv.driver); in ice_get_auxiliary_drv()
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | main.c | 3331 .adrv = {
|