Home
last modified time | relevance | path

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

/linux/drivers/dma/
H A Dtegra20-apb-dma.c176 typedef void (*dma_isr_handler)(struct tegra_dma_channel *tdc,
235 static inline void tdc_write(struct tegra_dma_channel *tdc, in tdc_write() argument
238 writel(val, tdc->chan_addr + reg); in tdc_write()
241 static inline u32 tdc_read(struct tegra_dma_channel *tdc, u32 reg) in tdc_read() argument
243 return readl(tdc->chan_addr + reg); in tdc_read()
257 static inline struct device *tdc2dev(struct tegra_dma_channel *tdc) in tdc2dev() argument
259 return &tdc->dma_chan.dev->device; in tdc2dev()
265 static struct tegra_dma_desc *tegra_dma_desc_get(struct tegra_dma_channel *tdc) in tegra_dma_desc_get() argument
270 spin_lock_irqsave(&tdc->lock, flags); in tegra_dma_desc_get()
273 list_for_each_entry(dma_desc, &tdc->free_dma_desc, node) { in tegra_dma_desc_get()
[all …]
H A Dtegra186-gpc-dma.c184 int (*terminate)(struct tegra_dma_channel *tdc);
223 struct tegra_dma_channel *tdc; member
261 static inline void tdc_write(struct tegra_dma_channel *tdc, in tdc_write() argument
264 writel_relaxed(val, tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_write()
267 static inline u32 tdc_read(struct tegra_dma_channel *tdc, u32 reg) in tdc_read() argument
269 return readl_relaxed(tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_read()
282 static inline struct device *tdc2dev(struct tegra_dma_channel *tdc) in tdc2dev() argument
284 return tdc->vc.chan.device->dev; in tdc2dev()
287 static void tegra_dma_dump_chan_regs(struct tegra_dma_channel *tdc) in tegra_dma_dump_chan_regs() argument
289 dev_dbg(tdc2dev(tdc), "DMA Channel %d name %s register dump:\n", in tegra_dma_dump_chan_regs()
[all …]
H A Dtegra210-adma.c222 static inline void tdma_ch_write(struct tegra_adma_chan *tdc, u32 reg, u32 val) in tdma_ch_write() argument
224 writel(val, tdc->chan_addr + reg); in tdma_ch_write()
227 static inline u32 tdma_ch_read(struct tegra_adma_chan *tdc, u32 reg) in tdma_ch_read() argument
229 return readl(tdc->chan_addr + reg); in tdma_ch_read()
243 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev() argument
245 return tdc->tdma->dev; in tdc2dev()
256 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_slave_config() local
258 memcpy(&tdc->sconfig, sconfig, sizeof(*sconfig)); in tegra_adma_slave_config()
332 static int tegra_adma_request_alloc(struct tegra_adma_chan *tdc, in tegra_adma_request_alloc() argument
335 struct tegra_adma *tdma = tdc->tdma; in tegra_adma_request_alloc()
[all …]
/linux/tools/testing/selftests/tc-testing/
H A DREADME1 tdc - Linux Traffic Control (tc) unit testing suite
5 tdc is a Python script to load tc unit tests from a separate JSON file and
19 * The kernel must have the appropriate infrastructure enabled to run all tdc
25 ./tdc.py -c
28 In the current release, tdc run will abort due to a failure in setup or
43 using the -p option when running tdc:
44 ./tdc.py -p /path/to/tc
50 To use tdc, root privileges are required. This is because the
59 to tdc when starting a test run; the veth pair will still be created
62 Running tdc without any arguments will run all tests. Refer to the section
[all …]
H A DMakefile3 TEST_PROGS += tdc.sh
4 TEST_FILES := action-ebpf tdc*.py Tdc*.py plugins plugin-lib tc-tests scripts
H A DTODO.txt8 - Improve error messages when tdc aborts its run. Partially done - still
13 - Allow tdc to write its results to file.
H A Dtdc.sh70 ./tdc.py -J"$(nproc)"
/linux/drivers/net/can/dev/
H A Dnetlink.c369 memset(&priv->fd.tdc, 0, sizeof(priv->fd.tdc)); in can_ctrlmode_changelink()
375 memset(&priv->xl.tdc, 0, sizeof(priv->xl.tdc)); in can_ctrlmode_changelink()
390 struct can_tdc tdc = { 0 }; in can_tdc_changelink() local
410 tdc.tdcv = tdcv; in can_tdc_changelink()
419 tdc.tdco = tdco; in can_tdc_changelink()
428 tdc.tdcf = tdcf; in can_tdc_changelink()
431 dbt_params->tdc = tdc; in can_tdc_changelink()
488 memset(&dbt_params->tdc, 0, sizeof(dbt_params->tdc)); in can_dbt_changelink()
506 can_calc_tdco(&dbt_params->tdc, dbt_params->tdc_const, &dbt, in can_dbt_changelink()
869 struct can_tdc *tdc; in can_tdc_fill_info() local
[all …]
/linux/tools/testing/selftests/tc-testing/creating-testcases/
H A DAddingTestCases.txt1 tdc - Adding test cases for tdc
12 Include the 'id' field, but do not assign a value. Running tdc with the -i
15 tdc will recursively search the 'tc-tests' subdirectory (or the
19 tdc with the -f argument and the path to your file, or the -D argument
37 then tdc will not execute the test case in question. However,
56 tdc will compare this value against the actual returned value.
83 in the test cases. tdc will output a series of TAP results for the skipped
/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DREADME-PLUGINS1 tdc.py will look for plugins in a directory plugins off the cwd.
5 tdc.py
14 tdc.py will find them and use them.
/linux/tools/testing/selftests/tc-testing/creating-plugins/
H A DAddingPlugins.txt1 tdc - Adding plugins for tdc
48 TAP output. The tdc.py script will do that for the test suite as
84 The adjust_command method must return the adjusted command so tdc
92 conflict with any from tdc.py or from other plugins that will be used
/linux/drivers/platform/x86/
H A Dintel_ips.c1216 int tdp, tdc; in cpu_clamp_show() local
1221 tdc = (int)((turbo_override & TURBO_TDC_MASK) >> TURBO_TDC_SHIFT); in cpu_clamp_show()
1225 tdc = tdc * 10 / 8; in cpu_clamp_show()
1229 tdc / 10, tdc % 10); in cpu_clamp_show()
/linux/drivers/net/can/usb/
H A Desd_usb.c236 struct esd_usb_3_tdc_cfg tdc; /* TDC configuration */ member
1161 baud_x->tdc.tdc_mode = ESD_USB_3_TDC_MODE_AUTO; in esd_usb_3_set_bittiming()
1162 baud_x->tdc.ssp_offset = 0; in esd_usb_3_set_bittiming()
1163 baud_x->tdc.ssp_shift = 0; in esd_usb_3_set_bittiming()
1164 baud_x->tdc.tdc_filter = 0; in esd_usb_3_set_bittiming()
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_fd.c434 tx_conf_msg.tdco = cpu_to_le16(priv->can.fd.tdc.tdco); in es58x_fd_enable_channel()
435 tx_conf_msg.tdcf = cpu_to_le16(priv->can.fd.tdc.tdcf); in es58x_fd_enable_channel()
/linux/arch/s390/include/asm/
H A Dctlreg.h232 unsigned long tdc : 2; member
/linux/arch/s390/kernel/
H A Dptrace.c67 cr2_new.tdc = 0; in update_cr_regs()
70 cr2_new.tdc = 1; in update_cr_regs()
72 cr2_new.tdc = 2; in update_cr_regs()
/linux/Documentation/networking/
H A Dcan.rst1481 using the ip tool's "tdc-mode" argument as follow:
1484 When no "tdc-mode" option is provided, the kernel will automatically
1489 **"tdc-mode off"**
1492 **"tdc-mode auto"**
1497 **"tdc-mode manual"**
1504 argument to either "tdc-mode auto" or "tdc-mode manual".
1512 tdc-mode auto tdco 15
/linux/drivers/md/bcache/
H A Dsuper.c2706 struct cached_dev *dc, *tdc; in bch_pending_bdevs_cleanup() local
2711 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) { in bch_pending_bdevs_cleanup()
2756 struct cached_dev *dc, *tdc; in bcache_reboot() local
2796 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) in bcache_reboot()
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c603 FIELD_PREP(MCP251XFD_REG_TDC_TDCV_MASK, priv->can.fd.tdc.tdcv) | in mcp251xfd_set_bittiming()
604 FIELD_PREP(MCP251XFD_REG_TDC_TDCO_MASK, priv->can.fd.tdc.tdco); in mcp251xfd_set_bittiming()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c579 adev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in amdgpu_parse_extended_power_table()
/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.c1279 rdev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in r600_parse_extended_power_table()
H A Dci_dpm.c309 tdc_limit = rdev->pm.dpm.dyn_state.cac_tdp_table->tdc * 256; in ci_populate_tdc_limit()