/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-v0-core.c | 28 static inline struct dw_edma_v0_regs __iomem *__dw_regs(struct dw_edma *dw) in __dw_regs() argument 33 #define SET_32(dw, name, value) \ argument 36 #define GET_32(dw, name) \ argument 39 SET_RW_32(dw,dir,name,value) global() argument 47 GET_RW_32(dw,dir,name) global() argument 52 SET_BOTH_32(dw,name,value) global() argument 58 SET_64(dw,name,value) global() argument 61 GET_64(dw,name) global() argument 64 SET_RW_64(dw,dir,name,value) global() argument 72 GET_RW_64(dw,dir,name) global() argument 77 SET_BOTH_64(dw,name,value) global() argument 83 SET_COMPAT(dw,name,value) global() argument 86 SET_RW_COMPAT(dw,dir,name,value) global() argument 95 __dw_ch_regs(struct dw_edma * dw,enum dw_edma_dir dir,u16 ch) __dw_ch_regs() argument 106 writel_ch(struct dw_edma * dw,enum dw_edma_dir dir,u16 ch,u32 value,void __iomem * addr) writel_ch() argument 129 readl_ch(struct dw_edma * dw,enum dw_edma_dir dir,u16 ch,const void __iomem * addr) readl_ch() argument 156 SET_CH_32(dw,dir,ch,name,value) global() argument 159 GET_CH_32(dw,dir,ch,name) global() argument 163 dw_edma_v0_core_off(struct dw_edma * dw) dw_edma_v0_core_off() argument 172 dw_edma_v0_core_ch_count(struct dw_edma * dw,enum dw_edma_dir dir) dw_edma_v0_core_ch_count() argument 191 struct dw_edma *dw = chan->dw; dw_edma_v0_core_ch_status() local 207 struct dw_edma *dw = chan->dw; dw_edma_v0_core_clear_done_int() local 215 struct dw_edma *dw = chan->dw; dw_edma_v0_core_clear_abort_int() local 221 dw_edma_v0_core_status_done_int(struct dw_edma * dw,enum dw_edma_dir dir) dw_edma_v0_core_status_done_int() argument 227 dw_edma_v0_core_status_abort_int(struct dw_edma * dw,enum dw_edma_dir dir) dw_edma_v0_core_status_abort_int() argument 237 struct dw_edma *dw = dw_irq->dw; dw_edma_v0_core_handle_int() local 366 struct dw_edma *dw = chan->dw; dw_edma_v0_core_start() local 439 struct dw_edma *dw = chan->dw; dw_edma_v0_core_ch_config() local 507 dw_edma_v0_core_debugfs_on(struct dw_edma * dw) dw_edma_v0_core_debugfs_on() argument 522 dw_edma_v0_core_register(struct dw_edma * dw) dw_edma_v0_core_register() argument [all...] |
H A D | dw-edma-v0-debugfs.c | 16 #define REGS_ADDR(dw, name) \ argument 23 #define REGS_CH_ADDR(dw, name, _dir, _ch) \ argument 37 REGISTER(dw,name) global() argument 40 CTX_REGISTER(dw,name,dir,ch) global() argument 43 WR_REGISTER(dw,name) global() argument 45 RD_REGISTER(dw,name) global() argument 48 WR_REGISTER_LEGACY(dw,name) global() argument 53 WR_REGISTER_UNROLL(dw,name) global() argument 55 RD_REGISTER_UNROLL(dw,name) global() argument 64 struct dw_edma *dw; global() member 74 struct dw_edma *dw = entry->dw; dw_edma_debugfs_u32_get() local 99 dw_edma_debugfs_create_x32(struct dw_edma * dw,const struct dw_edma_debugfs_entry ini[],int nr_entries,struct dentry * dent) dw_edma_debugfs_create_x32() argument 119 dw_edma_debugfs_regs_ch(struct dw_edma * dw,enum dw_edma_dir dir,u16 ch,struct dentry * dent) dw_edma_debugfs_regs_ch() argument 140 dw_edma_debugfs_regs_wr(struct dw_edma * dw,struct dentry * dent) dw_edma_debugfs_regs_wr() argument 201 dw_edma_debugfs_regs_rd(struct dw_edma * dw,struct dentry * dent) dw_edma_debugfs_regs_rd() argument 264 dw_edma_debugfs_regs(struct dw_edma * dw) dw_edma_debugfs_regs() argument 282 dw_edma_v0_debugfs_on(struct dw_edma * dw) dw_edma_v0_debugfs_on() argument [all...] |
H A D | dw-hdma-v0-core.c | 26 static inline struct dw_hdma_v0_regs __iomem *__dw_regs(struct dw_edma *dw) in __dw_regs() argument 32 __dw_ch_regs(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch) in __dw_ch_regs() argument 40 #define SET_CH_32(dw, di argument 43 GET_CH_32(dw,dir,ch,name) global() argument 46 SET_BOTH_CH_32(dw,ch,name,value) global() argument 53 dw_hdma_v0_core_off(struct dw_edma * dw) dw_hdma_v0_core_off() argument 66 dw_hdma_v0_core_ch_count(struct dw_edma * dw,enum dw_edma_dir dir) dw_hdma_v0_core_ch_count() argument 78 struct dw_edma *dw = chan->dw; dw_hdma_v0_core_ch_status() local 94 struct dw_edma *dw = chan->dw; dw_hdma_v0_core_clear_done_int() local 101 struct dw_edma *dw = chan->dw; dw_hdma_v0_core_clear_abort_int() local 108 struct dw_edma *dw = chan->dw; dw_hdma_v0_core_status_int() local 117 struct dw_edma *dw = dw_irq->dw; dw_hdma_v0_core_handle_int() local 231 struct dw_edma *dw = chan->dw; dw_hdma_v0_core_start() local 268 struct dw_edma *dw = chan->dw; dw_hdma_v0_core_ch_config() local 281 dw_hdma_v0_core_debugfs_on(struct dw_edma * dw) dw_hdma_v0_core_debugfs_on() argument 296 dw_hdma_v0_core_register(struct dw_edma * dw) dw_hdma_v0_core_register() argument [all...] |
H A D | dw-hdma-v0-debugfs.c | 16 #define REGS_ADDR(dw, name) \ argument 23 #define REGS_CH_ADDR(dw, name, _dir, _ch) \ argument 35 #define CTX_REGISTER(dw, name, dir, ch) \ argument 59 dw_hdma_debugfs_create_x32(struct dw_edma * dw,const struct dw_hdma_debugfs_entry ini[],int nr_entries,struct dentry * dent) dw_hdma_debugfs_create_x32() argument 79 dw_hdma_debugfs_regs_ch(struct dw_edma * dw,enum dw_edma_dir dir,u16 ch,struct dentry * dent) dw_hdma_debugfs_regs_ch() argument 116 dw_hdma_debugfs_regs_wr(struct dw_edma * dw,struct dentry * dent) dw_hdma_debugfs_regs_wr() argument 133 dw_hdma_debugfs_regs_rd(struct dw_edma * dw,struct dentry * dent) dw_hdma_debugfs_regs_rd() argument 150 dw_hdma_debugfs_regs(struct dw_edma * dw) dw_hdma_debugfs_regs() argument 160 dw_hdma_v0_debugfs_on(struct dw_edma * dw) dw_hdma_v0_debugfs_on() argument [all...] |
H A D | dw-edma-core.h | 76 struct dw_edma *dw; member 95 struct dw_edma *dw; member 167 void dw_edma_core_off(struct dw_edma *dw) in dw_edma_core_off() argument 173 u16 dw_edma_core_ch_count(struct dw_edma *dw, enum dw_edma_dir dir) in dw_edma_core_ch_count() argument 192 dw_edma_core_start(struct dw_edma * dw,struct dw_edma_chunk * chunk,bool first) dw_edma_core_start() argument 204 dw_edma_core_debugfs_on(struct dw_edma * dw) dw_edma_core_debugfs_on() argument [all...] |
H A D | dw-edma-core.c | 176 struct dw_edma *dw = chan->dw; in dw_edma_start_transfer() local 699 dw_edma_channel_setup(struct dw_edma * dw,u32 wr_alloc,u32 rd_alloc) dw_edma_channel_setup() argument 820 dw_edma_irq_request(struct dw_edma * dw,u32 * wr_alloc,u32 * rd_alloc) dw_edma_irq_request() argument 898 struct dw_edma *dw; dw_edma_probe() local 978 struct dw_edma *dw = chip->dw; dw_edma_remove() local [all...] |
H A D | dw-edma-v0-debugfs.h | 17 static inline void dw_edma_v0_debugfs_on(struct dw_edma *dw) in dw_edma_v0_debugfs_on() argument
|
H A D | dw-hdma-v0-debugfs.h | 17 static inline void dw_hdma_v0_debugfs_on(struct dw_edma *dw) in dw_hdma_v0_debugfs_on() argument
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_ring_ops.c | 54 u32 *dw, int i) in emit_aux_table_inv() argument 64 static int emit_user_interrupt(u32 *dw, int i) in emit_user_interrupt() argument 73 static int emit_store_imm_ggtt(u32 addr, u32 value, u32 *dw, in argument 83 emit_flush_dw(u32 * dw,int i) emit_flush_dw() argument 93 emit_flush_imm_ggtt(u32 addr,u32 value,u32 flags,u32 * dw,int i) emit_flush_imm_ggtt() argument 104 emit_bb_start(u64 batch_addr,u32 ppgtt_flag,u32 * dw,int i) emit_bb_start() argument 113 emit_flush_invalidate(u32 addr,u32 val,u32 * dw,int i) emit_flush_invalidate() argument 126 emit_pipe_control(u32 * dw,int i,u32 bit_group_0,u32 bit_group_1,u32 offset,u32 value) emit_pipe_control() argument 138 emit_pipe_invalidate(u32 mask_flags,bool invalidate_tlb,u32 * dw,int i) emit_pipe_invalidate() argument 165 emit_store_imm_ppgtt_posted(u64 addr,u64 value,u32 * dw,int i) emit_store_imm_ppgtt_posted() argument 176 emit_render_cache_flush(struct xe_sched_job * job,u32 * dw,int i) emit_render_cache_flush() argument 204 emit_pipe_control_to_ring_end(struct xe_hw_engine * hwe,u32 * dw,int i) emit_pipe_control_to_ring_end() argument 216 emit_pipe_imm_ggtt(u32 addr,u32 value,bool stall_only,u32 * dw,int i) emit_pipe_imm_ggtt() argument 236 emit_copy_timestamp(struct xe_lrc * lrc,u32 * dw,int i) emit_copy_timestamp() argument 250 u32 dw[MAX_JOB_SIZE_DW], i = 0; __emit_job_gen12_simple() local 301 u32 dw[MAX_JOB_SIZE_DW], i = 0; __emit_job_gen12_video() local 351 u32 dw[MAX_JOB_SIZE_DW], i = 0; __emit_job_gen12_render_compute() local 402 u32 dw[MAX_JOB_SIZE_DW], i = 0; emit_migration_job_gen12() local [all...] |
/linux/drivers/dma/dw/ |
H A D | core.c | 80 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_desc_get() local 99 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_desc_put() local 117 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_initialize() local 139 static inline void dwc_chan_disable(struct dw_dma *dw, struc argument 152 struct dw_dma *dw = to_dw_dma(dwc->chan.device); dwc_do_single_block() local 174 struct dw_dma *dw = to_dw_dma(dwc->chan.device); dwc_dostart() local 260 dwc_complete_all(struct dw_dma * dw,struct dw_dma_chan * dwc) dwc_complete_all() argument 291 struct dw_dma *dw = to_dw_dma(dwc->chan.device); dwc_get_sent() local 298 dwc_scan_descriptors(struct dw_dma * dw,struct dw_dma_chan * dwc) dwc_scan_descriptors() argument 421 dwc_handle_error(struct dw_dma * dw,struct dw_dma_chan * dwc) dwc_handle_error() argument 466 struct dw_dma *dw = from_tasklet(dw, t, tasklet); dw_dma_tasklet() local 494 struct dw_dma *dw = dev_id; dw_dma_interrupt() local 542 struct dw_dma *dw = to_dw_dma(chan->device); dwc_prep_dma_memcpy() local 620 struct dw_dma *dw = to_dw_dma(chan->device); dwc_prep_slave_sg() local 802 struct dw_dma *dw = to_dw_dma(chan->device); dwc_verify_p_buswidth() local 834 struct dw_dma *dw = to_dw_dma(chan->device); dwc_verify_m_buswidth() local 890 struct dw_dma *dw = to_dw_dma(dwc->chan.device); dwc_chan_pause() local 915 struct dw_dma *dw = to_dw_dma(dwc->chan.device); dwc_chan_resume() local 940 struct dw_dma *dw = to_dw_dma(chan->device); dwc_terminate_all() local 1042 do_dw_dma_off(struct dw_dma * dw) do_dw_dma_off() argument 1056 do_dw_dma_on(struct dw_dma * dw) do_dw_dma_on() argument 1064 struct dw_dma *dw = to_dw_dma(chan->device); dwc_alloc_chan_resources() local 1101 struct dw_dma *dw = to_dw_dma(chan->device); dwc_free_chan_resources() local 1153 struct dw_dma *dw = chip->dw; do_dma_probe() local 1364 struct dw_dma *dw = chip->dw; do_dma_remove() local 1387 struct dw_dma *dw = chip->dw; do_dw_dma_disable() local 1396 struct dw_dma *dw = chip->dw; do_dw_dma_enable() local [all...] |
H A D | dw.c | 16 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dw_dma_initialize_chan() local 100 static void dw_dma_set_device_name(struct dw_dma *dw, int id) in dw_dma_set_device_name() argument 105 static void dw_dma_disable(struct dw_dma *dw) in dw_dma_disable() argument 110 static void dw_dma_enable(struct dw_dma *dw) in dw_dma_enable() argument 117 struct dw_dma *dw; dw_dma_probe() local [all...] |
H A D | internal.h | 30 static inline void dw_dma_acpi_controller_register(struct dw_dma *dw) {} in dw_dma_acpi_controller_register() argument 31 static inline void dw_dma_acpi_controller_free(struct dw_dma *dw) {} in dw_dma_acpi_controller_free() argument 45 static inline void dw_dma_of_controller_register(struct dw_dma *dw) {} in dw_dma_of_controller_register() argument 46 dw_dma_of_controller_free(struct dw_dma * dw) dw_dma_of_controller_free() argument [all...] |
H A D | idma32.c | 48 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in idma32_initialize_chan_xbar() local 221 static void idma32_set_device_name(struct dw_dma *dw, int id) in idma32_set_device_name() argument 232 static void idma32_fifo_partition(struct dw_dma *dw) in idma32_fifo_partition() argument 249 static void idma32_disable(struct dw_dma *dw) in idma32_disable() argument 255 idma32_enable(struct dw_dma * dw) idma32_enable() argument 263 struct dw_dma *dw; idma32_dma_probe() local [all...] |
H A D | acpi.c | 11 struct dw_dma *dw = to_dw_dma(chan->device); in dw_dma_acpi_filter() local 25 void dw_dma_acpi_controller_register(struct dw_dma *dw) in dw_dma_acpi_controller_register() argument 48 void dw_dma_acpi_controller_free(struct dw_dma *dw) in dw_dma_acpi_controller_free() argument
|
H A D | of.c | 19 struct dw_dma *dw = ofdma->of_dma_data; in dw_dma_of_xlate() local 101 void dw_dma_of_controller_register(struct dw_dma *dw) in dw_dma_of_controller_register() argument 114 void dw_dma_of_controller_free(struct dw_dma *dw) in dw_dma_of_controller_free() argument [all...] |
H A D | regs.h | 343 static inline struct dw_dma_regs __iomem *__dw_regs(struct dw_dma *dw) in __dw_regs() argument 348 #define dma_readl(dw, name) \ argument 350 #define dma_writel(dw, name, val) \ argument 353 #define idma32_readq(dw, nam argument 355 idma32_writeq(dw,name,val) global() argument 358 channel_set_bit(dw,reg,mask) global() argument 360 channel_clear_bit(dw,reg,mask) global() argument [all...] |
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-rcar-gen4.c | 81 struct dw_pcie dw; member 90 static bool rcar_gen4_pcie_link_up(struct dw_pcie *dw) in rcar_gen4_pcie_link_up() argument 105 static int rcar_gen4_pcie_speed_change(struct dw_pcie *dw) in rcar_gen4_pcie_speed_change() argument 132 rcar_gen4_pcie_start_link(struct dw_pcie * dw) rcar_gen4_pcie_start_link() argument 165 rcar_gen4_pcie_stop_link(struct dw_pcie * dw) rcar_gen4_pcie_stop_link() argument 175 struct dw_pcie *dw = &rcar->dw; rcar_gen4_pcie_common_init() local 220 struct dw_pcie *dw = &rcar->dw; rcar_gen4_pcie_common_deinit() local 289 struct dw_pcie *dw = to_dw_pcie_from_pp(pp); rcar_gen4_pcie_host_init() local 323 struct dw_pcie *dw = to_dw_pcie_from_pp(pp); rcar_gen4_pcie_host_deinit() local 356 struct dw_pcie *dw = to_dw_pcie_from_ep(ep); rcar_gen4_pcie_ep_pre_init() local 385 struct dw_pcie *dw = to_dw_pcie_from_ep(ep); rcar_gen4_pcie_ep_raise_irq() local 565 struct dw_pcie *dw = &rcar->dw; rcar_gen4_pcie_additional_common_init() local 599 struct dw_pcie *dw = &rcar->dw; rcar_gen4_pcie_reg_test_bit() local 616 struct dw_pcie *dw = &rcar->dw; rcar_gen4_pcie_download_phy_firmware() local 671 struct dw_pcie *dw = &rcar->dw; rcar_gen4_pcie_ltssm_control() local [all...] |
/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-ahb-audio.c | 154 static void dw_hdmi_reformat_iec958(struct snd_dw_hdmi *dw, in dw_hdmi_reformat_iec958() argument 182 static void dw_hdmi_reformat_s24(struct snd_dw_hdmi *dw, in dw_hdmi_reformat_s24() argument 210 dw_hdmi_create_cs(struct snd_dw_hdmi * dw,struct snd_pcm_runtime * runtime) dw_hdmi_create_cs() argument 234 dw_hdmi_start_dma(struct snd_dw_hdmi * dw) dw_hdmi_start_dma() argument 263 dw_hdmi_stop_dma(struct snd_dw_hdmi * dw) dw_hdmi_stop_dma() argument 272 struct snd_dw_hdmi *dw = data; snd_dw_hdmi_irq() local 322 struct snd_dw_hdmi *dw = substream->private_data; dw_hdmi_open() local 379 struct snd_dw_hdmi *dw = substream->private_data; dw_hdmi_close() local 427 struct snd_dw_hdmi *dw = substream->private_data; dw_hdmi_prepare() local 488 struct snd_dw_hdmi *dw = substream->private_data; dw_hdmi_trigger() local 522 struct snd_dw_hdmi *dw = substream->private_data; dw_hdmi_pointer() local 547 struct snd_dw_hdmi *dw; snd_dw_hdmi_probe() local 611 struct snd_dw_hdmi *dw = platform_get_drvdata(pdev); snd_dw_hdmi_remove() local 623 struct snd_dw_hdmi *dw = dev_get_drvdata(dev); snd_dw_hdmi_suspend() local 632 struct snd_dw_hdmi *dw = dev_get_drvdata(dev); snd_dw_hdmi_resume() local [all...] |
H A D | dw-hdmi-gp-audio.c | 79 struct snd_dw_hdmi *dw = dev_get_drvdata(dev); in audio_hw_params() local 103 struct snd_dw_hdmi *dw in audio_mute_stream() local 133 struct snd_dw_hdmi *dw = dev_get_drvdata(dev); audio_hook_plugged_cb() local 149 struct snd_dw_hdmi *dw; snd_dw_hdmi_probe() local 177 struct snd_dw_hdmi *dw = platform_get_drvdata(pdev); snd_dw_hdmi_remove() local [all...] |
/linux/drivers/misc/ |
H A D | dw-xdata-pcie.c | 73 static inline struct dw_xdata_regs __iomem *__dw_regs(struct dw_xdata *dw) in __dw_regs() argument 78 static void dw_xdata_stop(struct dw_xdata *dw) in dw_xdata_stop() argument 94 static void dw_xdata_start(struct dw_xdata *dw, bool write) in dw_xdata_start() argument 138 dw_xdata_perf_meas(struct dw_xdata * dw,u64 * data,bool write) dw_xdata_perf_meas() argument 162 dw_xdata_perf(struct dw_xdata * dw,u64 * rate,bool write) dw_xdata_perf() argument 210 struct dw_xdata *dw = misc_dev_to_dw(misc_dev); write_show() local 222 struct dw_xdata *dw = misc_dev_to_dw(misc_dev); write_store() local 247 struct dw_xdata *dw = misc_dev_to_dw(misc_dev); read_show() local 259 struct dw_xdata *dw = misc_dev_to_dw(misc_dev); read_store() local 292 struct dw_xdata *dw; dw_xdata_pcie_probe() local 387 struct dw_xdata *dw = pci_get_drvdata(pdev); dw_xdata_pcie_remove() local [all...] |
/linux/drivers/gpu/drm/i915/display/ |
H A D | vlv_dpio_phy_regs.h | 11 #define _VLV_CMN(dw) (0x8100 + (dw) * 4) argument 12 #define _CHV_CMN(cl, dw) (0x8100 - (cl) * 0x80 + (dw) * 4) argument 13 #define _VLV_PLL(ch, dw) (0x8000 + (ch) * 0x20 + (dw) * 4) /* dw 0-7,16-23 */ argument 14 #define _CHV_PLL(ch, dw) (0x8000 + (ch) * 0x180 + (dw) * 4) argument 15 #define _VLV_REF(dw) ( argument 16 _VLV_PCS(ch,spline,dw) global() argument 17 _VLV_PCS_GRP(ch,dw) global() argument 18 _VLV_PCS_BCAST(dw) global() argument 19 _VLV_TX(ch,lane,dw) global() argument 20 _VLV_TX_GRP(ch,dw) global() argument 21 _VLV_TX_BCAST(dw) global() argument [all...] |
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | ptp.c | 76 #define dw_overflow_to_chip(dw) container_of(dw, struct mv88e6xxx_chip, \ argument 78 #define dw_tai_event_to_chip(dw) container_of(dw, struct mv88e6xxx_chip, \ argument 210 struct delayed_work *dw = to_delayed_work(ugly); in mv88e6352_tai_event_work() local 502 struct delayed_work *dw = to_delayed_work(work); in mv88e6xxx_ptp_overflow_check() local
|
/linux/drivers/gpio/ |
H A D | gpio-graniterapids.c | 80 u32 dw; in gnr_gpio_configure_line() local 98 u32 dw; in gnr_gpio_request() local 112 u32 dw; in gnr_gpio_get() local 135 u32 dw; gnr_gpio_get_direction() local [all...] |
/linux/drivers/edac/ |
H A D | i5100_edac.c | 476 u32 dw; in i5100_read_log() local 543 u32 dw, dw2; in i5100_check_error() local 571 u32 dw; i5100_refresh_scrubbing() local 595 u32 dw; i5100_set_scrub_rate() local 620 u32 dw; i5100_get_scrub_rate() local 793 u32 dw; i5100_init_interleaving() local 983 u32 dw; i5100_init_one() local [all...] |
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | mac.h | 15 static inline u32 mt7925_mac_wtbl_lmac_addr(struct mt792x_dev *dev, u16 wcid, u8 dw) in mt7925_mac_wtbl_lmac_addr() argument
|