Searched refs:cp (Results 1 – 9 of 9) sorted by relevance
/sound/ppc/ |
D | pmac.c | 214 volatile struct dbdma_cmd __iomem *cp; in snd_pmac_pcm_prepare() local 253 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) { in snd_pmac_pcm_prepare() 254 st_le32(&cp->phy_addr, offset); in snd_pmac_pcm_prepare() 255 st_le16(&cp->req_count, rec->period_size); in snd_pmac_pcm_prepare() 257 st_le16(&cp->xfer_status, 0); in snd_pmac_pcm_prepare() 261 st_le16(&cp->command, DBDMA_NOP + BR_ALWAYS); in snd_pmac_pcm_prepare() 262 st_le32(&cp->cmd_dep, rec->cmd.addr); in snd_pmac_pcm_prepare() 278 volatile struct dbdma_cmd __iomem *cp; in snd_pmac_pcm_trigger() local 291 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) in snd_pmac_pcm_trigger() 292 out_le16(&cp->command, command); in snd_pmac_pcm_trigger() [all …]
|
/sound/soc/omap/ |
D | ams-delta.c | 339 const unsigned char *cp, char *fp, int count) in cx81801_receive() argument 354 v253_ops.receive_buf(tty, cp, fp, count); in cx81801_receive() 368 v253_ops.receive_buf(tty, cp, fp, count); in cx81801_receive() 370 for (c = &cp[count - 1]; c >= cp; c--) { in cx81801_receive()
|
/sound/usb/ |
D | endpoint.c | 194 unsigned char *cp = urb->transfer_buffer; in prepare_outbound_urb() local 233 cp[0] = ep->freqn; in prepare_outbound_urb() 234 cp[1] = ep->freqn >> 8; in prepare_outbound_urb() 235 cp[2] = ep->freqn >> 16; in prepare_outbound_urb() 236 cp[3] = ep->freqn >> 24; in prepare_outbound_urb() 244 cp[0] = ep->freqn >> 2; in prepare_outbound_urb() 245 cp[1] = ep->freqn >> 10; in prepare_outbound_urb() 246 cp[2] = ep->freqn >> 18; in prepare_outbound_urb()
|
D | pcm.c | 1244 unsigned char *cp; in retire_capture_urb() local 1253 cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset + subs->pkt_offset_adj; in retire_capture_urb() 1296 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb() 1297 memcpy(runtime->dma_area, cp + bytes1, bytes - bytes1); in retire_capture_urb() 1299 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb()
|
/sound/core/seq/ |
D | seq_ports.c | 190 struct snd_seq_client **cp) in get_client_port() argument 193 *cp = snd_seq_client_use_ptr(addr->client); in get_client_port() 194 if (*cp) { in get_client_port() 195 p = snd_seq_port_use_ptr(*cp, addr->port); in get_client_port() 197 snd_seq_client_unlock(*cp); in get_client_port() 198 *cp = NULL; in get_client_port()
|
/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 75 unsigned char *cp; in usX2Y_urb_capt_retire() local 80 cp = (unsigned char*)urb->transfer_buffer + urb->iso_frame_desc[i].offset; in usX2Y_urb_capt_retire() 97 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, blen); in usX2Y_urb_capt_retire() 98 memcpy(runtime->dma_area, cp + blen, len * usX2Y->stride - blen); in usX2Y_urb_capt_retire() 100 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, in usX2Y_urb_capt_retire()
|
/sound/sparc/ |
D | cs4231.c | 256 static u8 __cs4231_readb(struct snd_cs4231 *cp, void __iomem *reg_addr) in __cs4231_readb() argument 258 if (cp->flags & CS4231_FLAG_EBUS) in __cs4231_readb() 264 static void __cs4231_writeb(struct snd_cs4231 *cp, u8 val, in __cs4231_writeb() argument 267 if (cp->flags & CS4231_FLAG_EBUS) in __cs4231_writeb() 1795 struct snd_cs4231 *cp = device->device_data; in snd_cs4231_sbus_dev_free() local 1797 return snd_cs4231_sbus_free(cp); in snd_cs4231_sbus_dev_free() 1961 struct snd_cs4231 *cp = device->device_data; in snd_cs4231_ebus_dev_free() local 1963 return snd_cs4231_ebus_free(cp); in snd_cs4231_ebus_dev_free()
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 3930 struct cs_card_type *cp; in snd_cs46xx_create() local 3994 for (cp = &cards[0]; cp->name; cp++) { in snd_cs46xx_create() 3995 if (cp->vendor == ss_vendor && cp->id == ss_card) { in snd_cs46xx_create() 3997 cp->name); in snd_cs46xx_create() 3999 chip->amplifier_ctrl = cp->amp; in snd_cs46xx_create() 4000 chip->active_ctrl = cp->active; in snd_cs46xx_create() 4001 chip->mixer_init = cp->mixer_init; in snd_cs46xx_create() 4003 if (cp->init) in snd_cs46xx_create() 4004 cp->init(chip); in snd_cs46xx_create()
|
/sound/soc/codecs/ |
D | cx20442.c | 268 const unsigned char *cp, char *fp, int count) in v253_receive() argument
|