Searched refs:adrv (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/sound/ac97/ |
| D | bus.c | 39 static int ac97_unbound_ctrl_write(struct ac97_controller *adrv, int slot, in ac97_unbound_ctrl_write() argument 45 static int ac97_unbound_ctrl_read(struct ac97_controller *adrv, int slot, in ac97_unbound_ctrl_read() argument 133 unsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv, in snd_ac97_bus_scan_one() argument 139 ret = adrv->ops->read(adrv, codec_num, AC97_VENDOR_ID1); in snd_ac97_bus_scan_one() 144 ret = adrv->ops->read(adrv, codec_num, AC97_VENDOR_ID2); in snd_ac97_bus_scan_one() 149 dev_dbg(&adrv->adap, "%s(codec_num=%u): vendor_id=0x%08x\n", in snd_ac97_bus_scan_one() 476 struct ac97_codec_driver *adrv = to_ac97_driver(drv); in ac97_bus_match() local 477 const struct ac97_id *id = adrv->id_table; in ac97_bus_match() 494 struct ac97_codec_driver *adrv = to_ac97_driver(dev->driver); in ac97_bus_probe() local 505 ret = adrv->probe(adev); in ac97_bus_probe() [all …]
|
| /Linux-v5.4/include/sound/ac97/ |
| 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-v5.4/drivers/soc/qcom/ |
| D | apr.c | 106 struct apr_driver *adrv = NULL; in apr_do_rx_callback() local 147 adrv = to_apr_driver(svc->dev.driver); in apr_do_rx_callback() 150 if (!adrv) { in apr_do_rx_callback() 165 adrv->callback(svc, &resp); in apr_do_rx_callback() 190 struct apr_driver *adrv = to_apr_driver(drv); in apr_device_match() local 191 const struct apr_device_id *id = adrv->id_table; in apr_device_match() 213 struct apr_driver *adrv = to_apr_driver(dev->driver); in apr_device_probe() local 215 return adrv->probe(adev); in apr_device_probe() 221 struct apr_driver *adrv; in apr_device_remove() local 225 adrv = to_apr_driver(dev->driver); in apr_device_remove() [all …]
|
| /Linux-v5.4/drivers/bcma/ |
| D | main.c | 537 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_suspend() local 538 if (adrv->suspend) in bcma_bus_suspend() 539 adrv->suspend(core); in bcma_bus_suspend() 558 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_resume() local 559 if (adrv->resume) in bcma_bus_resume() 560 adrv->resume(core); in bcma_bus_resume() 587 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_match() local 591 for (did = adrv->id_table; did->manuf || did->id || did->rev; did++) { in bcma_bus_match() 604 struct bcma_driver *adrv = container_of(dev->driver, struct bcma_driver, in bcma_device_probe() local 609 if (adrv->probe) in bcma_device_probe() [all …]
|
| /Linux-v5.4/sound/soc/pxa/ |
| D | pxa2xx-ac97.c | 28 static void pxa2xx_ac97_warm_reset(struct ac97_controller *adrv) in pxa2xx_ac97_warm_reset() argument 35 static void pxa2xx_ac97_cold_reset(struct ac97_controller *adrv) in pxa2xx_ac97_cold_reset() argument 42 static int pxa2xx_ac97_read_actrl(struct ac97_controller *adrv, int slot, in pxa2xx_ac97_read_actrl() argument 48 static int pxa2xx_ac97_write_actrl(struct ac97_controller *adrv, int slot, in pxa2xx_ac97_write_actrl() argument
|
| /Linux-v5.4/drivers/staging/fieldbus/anybuss/ |
| D | host.c | 1171 struct anybuss_client_driver *adrv = in anybus_bus_match() local 1176 return adrv->anybus_id == be16_to_cpu(adev->anybus_id); in anybus_bus_match() 1181 struct anybuss_client_driver *adrv = in anybus_bus_probe() local 1186 if (!adrv->probe) in anybus_bus_probe() 1188 return adrv->probe(adev); in anybus_bus_probe() 1193 struct anybuss_client_driver *adrv = in anybus_bus_remove() local 1196 if (adrv->remove) in anybus_bus_remove() 1197 return adrv->remove(to_anybuss_client(dev)); in anybus_bus_remove()
|