Home
last modified time | relevance | path

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

/Linux-v4.19/sound/ac97/
Dbus.c42 static int ac97_unbound_ctrl_write(struct ac97_controller *adrv, int slot, in ac97_unbound_ctrl_write() argument
48 static int ac97_unbound_ctrl_read(struct ac97_controller *adrv, int slot, in ac97_unbound_ctrl_read() argument
141 unsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv, in snd_ac97_bus_scan_one() argument
147 ret = adrv->ops->read(adrv, codec_num, AC97_VENDOR_ID1); in snd_ac97_bus_scan_one()
152 ret = adrv->ops->read(adrv, codec_num, AC97_VENDOR_ID2); in snd_ac97_bus_scan_one()
157 dev_dbg(&adrv->adap, "%s(codec_num=%u): vendor_id=0x%08x\n", in snd_ac97_bus_scan_one()
484 struct ac97_codec_driver *adrv = to_ac97_driver(drv); in ac97_bus_match() local
485 const struct ac97_id *id = adrv->id_table; in ac97_bus_match()
502 struct ac97_codec_driver *adrv = to_ac97_driver(dev->driver); in ac97_bus_probe() local
513 ret = adrv->probe(adev); in ac97_bus_probe()
[all …]
/Linux-v4.19/drivers/soc/qcom/
Dapr.c67 struct apr_driver *adrv = NULL; in apr_callback() local
112 adrv = to_apr_driver(svc->dev.driver); in apr_callback()
115 if (!adrv) { in apr_callback()
130 adrv->callback(svc, &resp); in apr_callback()
138 struct apr_driver *adrv = to_apr_driver(drv); in apr_device_match() local
139 const struct apr_device_id *id = adrv->id_table; in apr_device_match()
161 struct apr_driver *adrv = to_apr_driver(dev->driver); in apr_device_probe() local
163 return adrv->probe(adev); in apr_device_probe()
169 struct apr_driver *adrv; in apr_device_remove() local
173 adrv = to_apr_driver(dev->driver); in apr_device_remove()
[all …]
/Linux-v4.19/include/sound/ac97/
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-v4.19/drivers/bcma/
Dmain.c562 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_suspend() local
563 if (adrv->suspend) in bcma_bus_suspend()
564 adrv->suspend(core); in bcma_bus_suspend()
583 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_resume() local
584 if (adrv->resume) in bcma_bus_resume()
585 adrv->resume(core); in bcma_bus_resume()
612 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_match() local
616 for (did = adrv->id_table; did->manuf || did->id || did->rev; did++) { in bcma_bus_match()
629 struct bcma_driver *adrv = container_of(dev->driver, struct bcma_driver, in bcma_device_probe() local
634 if (adrv->probe) in bcma_device_probe()
[all …]