Home
last modified time | relevance | path

Searched defs:dw (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/dma/dw-edma/
H A Ddw-edma-v0-core.c28 static inline struct dw_edma_v0_regs __iomem *__dw_regs(struct dw_edma *dw) in __dw_regs()
33 #define SET_32(dw, name, value) \ argument
36 #define GET_32(dw, name) \ argument
39 #define SET_RW_32(dw, dir, name, value) \ argument
47 #define GET_RW_32(dw, dir, name) \ argument
52 #define SET_BOTH_32(dw, name, value) \ argument
58 #define SET_64(dw, name, value) \ argument
61 #define GET_64(dw, name) \ argument
64 #define SET_RW_64(dw, dir, name, value) \ argument
72 #define GET_RW_64(dw, dir, name) \ argument
[all …]
H A Ddw-edma-v0-debugfs.c16 #define REGS_ADDR(dw, name) \ argument
23 #define REGS_CH_ADDR(dw, name, _dir, _ch) \ argument
37 #define REGISTER(dw, name) \ argument
40 #define CTX_REGISTER(dw, name, dir, ch) \ argument
43 #define WR_REGISTER(dw, name) \ argument
45 #define RD_REGISTER(dw, name) \ argument
48 #define WR_REGISTER_LEGACY(dw, name) \ argument
53 #define WR_REGISTER_UNROLL(dw, name) \ argument
55 #define RD_REGISTER_UNROLL(dw, name) \ argument
64 struct dw_edma *dw; member
[all …]
H A Ddw-hdma-v0-core.c26 static inline struct dw_hdma_v0_regs __iomem *__dw_regs(struct dw_edma *dw) in __dw_regs()
32 __dw_ch_regs(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch) in __dw_ch_regs()
40 #define SET_CH_32(dw, dir, ch, name, value) \ argument
43 #define GET_CH_32(dw, dir, ch, name) \ argument
46 #define SET_BOTH_CH_32(dw, ch, name, value) \ argument
53 static void dw_hdma_v0_core_off(struct dw_edma *dw) in dw_hdma_v0_core_off()
66 static u16 dw_hdma_v0_core_ch_count(struct dw_edma *dw, enum dw_edma_dir dir) in dw_hdma_v0_core_ch_count()
78 struct dw_edma *dw = chan->dw; in dw_hdma_v0_core_ch_status() local
94 struct dw_edma *dw = chan->dw; in dw_hdma_v0_core_clear_done_int() local
101 struct dw_edma *dw = chan->dw; in dw_hdma_v0_core_clear_abort_int() local
[all …]
H A Ddw-hdma-v0-debugfs.c16 #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 static void dw_hdma_debugfs_create_x32(struct dw_edma *dw, in dw_hdma_debugfs_create_x32()
79 static void dw_hdma_debugfs_regs_ch(struct dw_edma *dw, enum dw_edma_dir dir, in dw_hdma_debugfs_regs_ch()
116 static void dw_hdma_debugfs_regs_wr(struct dw_edma *dw, struct dentry *dent) in dw_hdma_debugfs_regs_wr()
133 static void dw_hdma_debugfs_regs_rd(struct dw_edma *dw, struct dentry *dent) in dw_hdma_debugfs_regs_rd()
150 static void dw_hdma_debugfs_regs(struct dw_edma *dw) in dw_hdma_debugfs_regs()
160 void dw_hdma_v0_debugfs_on(struct dw_edma *dw) in dw_hdma_v0_debugfs_on()
H A Ddw-edma-core.h76 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()
173 u16 dw_edma_core_ch_count(struct dw_edma *dw, enum dw_edma_dir dir) in dw_edma_core_ch_count()
192 void dw_edma_core_start(struct dw_edma *dw, struct dw_edma_chunk *chunk, bool first) in dw_edma_core_start()
204 void dw_edma_core_debugfs_on(struct dw_edma *dw) in dw_edma_core_debugfs_on()
H A Ddw-edma-core.c176 struct dw_edma *dw = chan->dw; in dw_edma_start_transfer() local
699 static int dw_edma_channel_setup(struct dw_edma *dw, u32 wr_alloc, u32 rd_alloc) in dw_edma_channel_setup()
820 static int dw_edma_irq_request(struct dw_edma *dw, in dw_edma_irq_request()
898 struct dw_edma *dw; in dw_edma_probe() local
978 struct dw_edma *dw = chip->dw; in dw_edma_remove() local
H A Ddw-hdma-v0-debugfs.h17 static inline void dw_hdma_v0_debugfs_on(struct dw_edma *dw) in dw_hdma_v0_debugfs_on()
H A Ddw-edma-v0-debugfs.h17 static inline void dw_edma_v0_debugfs_on(struct dw_edma *dw) in dw_edma_v0_debugfs_on()
/linux/drivers/dma/dw/
H A Dcore.c80 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, struct dw_dma_chan *dwc) in dwc_chan_disable()
152 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_do_single_block() local
174 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_dostart() local
260 static void dwc_complete_all(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_complete_all()
291 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dwc_get_sent() local
298 static void dwc_scan_descriptors(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_scan_descriptors()
421 static void dwc_handle_error(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_handle_error()
[all …]
H A Ddw.c16 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()
105 static void dw_dma_disable(struct dw_dma *dw) in dw_dma_disable()
110 static void dw_dma_enable(struct dw_dma *dw) in dw_dma_enable()
117 struct dw_dma *dw; in dw_dma_probe() local
H A Dinternal.h30 static inline void dw_dma_acpi_controller_register(struct dw_dma *dw) {} in dw_dma_acpi_controller_register()
31 static inline void dw_dma_acpi_controller_free(struct dw_dma *dw) {} in dw_dma_acpi_controller_free()
45 static inline void dw_dma_of_controller_register(struct dw_dma *dw) {} in dw_dma_of_controller_register()
46 static inline void dw_dma_of_controller_free(struct dw_dma *dw) {} in dw_dma_of_controller_free()
H A Didma32.c48 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()
232 static void idma32_fifo_partition(struct dw_dma *dw) in idma32_fifo_partition()
249 static void idma32_disable(struct dw_dma *dw) in idma32_disable()
255 static void idma32_enable(struct dw_dma *dw) in idma32_enable()
263 struct dw_dma *dw; in idma32_dma_probe() local
H A Dacpi.c11 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()
48 void dw_dma_acpi_controller_free(struct dw_dma *dw) in dw_dma_acpi_controller_free()
H A Dof.c19 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()
114 void dw_dma_of_controller_free(struct dw_dma *dw) in dw_dma_of_controller_free()
H A Dregs.h343 static inline struct dw_dma_regs __iomem *__dw_regs(struct dw_dma *dw) in __dw_regs()
348 #define dma_readl(dw, name) \ argument
350 #define dma_writel(dw, name, val) \ argument
353 #define idma32_readq(dw, name) \ argument
355 #define idma32_writeq(dw, name, val) \ argument
358 #define channel_set_bit(dw, reg, mask) \ argument
360 #define channel_clear_bit(dw, reg, mask) \ argument
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-ahb-audio.c154 static void dw_hdmi_reformat_iec958(struct snd_dw_hdmi *dw, in dw_hdmi_reformat_iec958()
182 static void dw_hdmi_reformat_s24(struct snd_dw_hdmi *dw, in dw_hdmi_reformat_s24()
210 static void dw_hdmi_create_cs(struct snd_dw_hdmi *dw, in dw_hdmi_create_cs()
234 static void dw_hdmi_start_dma(struct snd_dw_hdmi *dw) in dw_hdmi_start_dma()
263 static void dw_hdmi_stop_dma(struct snd_dw_hdmi *dw) in dw_hdmi_stop_dma()
272 struct snd_dw_hdmi *dw = data; in snd_dw_hdmi_irq() local
322 struct snd_dw_hdmi *dw = substream->private_data; in dw_hdmi_open() local
379 struct snd_dw_hdmi *dw = substream->private_data; in dw_hdmi_close() local
427 struct snd_dw_hdmi *dw = substream->private_data; in dw_hdmi_prepare() local
488 struct snd_dw_hdmi *dw = substream->private_data; in dw_hdmi_trigger() local
[all …]
H A Ddw-hdmi-gp-audio.c79 struct snd_dw_hdmi *dw = dev_get_drvdata(dev); in audio_hw_params() local
103 struct snd_dw_hdmi *dw = dev_get_drvdata(dev); in audio_mute_stream() local
133 struct snd_dw_hdmi *dw = dev_get_drvdata(dev); in audio_hook_plugged_cb() local
149 struct snd_dw_hdmi *dw; in snd_dw_hdmi_probe() local
177 struct snd_dw_hdmi *dw = platform_get_drvdata(pdev); in snd_dw_hdmi_remove() local
/linux/drivers/pci/controller/dwc/
H A Dpcie-rcar-gen4.c81 struct dw_pcie dw; member
90 static bool rcar_gen4_pcie_link_up(struct dw_pcie *dw) in rcar_gen4_pcie_link_up()
105 static int rcar_gen4_pcie_speed_change(struct dw_pcie *dw) in rcar_gen4_pcie_speed_change()
132 static int rcar_gen4_pcie_start_link(struct dw_pcie *dw) in rcar_gen4_pcie_start_link()
165 static void rcar_gen4_pcie_stop_link(struct dw_pcie *dw) in rcar_gen4_pcie_stop_link()
175 struct dw_pcie *dw = &rcar->dw; in rcar_gen4_pcie_common_init() local
220 struct dw_pcie *dw = &rcar->dw; in rcar_gen4_pcie_common_deinit() local
289 struct dw_pcie *dw = to_dw_pcie_from_pp(pp); in rcar_gen4_pcie_host_init() local
323 struct dw_pcie *dw = to_dw_pcie_from_pp(pp); in rcar_gen4_pcie_host_deinit() local
356 struct dw_pcie *dw = to_dw_pcie_from_ep(ep); in rcar_gen4_pcie_ep_pre_init() local
[all …]
/linux/drivers/misc/
H A Ddw-xdata-pcie.c73 static inline struct dw_xdata_regs __iomem *__dw_regs(struct dw_xdata *dw) in __dw_regs()
78 static void dw_xdata_stop(struct dw_xdata *dw) in dw_xdata_stop()
94 static void dw_xdata_start(struct dw_xdata *dw, bool write) in dw_xdata_start()
138 static void dw_xdata_perf_meas(struct dw_xdata *dw, u64 *data, bool write) in dw_xdata_perf_meas()
162 static void dw_xdata_perf(struct dw_xdata *dw, u64 *rate, bool write) in dw_xdata_perf()
210 struct dw_xdata *dw = misc_dev_to_dw(misc_dev); in write_show() local
222 struct dw_xdata *dw = misc_dev_to_dw(misc_dev); in write_store() local
247 struct dw_xdata *dw = misc_dev_to_dw(misc_dev); in read_show() local
259 struct dw_xdata *dw = misc_dev_to_dw(misc_dev); in read_store() local
292 struct dw_xdata *dw; in dw_xdata_pcie_probe() local
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dvlv_dpio_phy_regs.h11 #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) (0x80a0 + ((dw) - 8) * 4) /* dw 8-15 */ argument
16 #define _VLV_PCS(ch, spline, dw) (0x200 + (ch) * 0x2400 + (spline) * 0x200 + (dw) * 4) argument
17 #define _VLV_PCS_GRP(ch, dw) (0x8200 + (ch) * 0x200 + (dw) * 4) argument
18 #define _VLV_PCS_BCAST(dw) (0xc000 + (dw) * 4) argument
19 #define _VLV_TX(ch, lane, dw) (0x80 + (ch) * 0x2400 + (lane) * 0x200 + (dw) * 4) argument
20 #define _VLV_TX_GRP(ch, dw) (0x8280 + (ch) * 0x200 + (dw) * 4) argument
[all …]
/linux/drivers/i3c/master/
H A Dast2600-i3c-master.c42 struct dw_i3c_master dw; member
48 static struct ast2600_i3c *to_ast2600_i3c(struct dw_i3c_master *dw) in to_ast2600_i3c()
77 static int ast2600_i3c_init(struct dw_i3c_master *dw) in ast2600_i3c_init()
/linux/drivers/gpio/
H A Dgpio-graniterapids.c80 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; in gnr_gpio_get_direction() local
/linux/drivers/edac/
H A Di5100_edac.c476 u32 dw; in i5100_read_log() local
543 u32 dw, dw2; in i5100_check_error() local
571 u32 dw; in i5100_refresh_scrubbing() local
595 u32 dw; in i5100_set_scrub_rate() local
620 u32 dw; in i5100_get_scrub_rate() local
793 u32 dw; in i5100_init_interleaving() local
983 u32 dw; in i5100_init_one() local
/linux/drivers/scsi/be2iscsi/
H A Dbe.h167 u32 *dw = (u32 *) ptr + dw_offset; in amap_set() local
181 u32 *dw = ptr; in amap_get() local
196 u32 *dw = wrb; in swap_dws() local
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.h15 static inline u32 mt7925_mac_wtbl_lmac_addr(struct mt792x_dev *dev, u16 wcid, u8 dw) in mt7925_mac_wtbl_lmac_addr()

1234