| /linux-6.15/drivers/dma/ |
| H A D | tegra20-apb-dma.c | 497 tdc->busy = true; in tdc_start_head_req() 637 struct tegra_dma_channel *tdc = from_tasklet(tdc, t, tasklet); in tegra_dma_tasklet() local 672 tdc->isr_handler(tdc, false); in tegra_dma_isr() 747 if (!tdc->busy) in tegra_dma_terminate_all() 756 tdc->isr_handler(tdc, true); in tegra_dma_terminate_all() 820 wait_event(tdc->wq, tegra_dma_eoc_interrupt_deasserted(tdc)); in tegra_dma_synchronize() 1192 if (tdc->busy) { in tegra_dma_prep_dma_cyclic() 1317 dev_dbg(tdc2dev(tdc), "Freeing channel %d\n", tdc->id); in tegra_dma_free_chan_resources() 1496 snprintf(tdc->name, sizeof(tdc->name), "apbdma.%d", i); in tegra_dma_probe() 1498 tdc->name, tdc); in tegra_dma_probe() [all …]
|
| H A D | tegra186-gpc-dma.c | 290 tdc->id, tdc->name); in tegra_dma_dump_chan_regs() 523 dma_desc->tdc = tdc; in tegra_dma_start() 660 if (tdc->dma_desc && tdc->dma_desc->cyclic) in tegra_dma_issue_pending() 714 err = tdc->tdma->chip_data->terminate(tdc); in tegra_dma_terminate_all() 849 *mmio_seq = get_bus_width(tdc, tdc->dma_sconfig.dst_addr_width); in get_transfer_param() 1254 ret = request_irq(tdc->irq, tegra_dma_isr, 0, tdc->name, tdc); in tegra_dma_alloc_chan_resources() 1277 dev_dbg(tdc2dev(tdc), "Freeing channel %d\n", tdc->id); in tegra_dma_free_chan_resources() 1286 free_irq(tdc->irq, tdc); in tegra_dma_free_chan_resources() 1422 snprintf(tdc->name, sizeof(tdc->name), "gpcdma.%d", i); in tegra_dma_probe() 1424 tdc->id = i; in tegra_dma_probe() [all …]
|
| H A D | tegra210-adma.c | 381 kfree(tdc->desc); in tegra_adma_stop() 382 tdc->desc = NULL; in tegra_adma_stop() 431 tdc->tx_buf_count += pos + (max - tdc->tx_buf_pos); in tegra_adma_get_residue() 433 tdc->tx_buf_count += pos - tdc->tx_buf_pos; in tegra_adma_get_residue() 469 if (!tdc->desc) in tegra_adma_issue_pending() 529 if (tdc->desc) in tegra_adma_terminate_all() 561 } else if (tdc->desc && tdc->desc->vd.tx.cookie == cookie) { in tegra_adma_tx_status() 716 free_irq(tdc->irq, tdc); in tegra_adma_alloc_chan_resources() 732 free_irq(tdc->irq, tdc); in tegra_adma_free_chan_resources() 783 if (!tdc->tdma) in tegra_adma_runtime_suspend() [all …]
|
| /linux-6.15/drivers/net/can/dev/ |
| H A D | netlink.c | 143 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() 234 memset(&priv->tdc, 0, sizeof(priv->tdc)); in can_changelink() 336 memset(&priv->tdc, 0, sizeof(priv->tdc)); in can_changelink() 349 can_calc_tdco(&priv->tdc, priv->tdc_const, &dbt, 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() [all …]
|
| H A D | calc_bittiming.c | 174 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.15/tools/testing/selftests/tc-testing/ |
| H A D | README | 1 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 25 ./tdc.py -c 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 64 ./tdc.py -h 125 Run tdc.py -h to see the full list of available arguments. 131 was in the tdc.py script has been moved into the plugins. [all …]
|
| H A D | Makefile | 3 TEST_PROGS += tdc.sh 4 TEST_FILES := action-ebpf tdc*.py Tdc*.py plugins plugin-lib tc-tests scripts
|
| H A D | TODO.txt | 8 - Improve error messages when tdc aborts its run. Partially done - still 13 - Allow tdc to write its results to file.
|
| H A D | tdc.sh | 66 ./tdc.py -J`nproc`
|
| /linux-6.15/tools/testing/selftests/tc-testing/creating-testcases/ |
| H A D | AddingTestCases.txt | 1 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-6.15/tools/testing/selftests/tc-testing/plugin-lib/ |
| H A D | README-PLUGINS | 1 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.15/drivers/gpu/drm/xe/ |
| H A D | xe_gt_throttle.c | 112 u32 tdc = xe_gt_throttle_get_limit_reasons(gt) & VR_TDC_MASK; in read_reason_vr_tdc() local 114 return tdc; in read_reason_vr_tdc() 210 bool tdc = !!read_reason_vr_tdc(gt); in reason_vr_tdc_show() local 212 return sysfs_emit(buff, "%u\n", tdc); in reason_vr_tdc_show()
|
| /linux-6.15/tools/testing/selftests/tc-testing/creating-plugins/ |
| H A D | AddingPlugins.txt | 1 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.15/include/linux/can/ |
| H A D | bittiming.h | 121 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
|
| H A D | dev.h | 52 struct can_tdc tdc; member 121 return (s32)priv->tdc.tdco - sample_point_in_tc; in can_get_relative_tdco()
|
| /linux-6.15/drivers/infiniband/hw/qib/ |
| H A 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()
|
| /linux-6.15/drivers/platform/x86/ |
| H A D | intel_ips.c | 1216 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-6.15/drivers/net/can/ifi_canfd/ |
| H A D | ifi_canfd.c | 673 u16 brp, sjw, tseg1, tseg2, tdc; in ifi_canfd_set_bittiming() local 698 tdc = dbt->brp * (dbt->prop_seg + dbt->phase_seg1); in ifi_canfd_set_bittiming() 699 tdc &= IFI_CANFD_TDELAY_MASK; in ifi_canfd_set_bittiming() 700 writel(IFI_CANFD_TDELAY_EN | tdc, priv->base + IFI_CANFD_TDELAY); in ifi_canfd_set_bittiming()
|
| /linux-6.15/drivers/net/can/usb/ |
| H A D | esd_usb.c | 235 struct esd_usb_3_tdc_cfg tdc; /* TDC configuration */ member 1135 baud_x->tdc.tdc_mode = ESD_USB_3_TDC_MODE_AUTO; in esd_usb_3_set_bittiming() 1136 baud_x->tdc.ssp_offset = 0; in esd_usb_3_set_bittiming() 1137 baud_x->tdc.ssp_shift = 0; in esd_usb_3_set_bittiming() 1138 baud_x->tdc.tdc_filter = 0; in esd_usb_3_set_bittiming()
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | ctlreg.h | 232 unsigned long tdc : 2; member
|
| /linux-6.15/drivers/net/can/usb/etas_es58x/ |
| H A D | es58x_fd.c | 434 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.15/arch/s390/kernel/ |
| H A D | ptrace.c | 72 cr2_new.tdc = 0; in update_cr_regs() 75 cr2_new.tdc = 1; in update_cr_regs() 77 cr2_new.tdc = 2; in update_cr_regs()
|
| /linux-6.15/drivers/gpu/drm/amd/pm/inc/ |
| H A D | amdgpu_dpm.h | 192 u16 tdc; member
|
| /linux-6.15/drivers/md/bcache/ |
| H A D | super.c | 2663 struct cached_dev *dc, *tdc; in bch_pending_bdevs_cleanup() local 2668 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) { in bch_pending_bdevs_cleanup() 2713 struct cached_dev *dc, *tdc; in bcache_reboot() local 2753 list_for_each_entry_safe(dc, tdc, &uncached_devices, list) in bcache_reboot()
|
| /linux-6.15/drivers/net/can/ |
| H A D | xilinx_can.c | 520 btr0 |= FIELD_PREP(XCAN_BRPR_TDCO_MASK, priv->can.tdc.tdco) | in xcan_set_bittiming() 523 btr0 |= FIELD_PREP(XCAN_2_BRPR_TDCO_MASK, priv->can.tdc.tdco) | in xcan_set_bittiming()
|