Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/dma/
Dtegra20-apb-dma.c177 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 …]
Dtegra186-gpc-dma.c181 int (*terminate)(struct tegra_dma_channel *tdc);
220 struct tegra_dma_channel *tdc; member
256 static inline void tdc_write(struct tegra_dma_channel *tdc, in tdc_write() argument
259 writel_relaxed(val, tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_write()
262 static inline u32 tdc_read(struct tegra_dma_channel *tdc, u32 reg) in tdc_read() argument
264 return readl_relaxed(tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_read()
277 static inline struct device *tdc2dev(struct tegra_dma_channel *tdc) in tdc2dev() argument
279 return tdc->vc.chan.device->dev; in tdc2dev()
282 static void tegra_dma_dump_chan_regs(struct tegra_dma_channel *tdc) in tegra_dma_dump_chan_regs() argument
284 dev_dbg(tdc2dev(tdc), "DMA Channel %d name %s register dump:\n", in tegra_dma_dump_chan_regs()
[all …]
Dtegra210-adma.c177 static inline void tdma_ch_write(struct tegra_adma_chan *tdc, u32 reg, u32 val) in tdma_ch_write() argument
179 writel(val, tdc->chan_addr + reg); in tdma_ch_write()
182 static inline u32 tdma_ch_read(struct tegra_adma_chan *tdc, u32 reg) in tdma_ch_read() argument
184 return readl(tdc->chan_addr + reg); in tdma_ch_read()
198 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev() argument
200 return tdc->tdma->dev; in tdc2dev()
211 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_slave_config() local
213 memcpy(&tdc->sconfig, sconfig, sizeof(*sconfig)); in tegra_adma_slave_config()
244 static int tegra_adma_request_alloc(struct tegra_adma_chan *tdc, in tegra_adma_request_alloc() argument
247 struct tegra_adma *tdma = tdc->tdma; in tegra_adma_request_alloc()
[all …]
/linux-6.1.9/drivers/net/can/dev/
Dnetlink.c112 struct can_tdc tdc = { 0 }; in can_tdc_changelink() local
130 tdc.tdcv = tdcv; in can_tdc_changelink()
139 tdc.tdco = tdco; in can_tdc_changelink()
148 tdc.tdcf = tdcf; in can_tdc_changelink()
151 priv->tdc = tdc; in can_tdc_changelink()
243 memset(&priv->tdc, 0, sizeof(priv->tdc)); in can_changelink()
301 memset(&priv->tdc, 0, sizeof(priv->tdc)); in can_changelink()
314 can_calc_tdco(&priv->tdc, priv->tdc_const, &priv->data_bittiming, in can_changelink()
436 struct can_tdc *tdc = &priv->tdc; in can_tdc_fill_info() local
463 tdcv = tdc->tdcv; in can_tdc_fill_info()
[all …]
Dcalc_bittiming.c178 void can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const, in can_calc_tdco() argument
199 tdc->tdco = min(sample_point_in_tc, tdc_const->tdco_max); in can_calc_tdco()
/linux-6.1.9/tools/testing/selftests/tc-testing/
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
20 * The kernel must have the appropriate infrastructure enabled to run all tdc
26 ./tdc.py -c
29 In the current release, tdc run will abort due to a failure in setup or
44 using the -p option when running tdc:
45 ./tdc.py -p /path/to/tc
51 To use tdc, root privileges are required. This is because the
60 to tdc when starting a test run; the veth pair will still be created
63 Running tdc without any arguments will run all tests. Refer to the section
[all …]
Dtdc.sh5 ./tdc.py -c actions --nobuildebpf
6 ./tdc.py -c qdisc
DMakefile30 TEST_PROGS += ./tdc.sh
31 TEST_FILES := tdc*.py Tdc*.py plugins plugin-lib tc-tests
DTODO.txt8 - Improve error messages when tdc aborts its run. Partially done - still
13 - Allow tdc to write its results to file.
/linux-6.1.9/tools/testing/selftests/tc-testing/creating-testcases/
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,
54 tdc will compare this value against the actual returned value.
81 in the test cases. tdc will output a series of TAP results for the skipped
/linux-6.1.9/tools/testing/selftests/tc-testing/plugin-lib/
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-6.1.9/tools/testing/selftests/tc-testing/creating-plugins/
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-6.1.9/include/linux/can/
Dbittiming.h121 void can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const,
134 can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const, in can_calc_tdco() argument
Ddev.h52 struct can_tdc tdc; member
121 return (s32)priv->tdc.tdco - sample_point_in_tc; in can_get_relative_tdco()
/linux-6.1.9/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()
/linux-6.1.9/arch/s390/include/asm/
Dctl_reg.h124 unsigned long tdc : 2; member
/linux-6.1.9/drivers/platform/x86/
Dintel_ips.c1237 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()
/linux-6.1.9/drivers/net/can/ifi_canfd/
Difi_canfd.c652 u16 brp, sjw, tseg1, tseg2, tdc; in ifi_canfd_set_bittiming() local
677 tdc = dbt->brp * (dbt->prop_seg + dbt->phase_seg1); in ifi_canfd_set_bittiming()
678 tdc &= IFI_CANFD_TDELAY_MASK; in ifi_canfd_set_bittiming()
679 writel(IFI_CANFD_TDELAY_EN | tdc, priv->base + IFI_CANFD_TDELAY); in ifi_canfd_set_bittiming()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_fd.c434 tx_conf_msg.tdco = cpu_to_le16(priv->can.tdc.tdco); in es58x_fd_enable_channel()
435 tx_conf_msg.tdcf = cpu_to_le16(priv->can.tdc.tdcf); in es58x_fd_enable_channel()
/linux-6.1.9/arch/s390/kernel/
Dptrace.c60 cr2_new.tdc = 0; in update_cr_regs()
63 cr2_new.tdc = 1; in update_cr_regs()
65 cr2_new.tdc = 2; in update_cr_regs()
/linux-6.1.9/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h186 u16 tdc; member
/linux-6.1.9/drivers/md/bcache/
Dsuper.c2678 struct cached_dev *dc, *tdc; in bch_pending_bdevs_cleanup() local
2683 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) { in bch_pending_bdevs_cleanup()
2728 struct cached_dev *dc, *tdc; in bcache_reboot() local
2768 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) in bcache_reboot()
/linux-6.1.9/drivers/net/can/
Dxilinx_can.c455 btr0 |= FIELD_PREP(XCAN_BRPR_TDCO_MASK, priv->can.tdc.tdco) | in xcan_set_bittiming()
458 btr0 |= FIELD_PREP(XCAN_2_BRPR_TDCO_MASK, priv->can.tdc.tdco) | in xcan_set_bittiming()
/linux-6.1.9/fs/f2fs/
Dsegment.c1286 struct discard_cmd *tdc = NULL; in __update_discard_tree_range() local
1313 tdc = prev_dc; in __update_discard_tree_range()
1326 if (tdc) in __update_discard_tree_range()
1327 __remove_discard_cmd(sbi, tdc); in __update_discard_tree_range()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c630 adev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in amdgpu_parse_extended_power_table()

12