Home
last modified time | relevance | path

Searched refs:tdc (Results 1 – 12 of 12) sorted by relevance

/drivers/dma/
Dtegra20-apb-dma.c183 typedef void (*dma_isr_handler)(struct tegra_dma_channel *tdc,
249 static inline void tdc_write(struct tegra_dma_channel *tdc, in tdc_write() argument
252 writel(val, tdc->chan_addr + reg); in tdc_write()
255 static inline u32 tdc_read(struct tegra_dma_channel *tdc, u32 reg) in tdc_read() argument
257 return readl(tdc->chan_addr + reg); in tdc_read()
271 static inline struct device *tdc2dev(struct tegra_dma_channel *tdc) in tdc2dev() argument
273 return &tdc->dma_chan.dev->device; in tdc2dev()
282 struct tegra_dma_channel *tdc) in tegra_dma_desc_get() argument
287 spin_lock_irqsave(&tdc->lock, flags); in tegra_dma_desc_get()
290 list_for_each_entry(dma_desc, &tdc->free_dma_desc, node) { in tegra_dma_desc_get()
[all …]
Dtegra210-adma.c167 static inline void tdma_ch_write(struct tegra_adma_chan *tdc, u32 reg, u32 val) in tdma_ch_write() argument
169 writel(val, tdc->chan_addr + reg); in tdma_ch_write()
172 static inline u32 tdma_ch_read(struct tegra_adma_chan *tdc, u32 reg) in tdma_ch_read() argument
174 return readl(tdc->chan_addr + reg); in tdma_ch_read()
188 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev() argument
190 return tdc->tdma->dev; in tdc2dev()
201 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_slave_config() local
203 memcpy(&tdc->sconfig, sconfig, sizeof(*sconfig)); in tegra_adma_slave_config()
232 static int tegra_adma_request_alloc(struct tegra_adma_chan *tdc, in tegra_adma_request_alloc() argument
235 struct tegra_adma *tdma = tdc->tdma; in tegra_adma_request_alloc()
[all …]
/drivers/infiniband/hw/qib/
Dqib_diag.c105 struct qib_diag_client *tdc, *rdc; in return_client() local
112 tdc = dc->dd->diag_client; in return_client()
113 while (tdc) { in return_client()
114 if (dc == tdc->next) { in return_client()
115 tdc->next = dc->next; in return_client()
119 tdc = tdc->next; in return_client()
/drivers/platform/x86/
Dintel_ips.c1260 int tdp, tdc; in show_cpu_clamp() local
1265 tdc = (int)((turbo_override & TURBO_TDC_MASK) >> TURBO_TDC_SHIFT); in show_cpu_clamp()
1269 tdc = tdc * 10 / 8; in show_cpu_clamp()
1273 tdc / 10, tdc % 10); in show_cpu_clamp()
/drivers/net/can/ifi_canfd/
Difi_canfd.c660 u16 brp, sjw, tseg1, tseg2, tdc; in ifi_canfd_set_bittiming() local
685 tdc = dbt->brp * (dbt->prop_seg + dbt->phase_seg1); in ifi_canfd_set_bittiming()
686 tdc &= IFI_CANFD_TDELAY_MASK; in ifi_canfd_set_bittiming()
687 writel(IFI_CANFD_TDELAY_EN | tdc, priv->base + IFI_CANFD_TDELAY); in ifi_canfd_set_bittiming()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dpm.h187 u16 tdc; member
Damdgpu_dpm.c726 adev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in amdgpu_parse_extended_power_table()
Dci_dpm.c460 tdc_limit = adev->pm.dpm.dyn_state.cac_tdp_table->tdc * 256; in ci_populate_tdc_limit()
/drivers/md/bcache/
Dsuper.c2068 struct cached_dev *dc, *tdc; in bcache_reboot() local
2081 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) in bcache_reboot()
/drivers/gpu/drm/radeon/
Dr600_dpm.c1284 rdev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in r600_parse_extended_power_table()
Dradeon.h1469 u16 tdc; member
Dci_dpm.c335 tdc_limit = rdev->pm.dpm.dyn_state.cac_tdp_table->tdc * 256; in ci_populate_tdc_limit()