/drivers/gpu/drm/bridge/ |
D | dw-hdmi-ahb-audio.c | 160 static void dw_hdmi_reformat_iec958(struct snd_dw_hdmi *dw, in dw_hdmi_reformat_iec958() argument 163 u32 *src = dw->buf_src + offset; in dw_hdmi_reformat_iec958() 164 u32 *dst = dw->buf_dst + offset; in dw_hdmi_reformat_iec958() 165 u32 *end = dw->buf_src + offset + bytes; in dw_hdmi_reformat_iec958() 188 static void dw_hdmi_reformat_s24(struct snd_dw_hdmi *dw, in dw_hdmi_reformat_s24() argument 191 u32 *src = dw->buf_src + offset; in dw_hdmi_reformat_s24() 192 u32 *dst = dw->buf_dst + offset; in dw_hdmi_reformat_s24() 193 u32 *end = dw->buf_src + offset + bytes; in dw_hdmi_reformat_s24() 199 cs = dw->cs[dw->iec_offset++]; in dw_hdmi_reformat_s24() 200 if (dw->iec_offset >= 192) in dw_hdmi_reformat_s24() [all …]
|
D | Makefile | 5 obj-$(CONFIG_DRM_DW_HDMI) += dw-hdmi.o 6 obj-$(CONFIG_DRM_DW_HDMI_AHB_AUDIO) += dw-hdmi-ahb-audio.o
|
/drivers/dma/dw/ |
D | core.c | 106 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_desc_get() local 110 desc = dma_pool_zalloc(dw->desc_pool, GFP_ATOMIC, &phys); in dwc_desc_get() 125 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_desc_put() local 133 dma_pool_free(dw->desc_pool, child, child->txd.phys); in dwc_desc_put() 137 dma_pool_free(dw->desc_pool, desc, desc->txd.phys); in dwc_desc_put() 143 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_initialize() local 161 channel_set_bit(dw, MASK.XFER, dwc->mask); in dwc_initialize() 162 channel_set_bit(dw, MASK.ERROR, dwc->mask); in dwc_initialize() 180 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable() argument 182 channel_clear_bit(dw, CH_EN, dwc->mask); in dwc_chan_disable() [all …]
|
D | regs.h | 285 static inline struct dw_dma_regs __iomem *__dw_regs(struct dw_dma *dw) in __dw_regs() argument 287 return dw->regs; in __dw_regs() 290 #define dma_readl(dw, name) \ argument 291 dma_readl_native(&(__dw_regs(dw)->name)) 292 #define dma_writel(dw, name, val) \ argument 293 dma_writel_native((val), &(__dw_regs(dw)->name)) 295 #define channel_set_bit(dw, reg, mask) \ argument 296 dma_writel(dw, reg, ((mask) << 8) | (mask)) 297 #define channel_clear_bit(dw, reg, mask) \ argument 298 dma_writel(dw, reg, ((mask) << 8) | 0)
|
D | platform.c | 34 struct dw_dma *dw = ofdma->of_dma_data; in dw_dma_of_xlate() local 36 .dma_dev = dw->dma.dev, in dw_dma_of_xlate() 50 slave.m_master >= dw->pdata->nr_masters || in dw_dma_of_xlate() 51 slave.p_master >= dw->pdata->nr_masters)) in dw_dma_of_xlate() 76 static void dw_dma_acpi_controller_register(struct dw_dma *dw) in dw_dma_acpi_controller_register() argument 78 struct device *dev = dw->dma.dev; in dw_dma_acpi_controller_register() 96 static inline void dw_dma_acpi_controller_register(struct dw_dma *dw) {} in dw_dma_acpi_controller_register() argument 208 dw_dma_of_xlate, chip->dw); in dw_probe() 215 dw_dma_acpi_controller_register(chip->dw); in dw_probe()
|
/drivers/edac/ |
D | i5100_edac.c | 485 u32 dw; in i5100_read_log() local 495 pci_read_config_dword(pdev, I5100_VALIDLOG, &dw); in i5100_read_log() 497 if (i5100_validlog_redmemvalid(dw)) { in i5100_read_log() 504 if (i5100_validlog_recmemvalid(dw)) { in i5100_read_log() 526 if (i5100_validlog_nrecmemvalid(dw)) { in i5100_read_log() 548 pci_write_config_dword(pdev, I5100_VALIDLOG, dw); in i5100_read_log() 554 u32 dw, dw2; in i5100_check_error() local 556 pci_read_config_dword(priv->mc, I5100_FERR_NF_MEM, &dw); in i5100_check_error() 557 if (i5100_ferr_nf_mem_any(dw)) { in i5100_check_error() 561 i5100_read_log(mci, i5100_ferr_nf_mem_chan_indx(dw), in i5100_check_error() [all …]
|
/drivers/scsi/be2iscsi/ |
D | be.h | 180 u32 *dw = (u32 *) ptr + dw_offset; in amap_set() local 181 *dw &= ~(mask << offset); in amap_set() 182 *dw |= (mask & value) << offset; in amap_set() 194 u32 *dw = ptr; in amap_get() local 195 return mask & (*(dw + dw_offset) >> offset); in amap_get() 209 u32 *dw = wrb; in swap_dws() local 212 *dw = cpu_to_le32(*dw); in swap_dws() 213 dw++; in swap_dws()
|
D | be_mgmt.c | 1357 params->dw[offsetof(struct amap_beiscsi_offload_params, in beiscsi_offload_cxn_v0() 1364 params->dw[offsetof(struct amap_beiscsi_offload_params, in beiscsi_offload_cxn_v0() 1367 (params->dw[offsetof(struct amap_beiscsi_offload_params, in beiscsi_offload_cxn_v0() 1370 (params->dw[offsetof(struct amap_beiscsi_offload_params, in beiscsi_offload_cxn_v0() 1373 (params->dw[offsetof(struct amap_beiscsi_offload_params, in beiscsi_offload_cxn_v0() 1376 (params->dw[offsetof(struct amap_beiscsi_offload_params, in beiscsi_offload_cxn_v0() 1379 (params->dw[offsetof(struct amap_beiscsi_offload_params, in beiscsi_offload_cxn_v0() 1383 (params->dw[offsetof(struct amap_beiscsi_offload_params, in beiscsi_offload_cxn_v0() 1389 max_burst_length, pwrb, params->dw[offsetof in beiscsi_offload_cxn_v0() 1427 max_burst_length, pwrb, params->dw[offsetof in beiscsi_offload_cxn_v2() [all …]
|
D | be_main.h | 488 u32 dw[12]; member 561 u32 dw[4]; member 579 u32 dw[6]; member 688 u32 dw[4]; member 731 u32 dw[1]; member 747 u32 dw[1]; member 766 u32 dw[16]; member 774 (pwrb->dw[0] |= (wrb_type << type_offset)) 877 u32 dw[12]; member 907 u32 dw[16]; member [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | cik_ih.c | 244 uint32_t dw[4]; in cik_ih_decode_iv() local 246 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in cik_ih_decode_iv() 247 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in cik_ih_decode_iv() 248 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in cik_ih_decode_iv() 249 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in cik_ih_decode_iv() 251 entry->src_id = dw[0] & 0xff; in cik_ih_decode_iv() 252 entry->src_data = dw[1] & 0xfffffff; in cik_ih_decode_iv() 253 entry->ring_id = dw[2] & 0xff; in cik_ih_decode_iv() 254 entry->vm_id = (dw[2] >> 8) & 0xff; in cik_ih_decode_iv() 255 entry->pas_id = (dw[2] >> 16) & 0xffff; in cik_ih_decode_iv()
|
D | si_ih.c | 125 uint32_t dw[4]; in si_ih_decode_iv() local 127 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in si_ih_decode_iv() 128 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in si_ih_decode_iv() 129 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in si_ih_decode_iv() 130 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in si_ih_decode_iv() 132 entry->src_id = dw[0] & 0xff; in si_ih_decode_iv() 133 entry->src_data = dw[1] & 0xfffffff; in si_ih_decode_iv() 134 entry->ring_id = dw[2] & 0xff; in si_ih_decode_iv() 135 entry->vm_id = (dw[2] >> 8) & 0xff; in si_ih_decode_iv()
|
D | iceland_ih.c | 223 uint32_t dw[4]; in iceland_ih_decode_iv() local 225 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in iceland_ih_decode_iv() 226 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in iceland_ih_decode_iv() 227 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in iceland_ih_decode_iv() 228 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in iceland_ih_decode_iv() 230 entry->src_id = dw[0] & 0xff; in iceland_ih_decode_iv() 231 entry->src_data = dw[1] & 0xfffffff; in iceland_ih_decode_iv() 232 entry->ring_id = dw[2] & 0xff; in iceland_ih_decode_iv() 233 entry->vm_id = (dw[2] >> 8) & 0xff; in iceland_ih_decode_iv() 234 entry->pas_id = (dw[2] >> 16) & 0xffff; in iceland_ih_decode_iv()
|
D | cz_ih.c | 223 uint32_t dw[4]; in cz_ih_decode_iv() local 225 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in cz_ih_decode_iv() 226 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in cz_ih_decode_iv() 227 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in cz_ih_decode_iv() 228 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in cz_ih_decode_iv() 230 entry->src_id = dw[0] & 0xff; in cz_ih_decode_iv() 231 entry->src_data = dw[1] & 0xfffffff; in cz_ih_decode_iv() 232 entry->ring_id = dw[2] & 0xff; in cz_ih_decode_iv() 233 entry->vm_id = (dw[2] >> 8) & 0xff; in cz_ih_decode_iv() 234 entry->pas_id = (dw[2] >> 16) & 0xffff; in cz_ih_decode_iv()
|
D | tonga_ih.c | 234 uint32_t dw[4]; in tonga_ih_decode_iv() local 236 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in tonga_ih_decode_iv() 237 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in tonga_ih_decode_iv() 238 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in tonga_ih_decode_iv() 239 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in tonga_ih_decode_iv() 241 entry->src_id = dw[0] & 0xff; in tonga_ih_decode_iv() 242 entry->src_data = dw[1] & 0xfffffff; in tonga_ih_decode_iv() 243 entry->ring_id = dw[2] & 0xff; in tonga_ih_decode_iv() 244 entry->vm_id = (dw[2] >> 8) & 0xff; in tonga_ih_decode_iv() 245 entry->pas_id = (dw[2] >> 16) & 0xffff; in tonga_ih_decode_iv()
|
/drivers/ata/ |
D | sata_sx4.c | 321 unsigned int dw = PDC_DIMM_APKT_PRD >> 2; in pdc20621_ata_sg() local 328 buf32[dw] = cpu_to_le32(addr); in pdc20621_ata_sg() 329 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); in pdc20621_ata_sg() 335 buf32[dw], buf32[dw + 1]); in pdc20621_ata_sg() 342 unsigned int dw = PDC_DIMM_HPKT_PRD >> 2; in pdc20621_host_sg() local 349 buf32[dw] = cpu_to_le32(addr); in pdc20621_host_sg() 350 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); in pdc20621_host_sg() 356 buf32[dw], buf32[dw + 1]); in pdc20621_host_sg() 363 unsigned int i, dw; in pdc20621_ata_pkt() local 388 dw = i >> 2; in pdc20621_ata_pkt() [all …]
|
/drivers/clk/rockchip/ |
D | clk.h | 340 #define COMPOSITE(_id, cname, pnames, f, mo, ms, mw, mf, ds, dw,\ argument 354 .div_width = dw, \ 361 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ argument 372 .div_width = dw, \ 379 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ argument 390 .div_width = dw, \ 417 ds, dw, df) \ argument 430 .div_width = dw, \ 436 mw, mf, ds, dw, df, dt) \ argument 449 .div_width = dw, \ [all …]
|
/drivers/scsi/ |
D | ncr53c8xx.h | 359 #define cpu_to_scr(dw) cpu_to_le32(dw) argument 360 #define scr_to_cpu(dw) le32_to_cpu(dw) argument 364 #define cpu_to_scr(dw) cpu_to_be32(dw) argument 365 #define scr_to_cpu(dw) be32_to_cpu(dw) argument 369 #define cpu_to_scr(dw) (dw) argument 370 #define scr_to_cpu(dw) (dw) argument
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.h | 141 #define cpu_to_scr(dw) cpu_to_le32(dw) argument 142 #define scr_to_cpu(dw) le32_to_cpu(dw) argument
|
/drivers/scsi/esas2r/ |
D | esas2r_init.c | 1011 u32 dw; in esas2r_check_adapter() local 1106 dw = esas2r_read_register_dword(a, MU_IN_LIST_CONFIG); in esas2r_check_adapter() 1107 dw &= ~MU_ILC_ENABLE; in esas2r_check_adapter() 1108 esas2r_write_register_dword(a, MU_IN_LIST_CONFIG, dw); in esas2r_check_adapter() 1109 dw = esas2r_read_register_dword(a, MU_OUT_LIST_CONFIG); in esas2r_check_adapter() 1110 dw &= ~MU_OLC_ENABLE; in esas2r_check_adapter() 1111 esas2r_write_register_dword(a, MU_OUT_LIST_CONFIG, dw); in esas2r_check_adapter() 1146 dw = esas2r_read_register_dword(a, MU_IN_LIST_IFC_CONFIG); in esas2r_check_adapter() 1147 dw &= ~(MU_ILIC_LIST | MU_ILIC_DEST); in esas2r_check_adapter() 1149 (dw | MU_ILIC_LIST_F0 | MU_ILIC_DEST_DDR)); in esas2r_check_adapter() [all …]
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | overlay.c | 154 u16 dw, dh; in dss_ovl_check() local 156 dw = mgr_timings->x_res; in dss_ovl_check() 174 if (dw < info->pos_x + outw) { in dss_ovl_check() 177 ovl->id, info->pos_x, outw, dw); in dss_ovl_check()
|
/drivers/spi/ |
D | Makefile | 35 obj-$(CONFIG_SPI_DESIGNWARE) += spi-dw.o 36 obj-$(CONFIG_SPI_DW_MMIO) += spi-dw-mmio.o 37 obj-$(CONFIG_SPI_DW_PCI) += spi-dw-midpci.o 38 spi-dw-midpci-objs := spi-dw-pci.o spi-dw-mid.o
|
/drivers/net/ethernet/emulex/benet/ |
D | be_hw.h | 249 __le32 dw[4]; member 288 u32 dw[4]; member 370 u32 dw[4]; member
|
D | be.h | 850 u32 *dw = (u32 *) ptr + dw_offset; in amap_set() local 851 *dw &= ~(mask << offset); in amap_set() 852 *dw |= (mask & value) << offset; in amap_set() 864 u32 *dw = (u32 *) ptr; in amap_get() local 865 return mask & (*(dw + dw_offset) >> offset); in amap_get() 891 u32 *dw = wrb; in swap_dws() local 894 *dw = cpu_to_le32(*dw); in swap_dws() 895 dw++; in swap_dws()
|
/drivers/staging/greybus/ |
D | audio_topology.c | 987 struct snd_soc_dapm_widget *dw, in gbaudio_tplg_create_widget() argument 1062 *dw = (struct snd_soc_dapm_widget) in gbaudio_tplg_create_widget() 1067 *dw = (struct snd_soc_dapm_widget) in gbaudio_tplg_create_widget() 1074 *dw = (struct snd_soc_dapm_widget) in gbaudio_tplg_create_widget() 1079 *dw = (struct snd_soc_dapm_widget)SND_SOC_DAPM_OUTPUT(w->name); in gbaudio_tplg_create_widget() 1082 *dw = (struct snd_soc_dapm_widget)SND_SOC_DAPM_INPUT(w->name); in gbaudio_tplg_create_widget() 1085 *dw = (struct snd_soc_dapm_widget) in gbaudio_tplg_create_widget() 1092 *dw = (struct snd_soc_dapm_widget) in gbaudio_tplg_create_widget() 1099 *dw = (struct snd_soc_dapm_widget) in gbaudio_tplg_create_widget() 1106 *dw = (struct snd_soc_dapm_widget) in gbaudio_tplg_create_widget() [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_trace.h | 34 __field(u32, dw) 40 __entry->dw = p->chunk_ib->length_dw; 45 __entry->ring, __entry->dw,
|