Home
last modified time | relevance | path

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

12345

/Linux-v5.10/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c60 static void default_result(struct tdescr *td, bool force_exit) in default_result()
84 static bool handle_signal_unsupported(struct tdescr *td, in handle_signal_unsupported()
106 static bool handle_signal_trigger(struct tdescr *td, in handle_signal_trigger()
116 static bool handle_signal_ok(struct tdescr *td, in handle_signal_ok()
162 static bool handle_signal_copyctx(struct tdescr *td, in handle_signal_copyctx()
201 static int default_setup(struct tdescr *td) in default_setup()
237 static inline int default_trigger(struct tdescr *td) in default_trigger()
242 int test_init(struct tdescr *td) in test_init()
289 int test_setup(struct tdescr *td) in test_setup()
305 int test_run(struct tdescr *td) in test_run()
[all …]
Dtest_signals_utils.h19 static inline bool feats_ok(struct tdescr *td) in feats_ok()
56 static __always_inline bool get_current_context(struct tdescr *td, in get_current_context()
/Linux-v5.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 …]
/Linux-v5.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
Dr8a66597-hcd.c628 static void pipe_setting(struct r8a66597 *r8a66597, struct r8a66597_td *td) in pipe_setting()
835 struct r8a66597_td *td, *next; in force_dequeue() local
1065 struct r8a66597_td *td) in prepare_setup_packet()
1084 struct r8a66597_td *td) in prepare_packet_read()
1126 struct r8a66597_td *td) in prepare_packet_write()
1159 struct r8a66597_td *td) in prepare_status_packet()
1194 static int start_transfer(struct r8a66597 *r8a66597, struct r8a66597_td *td) in start_transfer()
1226 static int check_transfer_finish(struct r8a66597_td *td, struct urb *urb) in check_transfer_finish()
1242 static void set_td_timer(struct r8a66597 *r8a66597, struct r8a66597_td *td) in set_td_timer()
1267 static void finish_request(struct r8a66597 *r8a66597, struct r8a66597_td *td, in finish_request()
[all …]
Dohci-mem.c79 struct td *td; in dma_to_td() local
93 struct td *td; in td_alloc() local
111 td_free (struct ohci_hcd *hc, struct td *td) in td_free()
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
Dfhci.h339 struct td { struct
342 unsigned int actual_len; /* actual bytes transferred on this td */ argument
365 * field for the corresponding structure td */ argument
Dohci.h88 struct td { struct
92 /* hwINFO bits for both general and iso tds: */ argument
132 struct td *td_hash; /* dma-->td hashtable */ argument
133 struct td *next_dl_td; argument
136 dma_addr_t td_dma; /* addr of this TD */ argument
139 struct list_head td_list; /* "shadow list", TDs on same ED */ argument
145 * Hardware transfer status codes -- CC from td->hwINFO or td->hwPSW argument
340 struct td *td[]; // all TDs in this request member
675 const struct td *td, int index) in ohci_hwPSWp()
682 const struct td *td, int index) in ohci_hwPSW()
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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
Dtick-broadcast.c247 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_receive_broadcast() local
267 struct tick_device *td; in tick_do_broadcast() local
320 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_handle_periodic_broadcast() local
359 struct tick_device *td; in tick_broadcast_control() local
587 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_check_oneshot_broadcast_this_cpu() local
606 struct tick_device *td; in tick_handle_oneshot_broadcast() local
870 struct tick_device *td; in tick_broadcast_init_next_event() local
/Linux-v5.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()
618 static struct mt_report_data *mt_find_report_data(struct mt_device *td, in mt_find_report_data()
686 struct mt_device *td = hid_get_drvdata(hdev); in mt_touch_input_mapping() local
872 static int mt_compute_slot(struct mt_device *td, struct mt_application *app, in mt_compute_slot()
893 static void mt_release_pending_palms(struct mt_device *td, in mt_release_pending_palms()
[all …]
/Linux-v5.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 …]
/Linux-v5.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
/Linux-v5.10/tools/perf/tests/
Dmmap-thread-lookup.c34 static int thread_init(struct thread_data *td) in thread_init()
56 struct thread_data *td = arg; in thread_fn() local
81 struct thread_data *td = &threads[i]; in thread_create() local
186 struct thread_data *td = &threads[i]; in mmap_events() local
/Linux-v5.10/arch/um/drivers/
Dvector_transports.c69 struct uml_l2tpv3_data *td = vp->transport_data; in l2tpv3_form_header() local
99 struct uml_gre_data *td = vp->transport_data; in gre_form_header() local
133 struct uml_l2tpv3_data *td = vp->transport_data; in l2tpv3_verify_header() local
170 struct uml_gre_data *td = vp->transport_data; in gre_verify_header() local
243 struct uml_gre_data *td; in build_gre_transport_data() local
305 struct uml_l2tpv3_data *td; in build_l2tpv3_transport_data() local
/Linux-v5.10/block/
Dblk-throttle.c115 struct throtl_data *td; member
286 static uint64_t throtl_adjusted_limit(uint64_t low, struct throtl_data *td) in throtl_adjusted_limit()
299 struct throtl_data *td; in tg_bps_limit() local
329 struct throtl_data *td; in tg_iops_limit() local
540 struct throtl_data *td = blkg->q->td; in throtl_pd_init() local
570 struct throtl_data *td = tg->td; in tg_update_has_rules() local
590 static void blk_throtl_update_limit_valid(struct throtl_data *td) in blk_throtl_update_limit_valid()
1265 struct throtl_data *td = sq_to_td(sq); in throtl_pending_timer_fn() local
1331 struct throtl_data *td = container_of(work, struct throtl_data, in blk_throtl_dispatch_work_fn() local
1775 struct throtl_data *td = q->td; in throtl_shutdown_wq() local
[all …]
/Linux-v5.10/drivers/dma/
Dtimb_dma.c114 struct timb_dma *td = tdchantotd(td_chan); in __td_enable_chan_irq() local
129 struct timb_dma *td = (struct timb_dma *)((u8 *)td_chan - in __td_dma_done_ack() local
258 static u32 __td_ier_mask(struct timb_dma *td) in __td_ier_mask()
568 struct timb_dma *td = from_tasklet(td, t, tasklet); in td_tasklet() local
597 struct timb_dma *td = devid; in td_irq() local
615 struct timb_dma *td; in td_probe() local
745 struct timb_dma *td = platform_get_drvdata(pdev); in td_remove() local

12345