Home
last modified time | relevance | path

Searched defs:td (Results 1 – 25 of 263) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c61 static void default_result(struct tdescr *td, bool force_exit) in default_result()
85 static bool handle_signal_unsupported(struct tdescr *td, in handle_signal_unsupported()
107 static bool handle_signal_trigger(struct tdescr *td, in handle_signal_trigger()
117 static bool handle_signal_ok(struct tdescr *td, in handle_signal_ok()
163 static bool handle_signal_copyctx(struct tdescr *td, in handle_signal_copyctx()
202 static int default_setup(struct tdescr *td) in default_setup()
238 static inline int default_trigger(struct tdescr *td) in default_trigger()
243 int test_init(struct tdescr *td) in test_init()
295 int test_setup(struct tdescr *td) in test_setup()
311 int test_run(struct tdescr *td) in test_run()
[all …]
/kernel/linux/linux-6.6/drivers/clk/tegra/
Dclk-dfll.c331 static inline u32 dfll_readl(struct tegra_dfll *td, u32 offs) in dfll_readl()
336 static inline void dfll_writel(struct tegra_dfll *td, u32 val, u32 offs) in dfll_writel()
342 static inline void dfll_wmb(struct tegra_dfll *td) in dfll_wmb()
349 static inline u32 dfll_i2c_readl(struct tegra_dfll *td, u32 offs) in dfll_i2c_readl()
354 static inline void dfll_i2c_writel(struct tegra_dfll *td, u32 val, u32 offs) in dfll_i2c_writel()
359 static inline void dfll_i2c_wmb(struct tegra_dfll *td) in dfll_i2c_wmb()
371 static bool dfll_is_running(struct tegra_dfll *td) in dfll_is_running()
391 struct tegra_dfll *td = dev_get_drvdata(dev); in tegra_dfll_runtime_resume() local
428 struct tegra_dfll *td = dev_get_drvdata(dev); in tegra_dfll_runtime_suspend() local
450 static void dfll_tune_low(struct tegra_dfll *td) in dfll_tune_low()
[all …]
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-dfll.c330 static inline u32 dfll_readl(struct tegra_dfll *td, u32 offs) in dfll_readl()
335 static inline void dfll_writel(struct tegra_dfll *td, u32 val, u32 offs) in dfll_writel()
341 static inline void dfll_wmb(struct tegra_dfll *td) in dfll_wmb()
348 static inline u32 dfll_i2c_readl(struct tegra_dfll *td, u32 offs) in dfll_i2c_readl()
353 static inline void dfll_i2c_writel(struct tegra_dfll *td, u32 val, u32 offs) in dfll_i2c_writel()
358 static inline void dfll_i2c_wmb(struct tegra_dfll *td) in dfll_i2c_wmb()
370 static bool dfll_is_running(struct tegra_dfll *td) in dfll_is_running()
390 struct tegra_dfll *td = dev_get_drvdata(dev); in tegra_dfll_runtime_resume() local
427 struct tegra_dfll *td = dev_get_drvdata(dev); in tegra_dfll_runtime_suspend() local
449 static void dfll_tune_low(struct tegra_dfll *td) in dfll_tune_low()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c66 static void default_result(struct tdescr *td, bool force_exit) in default_result()
90 static bool handle_signal_unsupported(struct tdescr *td, in handle_signal_unsupported()
112 static bool handle_signal_trigger(struct tdescr *td, in handle_signal_trigger()
122 static bool handle_signal_ok(struct tdescr *td, in handle_signal_ok()
168 static bool handle_signal_copyctx(struct tdescr *td, in handle_signal_copyctx()
259 static int default_setup(struct tdescr *td) in default_setup()
295 static inline int default_trigger(struct tdescr *td) in default_trigger()
300 int test_init(struct tdescr *td) in test_init()
372 int test_setup(struct tdescr *td) in test_setup()
388 int test_run(struct tdescr *td) in test_run()
[all …]
/kernel/linux/linux-6.6/drivers/usb/host/
Dfhci-q.c53 void fhci_add_td_to_frame(struct fhci_time_frame *frame, struct td *td) in fhci_add_td_to_frame()
63 struct td *td = td_list[i]; in fhci_add_tds_to_ed() local
72 struct td *td; in peek_td_from_ed() local
84 struct td *td; in fhci_remove_td_from_frame() local
97 struct td *td; in fhci_peek_td_from_frame() local
109 struct td *td; in fhci_remove_td_from_ed() local
129 struct td *td; in fhci_remove_td_from_done_list() local
142 struct td *td; in fhci_move_td_from_ed_to_done_list() local
214 void fhci_done_td(struct urb *urb, struct td *td) in fhci_done_td()
267 struct td *td = peek_td_from_ed(ed); in fhci_del_ed_list() local
Duhci-q.c109 struct uhci_td *td; in uhci_alloc_td() local
124 static void uhci_free_td(struct uhci_hcd *uhci, struct uhci_td *td) in uhci_free_td()
134 static inline void uhci_fill_td(struct uhci_hcd *uhci, struct uhci_td *td, in uhci_fill_td()
142 static void uhci_add_td_to_urbp(struct uhci_td *td, struct urb_priv *urbp) in uhci_add_td_to_urbp()
147 static void uhci_remove_td_from_urbp(struct uhci_td *td) in uhci_remove_td_from_urbp()
156 struct uhci_td *td, unsigned framenum) in uhci_insert_td_in_frame_list()
183 struct uhci_td *td) in uhci_remove_td_from_frame_list()
239 struct uhci_td *td; in uhci_unlink_isochronous_tds() local
318 struct uhci_td *td; in uhci_cleanup_queue() local
376 struct uhci_td *td; in uhci_fixup_toggles() local
[all …]
Dohci-q.c20 struct td *td; in urb_free_priv() local
414 struct td *td; in ed_get() local
520 struct td *td, *td_pt; in td_fill() local
756 static int td_done(struct ohci_hcd *ohci, struct urb *urb, struct td *td) in td_done()
833 static void ed_halted(struct ohci_hcd *ohci, struct td *td, int cc) in ed_halted()
899 static void add_to_done_list(struct ohci_hcd *ohci, struct td *td) in add_to_done_list()
938 struct td *td = NULL; in update_done_list() local
996 struct td *td; in finish_unlinks() local
1038 struct td *td; in finish_unlinks() local
1150 static void takeback_td(struct ohci_hcd *ohci, struct td *td) in takeback_td()
[all …]
Dfhci-mem.c23 static void init_td(struct td *td) in init_td()
39 struct td *td; in get_empty_td() local
55 void fhci_recycle_empty_td(struct fhci_hcd *fhci, struct td *td) in fhci_recycle_empty_td()
90 struct td *td = get_empty_td(fhci); in fhci_td_fill() local
/kernel/linux/linux-5.10/drivers/usb/host/
Dfhci-q.c53 void fhci_add_td_to_frame(struct fhci_time_frame *frame, struct td *td) in fhci_add_td_to_frame()
63 struct td *td = td_list[i]; in fhci_add_tds_to_ed() local
72 struct td *td; in peek_td_from_ed() local
84 struct td *td; in fhci_remove_td_from_frame() local
97 struct td *td; in fhci_peek_td_from_frame() local
109 struct td *td; in fhci_remove_td_from_ed() local
129 struct td *td; in fhci_remove_td_from_done_list() local
142 struct td *td; in fhci_move_td_from_ed_to_done_list() local
214 void fhci_done_td(struct urb *urb, struct td *td) in fhci_done_td()
267 struct td *td = peek_td_from_ed(ed); in fhci_del_ed_list() local
Duhci-q.c109 struct uhci_td *td; in uhci_alloc_td() local
124 static void uhci_free_td(struct uhci_hcd *uhci, struct uhci_td *td) in uhci_free_td()
134 static inline void uhci_fill_td(struct uhci_hcd *uhci, struct uhci_td *td, in uhci_fill_td()
142 static void uhci_add_td_to_urbp(struct uhci_td *td, struct urb_priv *urbp) in uhci_add_td_to_urbp()
147 static void uhci_remove_td_from_urbp(struct uhci_td *td) in uhci_remove_td_from_urbp()
156 struct uhci_td *td, unsigned framenum) in uhci_insert_td_in_frame_list()
183 struct uhci_td *td) in uhci_remove_td_from_frame_list()
239 struct uhci_td *td; in uhci_unlink_isochronous_tds() local
318 struct uhci_td *td; in uhci_cleanup_queue() local
376 struct uhci_td *td; in uhci_fixup_toggles() local
[all …]
Dohci-q.c20 struct td *td; in urb_free_priv() local
414 struct td *td; in ed_get() local
520 struct td *td, *td_pt; in td_fill() local
756 static int td_done(struct ohci_hcd *ohci, struct urb *urb, struct td *td) in td_done()
833 static void ed_halted(struct ohci_hcd *ohci, struct td *td, int cc) in ed_halted()
899 static void add_to_done_list(struct ohci_hcd *ohci, struct td *td) in add_to_done_list()
938 struct td *td = NULL; in update_done_list() local
996 struct td *td; in finish_unlinks() local
1038 struct td *td; in finish_unlinks() local
1150 static void takeback_td(struct ohci_hcd *ohci, struct td *td) in takeback_td()
[all …]
Dfhci-mem.c23 static void init_td(struct td *td) in init_td()
39 struct td *td; in get_empty_td() local
55 void fhci_recycle_empty_td(struct fhci_hcd *fhci, struct td *td) in fhci_recycle_empty_td()
90 struct td *td = get_empty_td(fhci); in fhci_td_fill() local
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dtestmode.c23 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_tx_pending() local
58 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_tx_init() local
160 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_tx_start() local
171 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_tx_stop() local
186 mt76_testmode_param_set(struct mt76_testmode_data *td, u16 idx) in mt76_testmode_param_set()
192 mt76_testmode_param_present(struct mt76_testmode_data *td, u16 idx) in mt76_testmode_param_present()
200 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_init_defaults() local
247 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_set_state() local
293 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_cmd() local
395 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_dump_stats() local
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
Dtestmode.c33 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_pending() local
95 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_free_skb() local
106 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_alloc_skb() local
180 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_init() local
272 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_start() local
284 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_stop() local
300 mt76_testmode_param_set(struct mt76_testmode_data *td, u16 idx) in mt76_testmode_param_set()
306 mt76_testmode_param_present(struct mt76_testmode_data *td, u16 idx) in mt76_testmode_param_present()
314 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_init_defaults() local
366 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_set_state() local
[all …]
/kernel/linux/linux-6.6/drivers/usb/c67x00/
Dc67x00-sched.c82 #define td_udev(td) ((td)->ep_data->dev) argument
115 #define td_residue(td) ((__s8)(td->residue)) argument
116 #define td_ly_base_addr(td) (__le16_to_cpu((td)->ly_base_addr)) argument
117 #define td_port_length(td) (__le16_to_cpu((td)->port_length)) argument
118 #define td_next_td_addr(td) (__le16_to_cpu((td)->next_td_addr)) argument
120 #define td_active(td) ((td)->retry_cnt & TD_RETRYCNTMASK_ACT_FLG) argument
121 #define td_length(td) (td_port_length(td) & TD_PORTLENMASK_DL) argument
123 #define td_sequence_ok(td) (!td->status || \ argument
127 #define td_acked(td) (!td->status || \ argument
129 #define td_actual_bytes(td) (td_length(td) - td_residue(td)) argument
[all …]
/kernel/linux/linux-5.10/drivers/usb/c67x00/
Dc67x00-sched.c82 #define td_udev(td) ((td)->ep_data->dev) argument
115 #define td_residue(td) ((__s8)(td->residue)) argument
116 #define td_ly_base_addr(td) (__le16_to_cpu((td)->ly_base_addr)) argument
117 #define td_port_length(td) (__le16_to_cpu((td)->port_length)) argument
118 #define td_next_td_addr(td) (__le16_to_cpu((td)->next_td_addr)) argument
120 #define td_active(td) ((td)->retry_cnt & TD_RETRYCNTMASK_ACT_FLG) argument
121 #define td_length(td) (td_port_length(td) & TD_PORTLENMASK_DL) argument
123 #define td_sequence_ok(td) (!td->status || \ argument
127 #define td_acked(td) (!td->status || \ argument
129 #define td_actual_bytes(td) (td_length(td) - td_residue(td)) argument
[all …]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
Dnand_bbt.c90 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) in check_pattern_no_oob()
107 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
128 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
142 static u32 add_marker_len(struct nand_bbt_descr *td) in add_marker_len()
167 struct nand_bbt_descr *td, int offs) in read_bbt()
260 struct nand_bbt_descr *td, int chip) in read_abs_bbt()
288 struct nand_bbt_descr *td) in scan_read_data()
344 size_t len, struct nand_bbt_descr *td) in scan_read()
369 static u32 bbt_get_ver_offs(struct nand_chip *this, struct nand_bbt_descr *td) in bbt_get_ver_offs()
390 struct nand_bbt_descr *td, struct nand_bbt_descr *md) in read_abs_bbts()
[all …]
/kernel/linux/linux-6.6/kernel/time/
Dtick-common.c185 static void tick_setup_device(struct tick_device *td, in tick_setup_device()
264 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local
329 struct tick_device *td; in tick_check_new_device() local
377 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_oneshot_control() local
408 struct tick_device *td = &per_cpu(tick_cpu_device, cpu); in tick_shutdown() local
434 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_suspend_local() local
448 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_resume_local() local
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_bbt.c90 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) in check_pattern_no_oob()
107 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
128 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
142 static u32 add_marker_len(struct nand_bbt_descr *td) in add_marker_len()
167 struct nand_bbt_descr *td, int offs) in read_bbt()
260 struct nand_bbt_descr *td, int chip) in read_abs_bbt()
288 struct nand_bbt_descr *td) in scan_read_data()
344 size_t len, struct nand_bbt_descr *td) in scan_read()
369 static u32 bbt_get_ver_offs(struct nand_chip *this, struct nand_bbt_descr *td) in bbt_get_ver_offs()
390 struct nand_bbt_descr *td, struct nand_bbt_descr *md) in read_abs_bbts()
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dtick-common.c203 static void tick_setup_device(struct tick_device *td, in tick_setup_device()
276 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local
341 struct tick_device *td; in tick_check_new_device() local
394 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_oneshot_control() local
429 struct tick_device *td = &per_cpu(tick_cpu_device, cpu); in tick_shutdown() local
455 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_suspend_local() local
469 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_resume_local() local
/kernel/linux/linux-6.6/tools/perf/tests/
Ddlfilter-test.c69 struct test_data *td = container_of(tool, struct test_data, tool); in process() local
112 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) in write_attr()
173 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) in write_sample()
245 static int check_filter_desc(struct test_data *td) in check_filter_desc()
263 static int get_ip_addr(struct test_data *td) in get_ip_addr()
288 static int do_run_perf_script(struct test_data *td, int do_early) in do_run_perf_script()
302 static int run_perf_script(struct test_data *td) in run_perf_script()
320 static int test__dlfilter_test(struct test_data *td) in test__dlfilter_test()
395 static void test_data__free(struct test_data *td) in test_data__free()
408 struct test_data td = {.fd = -1}; in test__dlfilter_ver() local
/kernel/linux/linux-5.10/drivers/hid/
Dhid-multitouch.c378 struct mt_device *td = hid_get_drvdata(hdev); in mt_show_quirks() local
388 struct mt_device *td = hid_get_drvdata(hdev); in mt_set_quirks() local
453 struct mt_device *td = hid_get_drvdata(hdev); in mt_feature_mapping() local
525 static struct mt_application *mt_allocate_application(struct mt_device *td, in mt_allocate_application()
560 static struct mt_application *mt_find_application(struct mt_device *td, in mt_find_application()
582 static struct mt_report_data *mt_allocate_report_data(struct mt_device *td, in mt_allocate_report_data()
622 static struct mt_report_data *mt_find_report_data(struct mt_device *td, in mt_find_report_data()
690 struct mt_device *td = hid_get_drvdata(hdev); in mt_touch_input_mapping() local
877 static int mt_compute_slot(struct mt_device *td, struct mt_application *app, in mt_compute_slot()
898 static void mt_release_pending_palms(struct mt_device *td, in mt_release_pending_palms()
[all …]
/kernel/linux/linux-6.6/drivers/hid/
Dhid-multitouch.c408 struct mt_device *td = hid_get_drvdata(hdev); in mt_show_quirks() local
418 struct mt_device *td = hid_get_drvdata(hdev); in mt_set_quirks() local
483 struct mt_device *td = hid_get_drvdata(hdev); in mt_feature_mapping() local
555 static struct mt_application *mt_allocate_application(struct mt_device *td, in mt_allocate_application()
590 static struct mt_application *mt_find_application(struct mt_device *td, in mt_find_application()
612 static struct mt_report_data *mt_allocate_report_data(struct mt_device *td, in mt_allocate_report_data()
652 static struct mt_report_data *mt_find_report_data(struct mt_device *td, in mt_find_report_data()
720 struct mt_device *td = hid_get_drvdata(hdev); in mt_touch_input_mapping() local
909 static int mt_compute_slot(struct mt_device *td, struct mt_application *app, in mt_compute_slot()
930 static void mt_release_pending_palms(struct mt_device *td, in mt_release_pending_palms()
[all …]
/kernel/linux/linux-6.6/drivers/md/
Ddm-thin-metadata.c852 struct dm_thin_device *td, *tmp; in __write_changed_details() local
998 struct dm_thin_device *td, *tmp; in dm_pool_metadata_close() local
1038 struct dm_thin_device **td) in __open_device()
1099 static void __close_device(struct dm_thin_device *td) in __close_device()
1110 struct dm_thin_device *td; in __create_thin() local
1164 struct dm_thin_device *td; in __set_snapshot_details() local
1186 struct dm_thin_device *td; in __create_snap() local
1253 struct dm_thin_device *td; in __delete_device() local
1496 struct dm_thin_device **td) in dm_pool_open_thin_device()
1508 int dm_pool_close_thin_device(struct dm_thin_device *td) in dm_pool_close_thin_device()
[all …]
/kernel/linux/linux-6.6/tools/thermal/thermal-engine/
Dthermal-engine.c96 struct thermal_data *td = arg; in tz_disable() local
106 struct thermal_data *td = arg; in tz_enable() local
116 struct thermal_data *td = arg; in trip_high() local
127 struct thermal_data *td = arg; in trip_low() local
154 struct thermal_data *td = arg; in trip_change() local
190 struct thermal_data *td = arg; in gov_change() local
218 struct thermal_data *td = arg; in thermal_event() local
288 struct thermal_data td; in main() local

1234567891011