Lines Matching refs:addr
87 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb() argument
93 err = snd_hdac_bus_exec_verb_unlocked(bus, addr, cmd, res); in snd_hdac_bus_exec_verb()
107 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb_unlocked() argument
126 err = bus->ops->get_response(bus, addr, &tmp); in snd_hdac_bus_exec_verb_unlocked()
131 err = bus->ops->get_response(bus, addr, res); in snd_hdac_bus_exec_verb_unlocked()
132 trace_hda_get_response(bus, addr, *res); in snd_hdac_bus_exec_verb_unlocked()
208 if (bus->caddr_tbl[codec->addr]) { in snd_hdac_bus_add_device()
210 codec->addr); in snd_hdac_bus_add_device()
215 bus->caddr_tbl[codec->addr] = codec; in snd_hdac_bus_add_device()
216 set_bit(codec->addr, &bus->codec_powered); in snd_hdac_bus_add_device()
233 bus->caddr_tbl[codec->addr] = NULL; in snd_hdac_bus_remove_device()
234 clear_bit(codec->addr, &bus->codec_powered); in snd_hdac_bus_remove_device()
241 unsigned int snd_hdac_aligned_read(void __iomem *addr, unsigned int mask) in snd_hdac_aligned_read() argument
244 (void __iomem *)((unsigned long)(addr) & ~0x3); in snd_hdac_aligned_read()
245 unsigned int shift = ((unsigned long)(addr) & 0x3) << 3; in snd_hdac_aligned_read()
253 void snd_hdac_aligned_write(unsigned int val, void __iomem *addr, in snd_hdac_aligned_write() argument
257 (void __iomem *)((unsigned long)(addr) & ~0x3); in snd_hdac_aligned_write()
258 unsigned int shift = ((unsigned long)(addr) & 0x3) << 3; in snd_hdac_aligned_write()