Home
last modified time | relevance | path

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

12345678910

/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-4.19/drivers/clk/tegra/
Dclk-dfll.c323 static inline u32 dfll_readl(struct tegra_dfll *td, u32 offs) in dfll_readl()
328 static inline void dfll_writel(struct tegra_dfll *td, u32 val, u32 offs) in dfll_writel()
334 static inline void dfll_wmb(struct tegra_dfll *td) in dfll_wmb()
341 static inline u32 dfll_i2c_readl(struct tegra_dfll *td, u32 offs) in dfll_i2c_readl()
346 static inline void dfll_i2c_writel(struct tegra_dfll *td, u32 val, u32 offs) in dfll_i2c_writel()
351 static inline void dfll_i2c_wmb(struct tegra_dfll *td) in dfll_i2c_wmb()
363 static bool dfll_is_running(struct tegra_dfll *td) in dfll_is_running()
383 struct tegra_dfll *td = dev_get_drvdata(dev); in tegra_dfll_runtime_resume() local
420 struct tegra_dfll *td = dev_get_drvdata(dev); in tegra_dfll_runtime_suspend() local
442 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-4.19/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
Dfhci-sched.c42 struct td *td; in fhci_transaction_confirm() local
129 struct td *td; in fhci_flush_all_transmissions() local
155 static int add_packet(struct fhci_usb *usb, struct ed *ed, struct td *td) in add_packet()
280 struct td *td; in scan_ed_list() local
635 struct td *td; in process_done_list() local
704 struct td *td; in fhci_queue_urb() 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
Dfhci-tds.c73 struct usb_td __iomem *td, in next_bd()
152 struct usb_td __iomem *td; in fhci_create_ep() local
281 struct usb_td __iomem *td; in fhci_td_transaction_confirm() local
386 struct usb_td __iomem *td; in fhci_host_transaction() local
471 struct usb_td __iomem *td; in fhci_flush_bds() local
527 struct usb_td __iomem *td; in fhci_flush_actual_frame() local
591 struct usb_td __iomem *td; in fhci_host_transmit_actual_frame() local
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dtestmode.c22 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_tx_pending() local
57 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_tx_init() local
159 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_tx_start() local
170 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_tx_stop() local
185 mt76_testmode_param_set(struct mt76_testmode_data *td, u16 idx) in mt76_testmode_param_set()
191 mt76_testmode_param_present(struct mt76_testmode_data *td, u16 idx) in mt76_testmode_param_present()
199 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_init_defaults() local
246 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_set_state() local
292 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_cmd() local
394 struct mt76_testmode_data *td = &dev->test; in mt76_testmode_dump_stats() local
[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-4.19/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-4.19/drivers/mtd/nand/raw/
Dnand_bbt.c95 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) in check_pattern_no_oob()
112 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
133 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
147 static u32 add_marker_len(struct nand_bbt_descr *td) in add_marker_len()
172 struct nand_bbt_descr *td, int offs) in read_bbt()
264 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_bbt()
291 struct nand_bbt_descr *td) in scan_read_data()
345 size_t len, struct nand_bbt_descr *td) in scan_read()
369 static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) in bbt_get_ver_offs()
389 struct nand_bbt_descr *td, struct nand_bbt_descr *md) in read_abs_bbts()
[all …]
/kernel/linux/linux-4.19/kernel/time/
Dtick-common.c177 static void tick_setup_device(struct tick_device *td, in tick_setup_device()
238 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local
303 struct tick_device *td; in tick_check_new_device() local
356 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_oneshot_control() local
391 struct tick_device *td = &per_cpu(tick_cpu_device, cpu); in tick_shutdown() local
417 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_suspend_local() local
431 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.c204 static void tick_setup_device(struct tick_device *td, in tick_setup_device()
279 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local
344 struct tick_device *td; in tick_check_new_device() local
397 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_oneshot_control() local
432 struct tick_device *td = &per_cpu(tick_cpu_device, cpu); in tick_shutdown() local
458 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_suspend_local() local
472 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_resume_local() local
/kernel/linux/linux-4.19/drivers/hid/
Dhid-multitouch.c368 struct mt_device *td = hid_get_drvdata(hdev); in mt_show_quirks() local
378 struct mt_device *td = hid_get_drvdata(hdev); in mt_set_quirks() local
443 struct mt_device *td = hid_get_drvdata(hdev); in mt_feature_mapping() local
515 static struct mt_application *mt_allocate_application(struct mt_device *td, in mt_allocate_application()
548 static struct mt_application *mt_find_application(struct mt_device *td, in mt_find_application()
566 static struct mt_report_data *mt_allocate_report_data(struct mt_device *td, in mt_allocate_report_data()
602 static struct mt_report_data *mt_find_report_data(struct mt_device *td, in mt_find_report_data()
670 struct mt_device *td = hid_get_drvdata(hdev); in mt_touch_input_mapping() local
857 static int mt_compute_slot(struct mt_device *td, struct mt_application *app, in mt_compute_slot()
878 static void mt_release_pending_palms(struct mt_device *td, in mt_release_pending_palms()
[all …]
/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-4.19/drivers/md/
Ddm-thin-metadata.c754 struct dm_thin_device *td, *tmp; in __write_changed_details() local
885 struct dm_thin_device *td, *tmp; in dm_pool_metadata_close() local
925 struct dm_thin_device **td) in __open_device()
986 static void __close_device(struct dm_thin_device *td) in __close_device()
998 struct dm_thin_device *td; in __create_thin() local
1052 struct dm_thin_device *td; in __set_snapshot_details() local
1074 struct dm_thin_device *td; in __create_snap() local
1142 struct dm_thin_device *td; in __delete_device() local
1380 struct dm_thin_device **td) in dm_pool_open_thin_device()
1392 int dm_pool_close_thin_device(struct dm_thin_device *td) in dm_pool_close_thin_device()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-thin-metadata.c795 struct dm_thin_device *td, *tmp; in __write_changed_details() local
941 struct dm_thin_device *td, *tmp; in dm_pool_metadata_close() local
982 struct dm_thin_device **td) in __open_device()
1043 static void __close_device(struct dm_thin_device *td) in __close_device()
1054 struct dm_thin_device *td; in __create_thin() local
1108 struct dm_thin_device *td; in __set_snapshot_details() local
1130 struct dm_thin_device *td; in __create_snap() local
1197 struct dm_thin_device *td; in __delete_device() local
1440 struct dm_thin_device **td) in dm_pool_open_thin_device()
1452 int dm_pool_close_thin_device(struct dm_thin_device *td) in dm_pool_close_thin_device()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_trc.c33 struct snic_trc_data *td = NULL; in snic_get_trc_buf() local
65 snic_fmt_trc_data(struct snic_trc_data *td, char *buf, int buf_sz) in snic_fmt_trc_data()
91 struct snic_trc_data *td = NULL; in snic_get_trc_data() local

12345678910