Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 263) sorted by relevance

1234567891011

/sound/soc/codecs/
A Dtas2781-fmwlib.c434 offset++; in fw_parse_block_data_kernel()
437 offset++; in fw_parse_block_data_kernel()
440 offset++; in fw_parse_block_data_kernel()
443 offset++; in fw_parse_block_data_kernel()
478 int offset) in fw_parse_data_kernel() argument
1103 offset++; in fw_parse_block_data()
1106 offset++; in fw_parse_block_data()
1109 offset++; in fw_parse_block_data()
1112 offset++; in fw_parse_block_data()
1246 offset); in fw_parse_program_data()
[all …]
A Drt5514-spi.c324 unsigned int i, end, offset = 0; in rt5514_spi_burst_read() local
329 while (offset < len) { in rt5514_spi_burst_read()
330 if (offset + RT5514_SPI_BUF_LEN <= len) in rt5514_spi_burst_read()
353 x[2].rx_buf = rxbuf + offset; in rt5514_spi_burst_read()
361 offset += RT5514_SPI_BUF_LEN; in rt5514_spi_burst_read()
401 unsigned int i, end, offset = 0; in rt5514_spi_burst_write() local
408 while (offset < len) { in rt5514_spi_burst_write()
409 if (offset + RT5514_SPI_BUF_LEN <= len) in rt5514_spi_burst_write()
421 write_buf[i + 12] = txbuf[offset + i + 0]; in rt5514_spi_burst_write()
422 write_buf[i + 11] = txbuf[offset + i + 1]; in rt5514_spi_burst_write()
[all …]
A Drt5677-spi.c473 u32 offset; in rt5677_spi_read() local
499 for (offset = 0; offset < len; offset += t[1].len) { in rt5677_spi_read()
501 len - offset, &t[1].len); in rt5677_spi_read()
516 rt5677_spi_reverse(cb + offset, len - offset, body, t[1].len); in rt5677_spi_read()
528 u32 offset; in rt5677_spi_write() local
551 for (offset = 0; offset < len;) { in rt5677_spi_write()
553 len - offset, &t.len); in rt5677_spi_write()
559 buf[3] = ((addr + offset) & 0x0000ff00) >> 8; in rt5677_spi_write()
560 buf[4] = ((addr + offset) & 0x000000ff) >> 0; in rt5677_spi_write()
563 rt5677_spi_reverse(body, t.len, cb + offset, len - offset); in rt5677_spi_write()
[all …]
A Dpcm6240.c1492 offset += 4; in pcmdev_regbin_ready()
1502 offset += 4; in pcmdev_regbin_ready()
1511 offset += 4; in pcmdev_regbin_ready()
1513 offset += 8; in pcmdev_regbin_ready()
1515 offset += 1; in pcmdev_regbin_ready()
1517 offset += 1; in pcmdev_regbin_ready()
1519 offset += 1; in pcmdev_regbin_ready()
1706 PCMDEVICE_REG(data[offset + 1], data[offset + 2]), in pcmdev_single_byte_wr()
1738 PCMDEVICE_REG(data[offset + 1], data[offset + 2]), in pcmdev_burst_wr()
1780 PCMDEVICE_REG(data[offset + 3], data[offset + 4]), in pcmdev_bits_wr()
[all …]
/sound/usb/qcom/
A Dusb_audio_qmi_v01.c17 .offset = offsetof(struct mem_info_v01, iova),
25 .offset = offsetof(struct mem_info_v01, dma),
33 .offset = offsetof(struct mem_info_v01, size),
49 .offset = offsetof(struct apps_mem_info_v01, evt_ring),
58 .offset = offsetof(struct apps_mem_info_v01, tr_data),
67 .offset = offsetof(struct apps_mem_info_v01, tr_sync),
85 .offset = offsetof(struct apps_mem_info_v01, dcba),
102 .offset = offsetof(struct usb_endpoint_descriptor_v01,
111 .offset = offsetof(struct usb_endpoint_descriptor_v01,
120 .offset = offsetof(struct usb_endpoint_descriptor_v01,
[all …]
/sound/soc/intel/avs/
A Dtopology.c50 *offset = pos; in avs_tplg_vendor_array_lookup()
86 *offset += tuples_size; in avs_tplg_vendor_array_lookup_next()
126 u32 offset; member
360 switch (offset) { in parse_audio_format_bitfield()
1193 .offset = 0,
1301 if (!ret && !offset) in avs_tplg_pipeline_create()
1397 u32 offset; in avs_tplg_path_create() local
1415 else if (!offset) in avs_tplg_path_create()
1464 u32 offset; in parse_path_template() local
1772 u32 offset; in avs_manifest() local
[all …]
/sound/soc/sof/
A Dops.c22 pci_read_config_dword(pci, offset, &ret); in snd_sof_pci_update_bits_unlocked()
31 pci_write_config_dword(pci, offset, new); in snd_sof_pci_update_bits_unlocked()
33 offset); in snd_sof_pci_update_bits_unlocked()
52 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_unlocked() argument
57 ret = snd_sof_dsp_read(sdev, bar, offset); in snd_sof_dsp_update_bits_unlocked()
65 snd_sof_dsp_write(sdev, bar, offset, new); in snd_sof_dsp_update_bits_unlocked()
72 u32 offset, u64 mask, u64 value) in snd_sof_dsp_update_bits64_unlocked() argument
120 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced_unlocked() argument
135 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced() argument
158 sdev->dsp_oops_offset = offset; in snd_sof_dsp_panic()
[all …]
A Dops.h318 u32 offset, u8 value) in snd_sof_dsp_write8() argument
327 u32 offset, u32 value) in snd_sof_dsp_write() argument
336 u32 offset, u64 value) in snd_sof_dsp_write64() argument
345 u32 offset) in snd_sof_dsp_read8() argument
350 return readb(sdev->bar[bar] + offset); in snd_sof_dsp_read8()
354 u32 offset) in snd_sof_dsp_read() argument
359 return readl(sdev->bar[bar] + offset); in snd_sof_dsp_read()
363 u32 offset) in snd_sof_dsp_read64() argument
622 (offset), (val)); \
630 (offset), (val)); \
[all …]
A Diomem-utils.c54 void sof_mailbox_write(struct snd_sof_dev *sdev, u32 offset, in sof_mailbox_write() argument
57 void __iomem *dest = sdev->bar[sdev->mailbox_bar] + offset; in sof_mailbox_write()
63 void sof_mailbox_read(struct snd_sof_dev *sdev, u32 offset, in sof_mailbox_read() argument
66 void __iomem *src = sdev->bar[sdev->mailbox_bar] + offset; in sof_mailbox_read()
77 u32 offset, void *src, size_t size) in sof_block_write() argument
89 dest = sdev->bar[bar] + offset; in sof_block_write()
116 u32 offset, void *dest, size_t size) in sof_block_read() argument
123 memcpy_fromio(dest, sdev->bar[bar] + offset, size); in sof_block_read()
/sound/firewire/dice/
A Ddice.h127 unsigned int offset,
134 unsigned int offset, in snd_dice_transaction_write_global() argument
138 SND_DICE_ADDR_TYPE_GLOBAL, offset, in snd_dice_transaction_write_global()
142 unsigned int offset, in snd_dice_transaction_read_global() argument
146 SND_DICE_ADDR_TYPE_GLOBAL, offset, in snd_dice_transaction_read_global()
150 unsigned int offset, in snd_dice_transaction_write_tx() argument
157 unsigned int offset, in snd_dice_transaction_read_tx() argument
164 unsigned int offset, in snd_dice_transaction_write_rx() argument
171 unsigned int offset, in snd_dice_transaction_read_rx() argument
178 unsigned int offset, in snd_dice_transaction_write_sync() argument
[all …]
A Ddice-transaction.c12 u64 offset) in get_subaddr() argument
16 offset += dice->tx_offset; in get_subaddr()
19 offset += dice->rx_offset; in get_subaddr()
22 offset += dice->sync_offset; in get_subaddr()
25 offset += dice->rsrv_offset; in get_subaddr()
29 offset += dice->global_offset; in get_subaddr()
32 offset += DICE_PRIVATE_SPACE; in get_subaddr()
33 return offset; in get_subaddr()
145 if ((offset & 3) != 0) { in dice_notification()
180 dice->notification_handler.offset); in register_notification_address()
[all …]
/sound/soc/sof/amd/
A Dacp-ipc.c20 memcpy_to_scratch(sdev, offset, message, bytes); in acp_mailbox_write()
26 memcpy_from_scratch(sdev, offset, message, bytes); in acp_mailbox_read()
45 unsigned int host_msg = sdev->debug_box.offset + in acp_ipc_host_msg_set()
53 unsigned int dsp_msg = sdev->debug_box.offset + in acp_dsp_ipc_host_done()
61 unsigned int dsp_ack = sdev->debug_box.offset + in acp_dsp_ipc_dsp_done()
71 unsigned int offset = sdev->host_box.offset; in acp_sof_ipc_send_msg() local
101 unsigned int offset = sdev->host_box.offset; in acp_dsp_ipc_get_reply() local
160 unsigned int dsp_msg_write = sdev->debug_box.offset + in acp_sof_ipc_irq_thread()
162 unsigned int dsp_ack_write = sdev->debug_box.offset + in acp_sof_ipc_irq_thread()
252 unsigned int offset = sdev->dsp_box.offset; in acp_sof_ipc_msg_data() local
[all …]
A Dacp-stream.c32 u32 low, high, offset, reg_val; in acp_dsp_stream_config() local
40 offset = offsetof(struct scratch_reg_conf, grp1_pte); in acp_dsp_stream_config()
46 offset = offsetof(struct scratch_reg_conf, grp2_pte); in acp_dsp_stream_config()
52 offset = offsetof(struct scratch_reg_conf, grp3_pte); in acp_dsp_stream_config()
58 offset = offsetof(struct scratch_reg_conf, grp4_pte); in acp_dsp_stream_config()
64 offset = offsetof(struct scratch_reg_conf, grp5_pte); in acp_dsp_stream_config()
70 offset = offsetof(struct scratch_reg_conf, grp6_pte); in acp_dsp_stream_config()
92 phy_addr_offset = sdev->debug_box.offset + in acp_dsp_stream_config()
101 offset = offset + sdev->debug_box.offset; in acp_dsp_stream_config()
102 reg_val = desc->sram_pte_offset + offset; in acp_dsp_stream_config()
[all …]
A Dacp-common.c28 u32 dsp_msg_write = sdev->debug_box.offset + in amd_sof_ipc_dump()
30 u32 dsp_ack_write = sdev->debug_box.offset + in amd_sof_ipc_dump()
32 u32 host_msg_write = sdev->debug_box.offset + in amd_sof_ipc_dump()
34 u32 host_ack_write = sdev->debug_box.offset + in amd_sof_ipc_dump()
64 u32 offset = sdev->dsp_oops_offset; in amd_get_registers() local
67 acp_mailbox_read(sdev, offset, xoops, sizeof(*xoops)); in amd_get_registers()
76 offset += xoops->arch_hdr.totalsize; in amd_get_registers()
77 acp_mailbox_read(sdev, offset, panic_info, sizeof(*panic_info)); in amd_get_registers()
80 offset += sizeof(*panic_info); in amd_get_registers()
100 if (sdev->dsp_oops_offset > sdev->debug_box.offset) { in amd_sof_dump()
[all …]
A Dacp-loader.c37 offset = offset - desc->sram_pte_offset; in acp_dsp_block_read()
50 u32 offset, void *src, size_t size) in acp_dsp_block_write() argument
72 adata->fw_bin_size = size + offset; in acp_dsp_block_write()
73 dest = adata->bin_buf + offset; in acp_dsp_block_write()
84 dest = adata->data_buf + offset; in acp_dsp_block_write()
85 adata->fw_data_bin_size = size + offset; in acp_dsp_block_write()
98 dest = adata->sram_data_buf + offset; in acp_dsp_block_write()
124 u32 offset; in configure_pte_for_fw_loading() local
128 offset = FW_BIN_PTE_OFFSET; in configure_pte_for_fw_loading()
132 offset = adata->fw_bin_page_count * 8; in configure_pte_for_fw_loading()
[all …]
/sound/pci/emu10k1/
A Demu10k1_patch.c32 int offset; in snd_emu10k1_sample_new() local
111 offset = 0; in snd_emu10k1_sample_new()
113 snd_emu10k1_synth_memset(emu, sp->block, offset, size, fill); in snd_emu10k1_sample_new()
114 offset += size; in snd_emu10k1_sample_new()
119 if (snd_emu10k1_synth_copy_from_user(emu, sp->block, offset, data, size, xor)) in snd_emu10k1_sample_new()
121 offset += size; in snd_emu10k1_sample_new()
128 offset += size; in snd_emu10k1_sample_new()
135 if (snd_emu10k1_synth_copy_from_user(emu, sp->block, offset, data, size, xor)) in snd_emu10k1_sample_new()
137 offset += size; in snd_emu10k1_sample_new()
140 if (offset < blocksize) in snd_emu10k1_sample_new()
[all …]
A Dmemory.c31 #define get_aligned_page(offset) ((offset) >> PAGE_SHIFT) argument
580 offset += blk->offset & (PAGE_SIZE - 1); in snd_emu10k1_synth_memset()
581 end_offset = offset + size; in snd_emu10k1_synth_memset()
585 temp = nextofs - offset; in snd_emu10k1_synth_memset()
586 temp1 = end_offset - offset; in snd_emu10k1_synth_memset()
592 offset = nextofs; in snd_emu10k1_synth_memset()
640 offset += blk->offset & (PAGE_SIZE - 1); in snd_emu10k1_synth_copy_from_user()
641 end_offset = offset + size; in snd_emu10k1_synth_copy_from_user()
645 temp = nextofs - offset; in snd_emu10k1_synth_copy_from_user()
646 temp1 = end_offset - offset; in snd_emu10k1_synth_copy_from_user()
[all …]
/sound/soc/sof/intel/
A Dhda-ctrl.c61 u32 cap, offset, feature; in hda_dsp_ctrl_get_caps() local
80 offset & SOF_HDA_CAP_NEXT_MASK); in hda_dsp_ctrl_get_caps()
94 offset); in hda_dsp_ctrl_get_caps()
95 bus->ppcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps()
100 offset); in hda_dsp_ctrl_get_caps()
106 offset); in hda_dsp_ctrl_get_caps()
112 offset); in hda_dsp_ctrl_get_caps()
117 offset); in hda_dsp_ctrl_get_caps()
118 bus->mlcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps()
122 feature, offset); in hda_dsp_ctrl_get_caps()
[all …]
/sound/isa/sb/
A Demu8000_patch.c74 read_word(const void __user *buf, int offset, int mode) in read_word() argument
79 get_user(cc, (unsigned char __user *)buf + offset); in read_word()
83 get_user(c, (unsigned short __user *)buf + offset); in read_word()
86 get_user(cc, (unsigned short __user *)buf + offset); in read_word()
125 EMU8000_SMALW_WRITE(emu, *offset); in write_word()
128 *offset += 1; in write_word()
142 int offset; in snd_emu8000_sample_new() local
192 if (! sp->block->offset) { in snd_emu8000_sample_new()
199 offset = 0; in snd_emu8000_sample_new()
203 s = read_word(data, offset, sp->v.mode_flags); in snd_emu8000_sample_new()
[all …]
/sound/soc/
A Dsoc-ac97.c61 if (offset >= AC97_NUM_GPIOS) in snd_soc_ac97_gpio_request()
68 unsigned int offset) in snd_soc_ac97_gpio_direction_in() argument
74 1 << offset, 1 << offset); in snd_soc_ac97_gpio_direction_in()
84 dev_dbg(component->dev, "get gpio %d : %d\n", offset, in snd_soc_ac97_gpio_get()
85 ret & (1 << offset)); in snd_soc_ac97_gpio_get()
87 return !!(ret & (1 << offset)); in snd_soc_ac97_gpio_get()
96 gpio_priv->gpios_set &= ~(1 << offset); in snd_soc_ac97_gpio_set()
97 gpio_priv->gpios_set |= (!!value) << offset; in snd_soc_ac97_gpio_set()
106 unsigned offset, int value) in snd_soc_ac97_gpio_direction_out() argument
113 ret = snd_soc_ac97_gpio_set(chip, offset, value); in snd_soc_ac97_gpio_direction_out()
[all …]
/sound/synth/emux/
A Demux_effect.c167 int offset; in snd_emux_send_effect() local
186 offset = parm_defs[type].offset; in snd_emux_send_effect()
187 if (offset < 0) in snd_emux_send_effect()
192 offset++; in snd_emux_send_effect()
195 offset++; in snd_emux_send_effect()
203 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_send_effect()
235 int offset; in snd_emux_setup_effect() local
238 offset = parm_defs[i].offset; in snd_emux_setup_effect()
239 if (offset < 0) in snd_emux_setup_effect()
243 offset++; in snd_emux_setup_effect()
[all …]
/sound/soc/intel/catpt/
A Dloader.c158 off = catpt_to_host_offset(info->offset); in catpt_store_memdumps()
332 u32 offset = sizeof(*basefw); in catpt_restore_basefw() local
360 offset += sizeof(*blk) + blk->size; in catpt_restore_basefw()
375 u32 offset = sizeof(*mod); in catpt_restore_module() local
406 offset += sizeof(*blk) + blk->size; in catpt_restore_module()
417 u32 offset = sizeof(*mod); in catpt_load_module() local
446 offset += sizeof(*blk) + blk->size; in catpt_load_module()
463 u32 offset = sizeof(*fw); in catpt_restore_firmware() local
499 offset += sizeof(*mod) + mod->mod_size; in catpt_restore_firmware()
509 u32 offset = sizeof(*fw); in catpt_load_firmware() local
[all …]
/sound/firewire/motu/
A Dmotu-transaction.c15 int snd_motu_transaction_read(struct snd_motu *motu, u32 offset, __be32 *reg, in snd_motu_transaction_read() argument
28 SND_MOTU_ADDR_BASE + offset, reg, size, 0); in snd_motu_transaction_read()
31 int snd_motu_transaction_write(struct snd_motu *motu, u32 offset, __be32 *reg, in snd_motu_transaction_write() argument
44 SND_MOTU_ADDR_BASE + offset, reg, size, 0); in snd_motu_transaction_write()
49 int generation, unsigned long long offset, in handle_message() argument
61 if (offset != motu->async_handler.offset || length != 4) { in handle_message()
86 (motu->async_handler.offset >> 32)); in snd_motu_transaction_reregister()
92 data = cpu_to_be32(motu->async_handler.offset); in snd_motu_transaction_reregister()
/sound/firewire/digi00x/
A Ddigi00x-transaction.c12 unsigned long long offset, __be32 *buf) in handle_unknown_message() argument
25 int generation, unsigned long long offset, in handle_message() argument
33 if (offset == dg00x->async_handler.offset) in handle_message()
34 handle_unknown_message(dg00x, offset, buf); in handle_message()
44 (dg00x->async_handler.offset >> 32)); in snd_dg00x_transaction_reregister()
45 data[1] = cpu_to_be32(dg00x->async_handler.offset); in snd_dg00x_transaction_reregister()
/sound/core/seq/
A Dseq_memory.c76 if (len <= offset) in dump_var_event()
79 len = offset + maxlen; in dump_var_event()
84 curptr += offset; in dump_var_event()
85 len -= offset; in dump_var_event()
102 len - offset); in dump_var_event()
109 if (offset >= size) { in dump_var_event()
110 offset -= size; in dump_var_event()
116 err = func(private_data, curptr + offset, size - offset); in dump_var_event()
119 offset = 0; in dump_var_event()
209 if (len <= offset) in snd_seq_expand_var_event_at()
[all …]

Completed in 84 milliseconds

1234567891011