/openbmc/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() 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 D | dw-edma-v0-debugfs.c | 16 #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 D | dw-hdma-v0-core.c | 26 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 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 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 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() 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 D | dw-edma-core.c | 187 struct dw_edma *dw = chan->dw; in dw_edma_start_transfer() local 710 static int dw_edma_channel_setup(struct dw_edma *dw, u32 wr_alloc, u32 rd_alloc) in dw_edma_channel_setup() 830 static int dw_edma_irq_request(struct dw_edma *dw, in dw_edma_irq_request() 908 struct dw_edma *dw; in dw_edma_probe() local 988 struct dw_edma *dw = chip->dw; in dw_edma_remove() local
|
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()
|
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()
|
/openbmc/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, 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 D | internal.h | 30 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 D | dw.c | 16 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in dw_dma_initialize_chan() local 91 static void dw_dma_set_device_name(struct dw_dma *dw, int id) in dw_dma_set_device_name() 96 static void dw_dma_disable(struct dw_dma *dw) in dw_dma_disable() 101 static void dw_dma_enable(struct dw_dma *dw) in dw_dma_enable() 108 struct dw_dma *dw; in dw_dma_probe() local
|
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() 48 void dw_dma_acpi_controller_free(struct dw_dma *dw) in dw_dma_acpi_controller_free()
|
H A D | idma32.c | 48 struct dw_dma *dw = to_dw_dma(dwc->chan.device); in idma32_initialize_chan_xbar() local 217 static void idma32_set_device_name(struct dw_dma *dw, int id) in idma32_set_device_name() 228 static void idma32_fifo_partition(struct dw_dma *dw) in idma32_fifo_partition() 245 static void idma32_disable(struct dw_dma *dw) in idma32_disable() 251 static void idma32_enable(struct dw_dma *dw) in idma32_enable() 259 struct dw_dma *dw; in idma32_dma_probe() local
|
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() 114 void dw_dma_of_controller_free(struct dw_dma *dw) in dw_dma_of_controller_free()
|
H A D | regs.h | 344 static inline struct dw_dma_regs __iomem *__dw_regs(struct dw_dma *dw) in __dw_regs() 349 #define dma_readl(dw, name) \ argument 351 #define dma_writel(dw, name, val) \ argument 354 #define idma32_readq(dw, name) \ argument 356 #define idma32_writeq(dw, name, val) \ argument 359 #define channel_set_bit(dw, reg, mask) \ argument 361 #define channel_clear_bit(dw, reg, mask) \ argument
|
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-ahb-audio.c | 153 static void dw_hdmi_reformat_iec958(struct snd_dw_hdmi *dw, in dw_hdmi_reformat_iec958() 181 static void dw_hdmi_reformat_s24(struct snd_dw_hdmi *dw, in dw_hdmi_reformat_s24() 209 static void dw_hdmi_create_cs(struct snd_dw_hdmi *dw, in dw_hdmi_create_cs() 233 static void dw_hdmi_start_dma(struct snd_dw_hdmi *dw) in dw_hdmi_start_dma() 262 static void dw_hdmi_stop_dma(struct snd_dw_hdmi *dw) in dw_hdmi_stop_dma() 271 struct snd_dw_hdmi *dw = data; in snd_dw_hdmi_irq() local 321 struct snd_dw_hdmi *dw = substream->private_data; in dw_hdmi_open() local 378 struct snd_dw_hdmi *dw = substream->private_data; in dw_hdmi_close() local 405 struct snd_dw_hdmi *dw = substream->private_data; in dw_hdmi_prepare() local 466 struct snd_dw_hdmi *dw = substream->private_data; in dw_hdmi_trigger() 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 = 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
|
/openbmc/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() 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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_combo_phy_regs.h | 24 #define _ICL_PORT_CL_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 53 #define _ICL_PORT_COMP_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 84 #define _ICL_PORT_PCS_DW_AUX(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 86 #define _ICL_PORT_PCS_DW_GRP(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 88 #define _ICL_PORT_PCS_DW_LN(dw, ln, phy) (_ICL_COMBOPHY(phy) + \ argument 104 #define _ICL_PORT_TX_DW_AUX(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 106 #define _ICL_PORT_TX_DW_GRP(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 108 #define _ICL_PORT_TX_DW_LN(dw, ln, phy) (_ICL_COMBOPHY(phy) + \ argument
|
/openbmc/linux/drivers/i3c/master/ |
H A D | ast2600-i3c-master.c | 42 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()
|
/openbmc/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 505 struct delayed_work *dw = to_delayed_work(work); in mv88e6xxx_ptp_overflow_check() local
|
/openbmc/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; 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
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_lrc.c | 176 int dw; in live_lrc_layout() local 383 int dw = find_offset(hw, t->reg); in live_lrc_fixed() local 967 u32 dw, x, *cs, *hw; in store_context() local 1138 u32 dw, *cs, *hw; in load_context() local 1267 u32 x, dw, *hw, *lrc; in compare_isolation() local
|
/openbmc/linux/drivers/scsi/be2iscsi/ |
H A D | be.h | 167 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
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | exp_rcv.h | 60 #define KDETH_SET(dw, field, val) do { \ argument 68 #define KDETH_RESET(dw, field, val) ({ dw = 0; KDETH_SET(dw, field, val); }) argument
|