Home
last modified time | relevance | path

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

1234

/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 …]
/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
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 …]
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
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()
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
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()
Dxhci-ring.c110 static bool last_td_in_urb(struct xhci_td *td) in last_td_in_urb()
590 unsigned int stream_id, struct xhci_td *td) in xhci_move_dequeue_past_td()
723 struct xhci_td *td, bool flip_cycle) in td_to_noop()
775 struct xhci_ring *ring, struct xhci_td *td) in xhci_unmap_td_bounce_buffer()
808 static int xhci_td_cleanup(struct xhci_hcd *xhci, struct xhci_td *td, in xhci_td_cleanup()
861 struct xhci_td *td, *tmp_td; in xhci_giveback_invalidated_tds() local
907 struct xhci_td *td, in xhci_handle_halted_endpoint()
958 struct xhci_td *td = NULL; in xhci_invalidate_cancelled_tds() local
1042 struct xhci_td *td; in find_halted_td() local
1072 struct xhci_td *td = NULL; in xhci_handle_cmd_stop_ep() local
[all …]
Duhci-debug.c43 static int uhci_show_td(struct uhci_hcd *uhci, struct uhci_td *td, char *buf, in uhci_show_td()
104 struct uhci_td *td; in uhci_show_urbp() local
222 struct uhci_td *td = list_entry(urbp->td_list.next, in uhci_show_qh() local
379 struct uhci_td *td; in uhci_sprint_schedule() local
Dfhci-hcd.c171 struct td *td; in fhci_mem_free() local
217 struct td *td; in fhci_mem_init() local
519 struct td *td = fhci_remove_td_from_ed(ed); in fhci_endpoint_disable() local
/drivers/net/wireless/mediatek/mt76/
Dtestmode.c29 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_pending() local
91 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_free_skb() local
102 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_alloc_skb() local
177 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_init() local
269 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_start() local
281 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_stop() local
297 mt76_testmode_param_set(struct mt76_testmode_data *td, u16 idx) in mt76_testmode_param_set()
303 mt76_testmode_param_present(struct mt76_testmode_data *td, u16 idx) in mt76_testmode_param_present()
311 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_init_defaults() local
359 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_set_state() local
[all …]
/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 …]
/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 …]
/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 …]
/drivers/md/
Ddm-thin-metadata.c829 struct dm_thin_device *td, *tmp; in __write_changed_details() local
975 struct dm_thin_device *td, *tmp; in dm_pool_metadata_close() local
1016 struct dm_thin_device **td) in __open_device()
1077 static void __close_device(struct dm_thin_device *td) in __close_device()
1088 struct dm_thin_device *td; in __create_thin() local
1142 struct dm_thin_device *td; in __set_snapshot_details() local
1164 struct dm_thin_device *td; in __create_snap() local
1231 struct dm_thin_device *td; in __delete_device() local
1474 struct dm_thin_device **td) in dm_pool_open_thin_device()
1486 int dm_pool_close_thin_device(struct dm_thin_device *td) in dm_pool_close_thin_device()
[all …]
/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
/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
/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c175 struct mt76_testmode_data *td = &phy->mt76->test; in mt7615_tm_set_tx_antenna() local
246 struct mt76_testmode_data *td = &phy->mt76->test; in mt7615_tm_update_params() local
263 struct mt76_testmode_data *td = &mphy->test; in mt7615_tm_set_state() local
300 struct mt76_testmode_data *td = &mphy->test; in mt7615_tm_set_params() local
/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c259 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_tx_len() local
417 struct mt76_testmode_data *td = &phy->mt76->test; in mt7915_tm_set_tx_frames() local
499 struct mt76_testmode_data *td = &phy->mt76->test; in mt7915_tm_set_tx_cont() local
617 struct mt76_testmode_data *td = &phy->mt76->test; in mt7915_tm_update_params() local
629 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_state() local
672 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_params() local
/drivers/usb/cdns3/
Dcdnsp-ring.c367 struct cdnsp_td *td, *td_temp; in cdnsp_ring_doorbell_for_active_rings() local
505 struct cdnsp_td *td, in cdnsp_td_to_noop()
599 struct cdnsp_td *td) in cdnsp_unmap_td_bounce_buffer()
890 struct cdnsp_td *td, in cdnsp_td_cleanup()
916 struct cdnsp_td *td, in cdnsp_finish_td()
993 struct cdnsp_td *td, in cdnsp_process_ctrl_td()
1041 struct cdnsp_td *td, in cdnsp_process_isoc_td()
1105 struct cdnsp_td *td, in cdnsp_skip_isoc_td()
1129 struct cdnsp_td *td, in cdnsp_process_bulk_intr_td()
1205 struct cdnsp_td *td, *td_temp; in cdnsp_handle_tx_nrdy() local
[all …]
/drivers/net/ethernet/apple/
Dmace.c433 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_open() local
503 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_close() local
532 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_xmit_start() local
662 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_interrupt() local
808 volatile struct dbdma_regs __iomem *td = mp->tx_dma; in mace_tx_timeout() local

1234