Lines Matching defs:data

1512 		       unsigned int data)
1517 /* send bits of data specified by reg */
1520 reg, data);
1557 * Write data through the vendor widget -- NOT protected by the Mutex!
1559 static int chipio_write_data(struct hda_codec *codec, unsigned int data)
1564 /* send low 16 bits of the data */
1565 res = chipio_send(codec, VENDOR_CHIPIO_DATA_LOW, data & 0xffff);
1568 /* send high 16 bits of the data */
1570 data >> 16);
1581 * Write multiple data through the vendor widget -- NOT protected by the Mutex!
1584 const u32 *data,
1589 if (data == NULL) {
1595 status = chipio_write_data(codec, *data++);
1602 * Read data through the vendor widget -- NOT protected by the Mutex!
1604 static int chipio_read_data(struct hda_codec *codec, unsigned int *data)
1618 /* read data */
1619 *data = snd_hda_codec_read(codec, WIDGET_CHIP_CTRL, 0,
1636 unsigned int chip_addx, const unsigned int data)
1643 /* write the address, and if successful proceed to write data */
1648 err = chipio_write_data(codec, data);
1662 unsigned int chip_addx, const unsigned int data)
1667 /* write the address, and if successful proceed to write data */
1672 err = chipio_write_data(codec, data);
1686 const u32 *data,
1697 status = chipio_write_data_multiple(codec, data, count);
1709 unsigned int chip_addx, unsigned int *data)
1716 /* write the address, and if successful proceed to write data */
1721 err = chipio_read_data(codec, data);
1865 unsigned int addr, unsigned int data)
1869 verb = VENDOR_CHIPIO_8051_WRITE_DIRECT | data;
1900 unsigned int data)
1905 /* send bits of data specified by reg to dsp */
1907 res = snd_hda_codec_read(codec, WIDGET_DSP_CTRL, 0, reg, data);
1935 * Write SCP data to DSP
1966 * Write multiple SCP data to DSP
1988 static int dspio_read(struct hda_codec *codec, unsigned int *data)
2001 *data = snd_hda_codec_read(codec, WIDGET_DSP_CTRL, 0,
2097 unsigned int data[SCP_MAX_DATA_WORDS];
2115 unsigned int data = 0;
2118 if (dspio_read(codec, &data) < 0)
2121 if ((data & 0x00ffffff) == spec->wait_scp_header) {
2122 spec->scp_resp_header = data;
2123 spec->scp_resp_count = data >> 27;
2199 memcpy(&ret_msg->data, spec->scp_resp_data,
2219 * @data: pointer to the data to send with the request, request specific
2220 * @len: length of the data, in bytes
2221 * @reply: point to the buffer to hold data returned for a reply
2227 int mod_id, int src_id, int req, int dir, const void *data,
2239 if ((len != 0 && data == NULL) || (len > SCP_MAX_DATA_WORDS))
2254 if (data != NULL && len > 0) {
2255 len = min((unsigned int)(sizeof(scp_send.data)), len);
2256 memcpy(scp_send.data, data, len);
2295 memcpy(reply, scp_reply.data, *reply_len);
2309 int src_id, int req, const void *data, unsigned int len)
2311 return dspio_scp(codec, mod_id, src_id, req, SCP_SET, data, len, NULL,
2316 int req, const unsigned int data)
2318 return dspio_set_param(codec, mod_id, 0x20, req, &data,
2323 int req, const unsigned int data)
2325 return dspio_set_param(codec, mod_id, 0x00, req, &data,
2965 const unsigned int *data,
2968 memcpy(dma->dmab->area, data, count);
2991 u32 data[];
3014 return struct_size(p, data, p->count);
3029 * Program a list of address/data pairs via the ChipIO widget.
3030 * The segment data is in the format of successive pairs of words.
3037 const u32 *data;
3046 data = (u32 *)(fls->data);
3048 status = chipio_write(codec, data[0], data[1]);
3054 data += 2;
3060 * Write a block of data into DSP code or data RAM using pre-allocated
3084 const unsigned int *data;
3119 data = fls->data;
3174 data_remainder = data;
3177 data += remainder_words;
3185 dma_xfer(dma_engine, data, run_size_words*sizeof(u32));
3244 data += run_size_words;
3258 * Write the entire DSP image of a DSP code/data overlay to DSP memories
3419 * contain the count of the data to be loaded, the data itself, and the
3420 * corresponding starting chip address of the starting data location.
3480 unsigned int data = 0;
3483 status = chipio_read(codec, 0x40004, &data);
3484 if ((status < 0) || (data != 1))
3517 * the mmio address 0x320 is used to set GPIO pins. The format for the data
3521 * of the on-card LED. It seems to use pin 2 for data, then toggles 3 to on and
3539 * the response data. My first tests didn't do these reads, and would cause
7571 * Write data through ChipIO to setup proper stream destinations.
7572 * Not sure how it exactly works, but it seems to direct data
7921 static const unsigned int data[] = {
7930 VENDOR_CHIPIO_PLL_PMU_WRITE, data[i]);
7940 static const unsigned int data[] = {
7961 ca0113_mmio_command_set(codec, 0x48, target[i], data[i]);
7983 * seemingly sends data to the HDA node 0x09, which is the digital
7985 * know what data is being sent. Interestingly, the AE-5 seems to go
8472 dsp_os_image = (struct dsp_image_seg *)(fw_entry->data);
8761 int mask, int data)
8770 if (data >= 0)
8772 AC_VERB_SET_GPIO_DATA, data);
9100 const unsigned int *addr, *data;
9134 data = ca0113_mmio_init_data_zxr;
9138 data = ca0113_mmio_init_data_sbz;
9143 writel(data[i], spec->mem_base + addr[cur_addr + i]);
9149 const unsigned int *addr, *data;
9153 data = ca0113_mmio_init_data_ae5;
9171 writel(data[i], spec->mem_base + addr[i]);
9216 const unsigned char *data = ca0132_ae5_register_set_data;
9251 writeb(data[i], spec->mem_base + addr[cur_addr]);
9254 writel(data[i], spec->mem_base + addr[cur_addr]);