/drivers/dma/ |
D | tegra20-apb-dma.c | 177 typedef void (*dma_isr_handler)(struct tegra_dma_channel *tdc, 241 static inline void tdc_write(struct tegra_dma_channel *tdc, in tdc_write() argument 244 writel(val, tdc->chan_addr + reg); in tdc_write() 247 static inline u32 tdc_read(struct tegra_dma_channel *tdc, u32 reg) in tdc_read() argument 249 return readl(tdc->chan_addr + reg); in tdc_read() 263 static inline struct device *tdc2dev(struct tegra_dma_channel *tdc) in tdc2dev() argument 265 return &tdc->dma_chan.dev->device; in tdc2dev() 271 static struct tegra_dma_desc *tegra_dma_desc_get(struct tegra_dma_channel *tdc) in tegra_dma_desc_get() argument 276 spin_lock_irqsave(&tdc->lock, flags); in tegra_dma_desc_get() 279 list_for_each_entry(dma_desc, &tdc->free_dma_desc, node) { in tegra_dma_desc_get() [all …]
|
D | tegra210-adma.c | 180 static inline void tdma_ch_write(struct tegra_adma_chan *tdc, u32 reg, u32 val) in tdma_ch_write() argument 182 writel(val, tdc->chan_addr + reg); in tdma_ch_write() 185 static inline u32 tdma_ch_read(struct tegra_adma_chan *tdc, u32 reg) in tdma_ch_read() argument 187 return readl(tdc->chan_addr + reg); in tdma_ch_read() 201 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev() argument 203 return tdc->tdma->dev; in tdc2dev() 214 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_slave_config() local 216 memcpy(&tdc->sconfig, sconfig, sizeof(*sconfig)); in tegra_adma_slave_config() 247 static int tegra_adma_request_alloc(struct tegra_adma_chan *tdc, in tegra_adma_request_alloc() argument 250 struct tegra_adma *tdma = tdc->tdma; in tegra_adma_request_alloc() [all …]
|
/drivers/net/can/dev/ |
D | bittiming.c | 182 struct can_tdc *tdc = &priv->tdc; in can_calc_tdco() local 196 tdc->tdco = min(sample_point_in_tq, tdc_const->tdco_max); in can_calc_tdco() 198 tdc->tdco = 0; in can_calc_tdco()
|
/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 105 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/ |
D | intel_ips.c | 1237 int tdp, tdc; in cpu_clamp_show() local 1242 tdc = (int)((turbo_override & TURBO_TDC_MASK) >> TURBO_TDC_SHIFT); in cpu_clamp_show() 1246 tdc = tdc * 10 / 8; in cpu_clamp_show() 1250 tdc / 10, tdc % 10); in cpu_clamp_show()
|
/drivers/net/can/usb/etas_es58x/ |
D | es58x_fd.c | 430 if (priv->can.tdc.tdco) { in es58x_fd_enable_channel() 432 tx_conf_msg.tdco = cpu_to_le16(priv->can.tdc.tdco); in es58x_fd_enable_channel() 433 tx_conf_msg.tdcf = cpu_to_le16(priv->can.tdc.tdcf); in es58x_fd_enable_channel()
|
/drivers/net/can/ifi_canfd/ |
D | ifi_canfd.c | 660 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/pm/inc/ |
D | amdgpu_dpm.h | 199 u16 tdc; member
|
/drivers/md/bcache/ |
D | super.c | 2679 struct cached_dev *dc, *tdc; in bch_pending_bdevs_cleanup() local 2684 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) { in bch_pending_bdevs_cleanup() 2729 struct cached_dev *dc, *tdc; in bcache_reboot() local 2769 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) in bcache_reboot()
|
/drivers/gpu/drm/radeon/ |
D | r600_dpm.c | 1283 rdev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in r600_parse_extended_power_table()
|
D | radeon.h | 1497 u16 tdc; member
|
D | ci_dpm.c | 314 tdc_limit = rdev->pm.dpm.dyn_state.cac_tdp_table->tdc * 256; in ci_populate_tdc_limit()
|
/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 696 adev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in amdgpu_parse_extended_power_table()
|