Lines Matching refs:buf
123 snd_bebob_read_block(struct fw_unit *unit, u64 addr, void *buf, int size) in snd_bebob_read_block() argument
127 buf, size, 0); in snd_bebob_read_block()
131 snd_bebob_read_quad(struct fw_unit *unit, u64 addr, u32 *buf) in snd_bebob_read_quad() argument
135 (void *)buf, sizeof(u32), 0); in snd_bebob_read_quad()
173 avc_bridgeco_fill_unit_addr(u8 buf[AVC_BRIDGECO_ADDR_BYTES], in avc_bridgeco_fill_unit_addr()
178 buf[0] = 0xff; /* Unit */ in avc_bridgeco_fill_unit_addr()
179 buf[1] = dir; in avc_bridgeco_fill_unit_addr()
180 buf[2] = AVC_BRIDGECO_PLUG_MODE_UNIT; in avc_bridgeco_fill_unit_addr()
181 buf[3] = unit; in avc_bridgeco_fill_unit_addr()
182 buf[4] = 0xff & pid; in avc_bridgeco_fill_unit_addr()
183 buf[5] = 0xff; /* reserved */ in avc_bridgeco_fill_unit_addr()
186 avc_bridgeco_fill_msu_addr(u8 buf[AVC_BRIDGECO_ADDR_BYTES], in avc_bridgeco_fill_msu_addr()
190 buf[0] = 0x60; /* Music subunit */ in avc_bridgeco_fill_msu_addr()
191 buf[1] = dir; in avc_bridgeco_fill_msu_addr()
192 buf[2] = AVC_BRIDGECO_PLUG_MODE_SUBUNIT; in avc_bridgeco_fill_msu_addr()
193 buf[3] = 0xff & pid; in avc_bridgeco_fill_msu_addr()
194 buf[4] = 0xff; /* reserved */ in avc_bridgeco_fill_msu_addr()
195 buf[5] = 0xff; /* reserved */ in avc_bridgeco_fill_msu_addr()
199 u8 *buf, unsigned int len);
210 u8 addr[AVC_BRIDGECO_ADDR_BYTES], u8 *buf,