/Linux-v6.1/drivers/hte/ |
D | hte-tegra194-test.c | 16 #include <linux/hte.h> 19 * This sample HTE GPIO test driver demonstrates HTE API usage by enabling 29 * compatible = "nvidia,tegra194-hte-test"; 34 * timestamp-names = "hte-gpio", "hte-i2c-irq"; 41 * HTE for rising edge on gpio_in pin. 48 * - Unloading the driver disables and deallocate the HTE. 59 } hte; variable 84 gpiod_set_value(hte.gpio_out, !gpiod_get_value(hte.gpio_out)); in gpio_timer_cb() 85 mod_timer(&hte.timer, jiffies + msecs_to_jiffies(8000)); in gpio_timer_cb() 97 { .compatible = "nvidia,tegra194-hte-test"}, [all …]
|
D | Kconfig | 2 menuconfig HTE config 3 bool "Hardware Timestamping Engine (HTE) Support" 5 Hardware Timestamping Engine (HTE) Support. 10 less jitter. This framework provides a generic interface to such HTE 15 if HTE 18 tristate "NVIDIA Tegra194 HTE Support" 27 tristate "NVIDIA Tegra194 HTE Test" 30 The NVIDIA Tegra194 GTE test driver demonstrates how to use HTE
|
D | hte.c | 16 #include <linux/hte.h> 22 /* Global list of the HTE devices */ 36 * @xlated_id: Timestamp ID as understood between HTE subsys and HTE provider, 41 * @line_name: HTE allocated line name. 51 * @gdev: HTE abstract device that this timestamp information belongs to. 73 * struct hte_device - HTE abstract device 79 * @chip: HTE chip providing this HTE device. 100 /* creates /sys/kernel/debug/hte/ */ in hte_subsys_dbgfs_init() 101 hte_root = debugfs_create_dir("hte", NULL); in hte_subsys_dbgfs_init() 482 * @dev: The HTE consumer. [all …]
|
D | Makefile | 1 obj-$(CONFIG_HTE) += hte.o 2 obj-$(CONFIG_HTE_TEGRA194) += hte-tegra194.o 3 obj-$(CONFIG_HTE_TEGRA194_TEST) += hte-tegra194-test.o
|
D | hte-tegra194.c | 17 #include <linux/hte.h> 24 /* HTE source clock TSC is 31.25MHz */ 32 /* AON HTE line map For slice 1 */ 36 /* AON HTE line map For slice 2 */ 237 static inline u32 tegra_hte_readl(struct tegra_hte_soc *hte, u32 reg) in tegra_hte_readl() argument 239 return readl(hte->regs + reg); in tegra_hte_readl() 242 static inline void tegra_hte_writel(struct tegra_hte_soc *hte, u32 reg, in tegra_hte_writel() argument 245 writel(val, hte->regs + reg); in tegra_hte_writel() 303 * HTE/GTE namespace. in tegra_hte_line_xlate() 649 dev_err(gc->dev, "hte chip register failed"); in tegra_hte_probe() [all …]
|
/Linux-v6.1/Documentation/driver-api/hte/ |
D | hte.rst | 4 The Linux Hardware Timestamping Engine (HTE) 21 engine (HTE) framework. Both consumers and providers must include 22 ``#include <linux/hte.h>``. 24 The HTE framework APIs for the providers 27 .. kernel-doc:: drivers/hte/hte.c 30 The HTE framework APIs for the consumers 33 .. kernel-doc:: drivers/hte/hte.c 36 The HTE framework public structures 38 .. kernel-doc:: include/linux/hte.h 40 More on the HTE timestamp data [all …]
|
D | tegra194-hte.rst | 3 HTE Kernel provider driver 8 The Nvidia tegra194 HTE provider driver implements two GTE 24 and userspace consumers. The kernel space consumers can directly talk to HTE 26 framework to HTE subsystem. 38 lines which this instance can add timestamps to in real time. The hte 43 this GTE instance in the HTE framework. 46 ``drivers/hte/hte-tegra194.c``. The test driver 47 ``drivers/hte/hte-tegra194-test.c`` demonstrates HTE API usage for both IRQ
|
D | index.rst | 4 The Linux Hardware Timestamping Engine (HTE) 7 The HTE Subsystem 13 hte 15 HTE Tegra Provider 21 tegra194-hte
|
/Linux-v6.1/include/linux/ |
D | hte.h | 13 * enum hte_edge - HTE line edge flags. 28 * enum hte_return - HTE subsystem return values used during callback. 32 * HTE subsystem calls secondary callback provided by the consumer where it 41 * struct hte_ts_data - HTE timestamp data. 55 * struct hte_clk_info - Clock source info that HTE provider uses to timestamp. 66 * typedef hte_ts_cb_t - HTE timestamp data processing primary callback. 77 * typedef hte_ts_sec_cb_t - HTE timestamp data processing secondary callback. 94 * hardware timestamping. If null, HTE core will construct the name. 105 * struct hte_ts_desc - HTE timestamp descriptor. 111 * @hte_data: Subsystem's private data, set by HTE subsystem. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/timestamp/ |
D | hte-consumer.yaml | 4 $id: http://devicetree.org/schemas/timestamp/hte-consumer.yaml# 7 title: HTE Consumer 18 The list of HTE provider phandle. The first cell must represent the 21 HTE provider device tree binding document. 38 timestamp-names = "hte-gpio", "hte-i2c";
|
D | nvidia,tegra194-hte.yaml | 4 $id: http://devicetree.org/schemas/timestamp/nvidia,tegra194-hte.yaml# 7 title: Tegra194 on chip generic hardware timestamping engine (HTE) 36 HTE device generates its interrupt based on this u32 FIFO threshold 44 HTE lines are arranged in 32 bit slice where each bit represents different 46 property and depends on the HTE instance in the chip. The value 3 is for
|
D | hardware-timestamps-common.yaml | 13 Some devices/SoCs have hardware timestamp engines (HTE) which can use 24 Number of cells in a HTE specifier.
|
/Linux-v6.1/Documentation/driver-api/ |
D | index.rst | 112 hte/index
|
/Linux-v6.1/Documentation/translations/zh_CN/driver-api/ |
D | index.rst | 125 * hte/index
|
/Linux-v6.1/drivers/ |
D | Kconfig | 240 source "drivers/hte/Kconfig"
|
D | Makefile | 191 obj-$(CONFIG_HTE) += hte/
|
/Linux-v6.1/drivers/gpio/ |
D | gpiolib-cdev.c | 27 #include <linux/hte.h> 424 * @hdesc: the Hardware Timestamp Engine (HTE) descriptor 478 * HTE provider sets line level at the time of event. The valid 483 * when sw_debounce is set on HTE enabled line, this is running 488 * when sw_debounce is set on HTE enabled line, this variable records
|
D | gpio-tegra186.c | 15 #include <linux/hte.h>
|
/Linux-v6.1/drivers/infiniband/hw/irdma/ |
D | utils.c | 887 u8 hte = 0; in irdma_terminate_done() local 895 hte = 1; in irdma_terminate_done() 904 irdma_next_iw_state(iwqp, IRDMA_QP_STATE_ERROR, hte, 0, 0); in irdma_terminate_done()
|
D | ctrl.c | 4775 u32 powerof2, hte; in irdma_cfg_fpm_val() local 4843 hte = round_up(qpwanted + hmc_info->hmc_obj[IRDMA_HMC_IW_FSIMC].cnt, 512); in irdma_cfg_fpm_val() 4845 while (powerof2 < hte) in irdma_cfg_fpm_val()
|
D | cm.c | 2195 /* create an hte and cm_node for this instance */ in irdma_make_cm_node()
|
/Linux-v6.1/ |
D | MAINTAINERS | 9418 HTE SUBSYSTEM 9422 F: Documentation/driver-api/hte/ 9423 F: drivers/hte/ 9424 F: include/linux/hte.h
|