Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/dma/
A Dtegra20-apb-dma.c503 tdc->busy = true; in tdc_start_head_req()
643 struct tegra_dma_channel *tdc = from_tasklet(tdc, t, tasklet); in tegra_dma_tasklet() local
678 tdc->isr_handler(tdc, false); in tegra_dma_isr()
753 if (!tdc->busy) in tegra_dma_terminate_all()
762 tdc->isr_handler(tdc, true); in tegra_dma_terminate_all()
826 wait_event(tdc->wq, tegra_dma_eoc_interrupt_deasserted(tdc)); in tegra_dma_synchronize()
1198 if (tdc->busy) { in tegra_dma_prep_dma_cyclic()
1323 dev_dbg(tdc2dev(tdc), "Freeing channel %d\n", tdc->id); in tegra_dma_free_chan_resources()
1502 snprintf(tdc->name, sizeof(tdc->name), "apbdma.%d", i); in tegra_dma_probe()
1504 tdc->name, tdc); in tegra_dma_probe()
[all …]
A Dtegra186-gpc-dma.c289 tdc->id, tdc->name); in tegra_dma_dump_chan_regs()
518 dma_desc->tdc = tdc; in tegra_dma_start()
654 if (tdc->dma_desc && tdc->dma_desc->cyclic) in tegra_dma_issue_pending()
708 err = tdc->tdma->chip_data->terminate(tdc); in tegra_dma_terminate_all()
836 *mmio_seq = get_bus_width(tdc, tdc->dma_sconfig.dst_addr_width); in get_transfer_param()
1241 ret = request_irq(tdc->irq, tegra_dma_isr, 0, tdc->name, tdc); in tegra_dma_alloc_chan_resources()
1264 dev_dbg(tdc2dev(tdc), "Freeing channel %d\n", tdc->id); in tegra_dma_free_chan_resources()
1273 free_irq(tdc->irq, tdc); in tegra_dma_free_chan_resources()
1411 snprintf(tdc->name, sizeof(tdc->name), "gpcdma.%d", i); in tegra_dma_probe()
1413 tdc->id = i; in tegra_dma_probe()
[all …]
A Dtegra210-adma.c344 kfree(tdc->desc); in tegra_adma_stop()
345 tdc->desc = NULL; in tegra_adma_stop()
380 tdc->desc = desc; in tegra_adma_start()
394 tdc->tx_buf_count += pos + (max - tdc->tx_buf_pos); in tegra_adma_get_residue()
396 tdc->tx_buf_count += pos - tdc->tx_buf_pos; in tegra_adma_get_residue()
432 if (!tdc->desc) in tegra_adma_issue_pending()
492 if (tdc->desc) in tegra_adma_terminate_all()
524 } else if (tdc->desc && tdc->desc->vd.tx.cookie == cookie) { in tegra_adma_tx_status()
679 free_irq(tdc->irq, tdc); in tegra_adma_alloc_chan_resources()
695 free_irq(tdc->irq, tdc); in tegra_adma_free_chan_resources()
[all …]
/linux-6.3-rc2/drivers/net/can/dev/
A Dnetlink.c143 struct can_tdc tdc = { 0 }; in can_tdc_changelink() local
161 tdc.tdcv = tdcv; in can_tdc_changelink()
170 tdc.tdco = tdco; in can_tdc_changelink()
179 tdc.tdcf = tdcf; in can_tdc_changelink()
182 priv->tdc = tdc; in can_tdc_changelink()
276 memset(&priv->tdc, 0, sizeof(priv->tdc)); in can_changelink()
336 memset(&priv->tdc, 0, sizeof(priv->tdc)); in can_changelink()
471 struct can_tdc *tdc = &priv->tdc; in can_tdc_fill_info() local
498 tdcv = tdc->tdcv; in can_tdc_fill_info()
505 if (nla_put_u32(skb, IFLA_CAN_TDC_TDCO, tdc->tdco)) in can_tdc_fill_info()
[all …]
A Dcalc_bittiming.c174 void can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const, in can_calc_tdco() argument
195 tdc->tdco = min(sample_point_in_tc, tdc_const->tdco_max); in can_calc_tdco()
/linux-6.3-rc2/tools/testing/selftests/tc-testing/
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
26 ./tdc.py -c
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
65 ./tdc.py -h
117 Run tdc.py -h to see the full list of available arguments.
176 was in the tdc.py script has been moved into the plugins.
[all …]
A Dtdc.sh5 ./tdc.py -c actions --nobuildebpf
6 ./tdc.py -c qdisc
A DMakefile30 TEST_PROGS += ./tdc.sh
31 TEST_FILES := tdc*.py Tdc*.py plugins plugin-lib tc-tests
A DTODO.txt8 - Improve error messages when tdc aborts its run. Partially done - still
13 - Allow tdc to write its results to file.
/linux-6.3-rc2/tools/testing/selftests/tc-testing/creating-testcases/
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,
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.3-rc2/tools/testing/selftests/tc-testing/plugin-lib/
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-6.3-rc2/tools/testing/selftests/tc-testing/creating-plugins/
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-6.3-rc2/include/linux/can/
A 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
A Ddev.h52 struct can_tdc tdc; member
121 return (s32)priv->tdc.tdco - sample_point_in_tc; in can_get_relative_tdco()
/linux-6.3-rc2/drivers/infiniband/hw/qib/
A 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.3-rc2/arch/s390/include/asm/
A Dctl_reg.h124 unsigned long tdc : 2; member
/linux-6.3-rc2/drivers/platform/x86/
A 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.3-rc2/drivers/net/can/ifi_canfd/
A 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.3-rc2/drivers/net/can/usb/etas_es58x/
A 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.3-rc2/arch/s390/kernel/
A 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.3-rc2/drivers/gpu/drm/amd/pm/inc/
A Damdgpu_dpm.h186 u16 tdc; member
/linux-6.3-rc2/drivers/md/bcache/
A 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.3-rc2/drivers/net/can/
A 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.3-rc2/fs/f2fs/
A Dsegment.c1308 struct discard_cmd *tdc = NULL; in __update_discard_tree_range() local
1335 tdc = prev_dc; in __update_discard_tree_range()
1348 if (tdc) in __update_discard_tree_range()
1349 __remove_discard_cmd(sbi, tdc); in __update_discard_tree_range()
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/legacy-dpm/
A Dlegacy_dpm.c630 adev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in amdgpu_parse_extended_power_table()

Completed in 87 milliseconds

12