/linux-master/drivers/usb/host/ |
H A D | xhci-ring.c | 109 static bool last_td_in_urb(struct xhci_td *td) argument 111 struct urb_priv *urb_priv = td->urb->hcpriv; 636 unsigned int stream_id, struct xhci_td *td) 661 * In this case driver can't find td, but if the ring is empty we 666 if (!td) { 674 xhci_warn(xhci, "Can't find new dequeue state, missing td\n"); 697 if (new_deq == td->last_trb) 769 struct xhci_td *td, bool flip_cycle) 771 struct xhci_segment *seg = td->start_seg; 772 union xhci_trb *trb = td 634 xhci_move_dequeue_past_td(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id, struct xhci_td *td) argument 768 td_to_noop(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, struct xhci_td *td, bool flip_cycle) argument 812 xhci_unmap_td_bounce_buffer(struct xhci_hcd *xhci, struct xhci_ring *ring, struct xhci_td *td) argument 846 xhci_td_cleanup(struct xhci_hcd *xhci, struct xhci_td *td, struct xhci_ring *ep_ring, int status) argument 899 struct xhci_td *td, *tmp_td; local 943 xhci_handle_halted_endpoint(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_td *td, enum xhci_ep_reset_type reset_type) argument 996 struct xhci_td *td = NULL; local 1080 struct xhci_td *td; local 1110 struct xhci_td *td = NULL; local 1352 struct xhci_td *td, *tmp_td; local 2120 xhci_clear_hub_tt_buffer(struct xhci_hcd *xhci, struct xhci_td *td, struct xhci_virt_ep *ep) argument 2177 finish_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, u32 trb_comp_code) argument 2276 process_ctrl_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) argument 2372 process_isoc_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) argument 2473 skip_isoc_td(struct xhci_hcd *xhci, struct xhci_td *td, struct xhci_virt_ep *ep, int status) argument 2501 process_bulk_intr_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) argument 2585 struct xhci_td *td = NULL; local 3317 struct xhci_td *td; local 3598 struct xhci_td *td; local 3765 struct xhci_td *td; local 4058 struct xhci_td *td; local [all...] |
H A D | uhci-debug.c | 43 static int uhci_show_td(struct uhci_hcd *uhci, struct uhci_td *td, char *buf, argument 50 status = td_status(uhci, td); 51 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, 52 hc32_to_cpu(uhci, td->link)); 69 token = td_token(uhci, td); 92 out += sprintf(out, "(buf=%08x)\n", hc32_to_cpu(uhci, td->buffer)); 104 struct uhci_td *td; local 139 list_for_each_entry(td, &urbp->td_list, list) { 143 out += uhci_show_td(uhci, td, out, 148 if (td_status(uhci, td) 222 struct uhci_td *td = list_entry(urbp->td_list.next, local 379 struct uhci_td *td; local [all...] |
H A D | ohci-dbg.c | 256 const struct td *td) 258 u32 tmp = hc32_to_cpup (ohci, &td->hwINFO); 260 ohci_dbg (ohci, "%s td %p%s; urb %p index %d; hw next td %08x\n", 261 label, td, 263 td->urb, td->index, 264 hc32_to_cpup (ohci, &td->hwNextTD)); 285 cbp = hc32_to_cpup (ohci, &td 255 ohci_dump_td(const struct ohci_hcd *ohci, const char *label, const struct td *td) argument 351 struct td *td; local 416 struct td *td; local [all...] |
H A D | ohci.h | 45 struct td *dummy; /* next TD to activate */ 74 struct td *pending_td; 88 struct td { struct 132 struct td *td_hash; /* dma-->td hashtable */ 133 struct td *next_dl_td; 145 * Hardware transfer status codes -- CC from td->hwINFO or td->hwPSW 340 struct td *td[] __counted_b 674 ohci_hwPSWp(const struct ohci_hcd *ohci, const struct td *td, int index) argument 681 ohci_hwPSW(const struct ohci_hcd *ohci, const struct td *td, int index) argument [all...] |
H A D | fhci.h | 336 struct td *td_head; /* a pointer to the current TD handled */ 339 struct td { struct 342 unsigned int actual_len; /* actual bytes transferred on this td */ 365 * field for the corresponding structure td */ 390 struct td **tds; 514 void fhci_recycle_empty_td(struct fhci_hcd *fhci, struct td *td); 517 struct td *fhci_td_fill(struct fhci_hcd *fhci, struct urb *urb, 521 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number); 565 struct td *fhci_remove_td_from_e [all...] |
/linux-master/tools/testing/selftests/arm64/signal/testcases/ |
H A D | ssve_za_regs.c | 23 static bool sme_get_vls(struct tdescr *td) argument 67 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, argument 90 if (!get_current_context(td, &context.uc, sizeof(context))) 140 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument 145 if (do_one_sme_vl(td, si, uc, vls[i])) 149 td->pass = 1;
|
H A D | fake_sigreturn_missing_fpsimd.c | 19 static int fake_sigreturn_missing_fpsimd_run(struct tdescr *td, argument 26 if (!get_current_context(td, &sf.uc, sizeof(sf.uc)))
|
H A D | fake_sigreturn_duplicated_fpsimd.c | 18 static int fake_sigreturn_duplicated_fpsimd_run(struct tdescr *td, argument 24 if (!get_current_context(td, &sf.uc, sizeof(sf.uc)))
|
H A D | mangle_pstate_invalid_mode_template.h | 10 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, \
|
H A D | fake_sigreturn_sme_change_vl.c | 20 static bool sme_get_vls(struct tdescr *td) argument 49 static int fake_sigreturn_ssve_change_vl(struct tdescr *td, argument 57 if (!get_current_context(td, &sf.uc, sizeof(sf.uc)))
|
H A D | zt_regs.c | 27 int zt_regs_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument 39 if (!get_current_context(td, &context.uc, sizeof(context))) 74 td->pass = 1;
|
H A D | fake_sigreturn_bad_size.c | 20 static int fake_sigreturn_bad_size_run(struct tdescr *td, argument 27 if (!get_current_context(td, &sf.uc, sizeof(sf.uc)))
|
/linux-master/kernel/time/ |
H A D | tick-broadcast.c | 330 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); local 331 struct clock_event_device *evt = td->evtdev; 349 struct tick_device *td; local 381 td = &per_cpu(tick_cpu_device, cpumask_first(mask)); 382 td->evtdev->broadcast(mask); 402 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); local 428 td->evtdev->event_handler(td->evtdev); 441 struct tick_device *td; local 447 td 673 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); local 692 struct tick_device *td; local 796 ___tick_broadcast_oneshot_control(enum tick_broadcast_state state, struct tick_device *td, int cpu) argument 934 tick_oneshot_wakeup_control(enum tick_broadcast_state state, struct tick_device *td, int cpu) argument 965 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); local 995 struct tick_device *td; local [all...] |
H A D | tick-oneshot.c | 75 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); local 76 struct clock_event_device *dev = td->evtdev; 94 td->mode = TICKDEV_MODE_ONESHOT;
|
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | debugfs.c | 83 struct tssi_data *td = &dev->ee->tssi_data; local 115 seq_printf(file, "\t slope:%02hhx\n", td->slope); 117 td->offset[0], td->offset[1], td->offset[2]); 118 seq_printf(file, "\t delta_off:%08x\n", td->tx0_delta_offset);
|
/linux-master/tools/perf/bench/ |
H A D | numa.c | 538 struct thread_data *td; local 631 td = g->threads + t; 641 td->bind_cpumask = CPU_ALLOC(g->p.nr_cpus); 642 BUG_ON(!td->bind_cpumask); 643 CPU_ZERO_S(size, td->bind_cpumask); 646 CPU_FREE(td->bind_cpumask); 649 CPU_SET_S(cpu, size, td->bind_cpumask); 686 struct thread_data *td; local 758 td = g->threads + t; 765 td 936 struct thread_data *td; local 975 struct thread_data *td; local 1049 struct thread_data *td = g->threads + t; local 1155 struct thread_data *td = __tdata; local 1353 struct thread_data *td; local 1434 struct thread_data *td = g->threads + t; local 1457 struct thread_data *td = g->threads + t; local 1720 struct thread_data *td; local [all...] |
/linux-master/drivers/char/agp/ |
H A D | isoch.c | 80 struct pci_dev *td = bridge->dev, *dev; local 119 pci_read_config_dword(td, bridge->capndx+AGPNISTAT, &tnistat); 120 pci_read_config_dword(td, bridge->capndx+AGPSTAT, &tstatus); 155 dev_err(&td->dev, "isochronous bandwidth required " 170 pci_read_config_word(td, bridge->capndx+AGPNICMD, &tnicmd); 173 pci_write_config_word(td, bridge->capndx+AGPNICMD, tnicmd); 176 pci_read_config_dword(td, bridge->capndx+AGPNISTAT, &tnistat); 190 dev_err(&td->dev, "number of isochronous " 231 dev_err(&td->dev, "number of request queue slots " 315 struct pci_dev *td local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_common.c | 81 MLX5_SET(tisc, tisc, transport_domain, mdev->mlx5e_res.hw_objs.td.tdn); 154 err = mlx5_core_alloc_transport_domain(mdev, &res->td.tdn); 156 mlx5_core_err(mdev, "alloc td failed, %d\n", err); 181 INIT_LIST_HEAD(&res->td.tirs_list); 182 mutex_init(&res->td.list_lock); 198 mlx5_core_dealloc_transport_domain(mdev, res->td.tdn); 214 mlx5_core_dealloc_transport_domain(mdev, res->td.tdn); 246 mutex_lock(&mdev->mlx5e_res.hw_objs.td.list_lock); 247 list_for_each_entry(tir, &mdev->mlx5e_res.hw_objs.td.tirs_list, list) { 253 mutex_unlock(&mdev->mlx5e_res.hw_objs.td [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.c | 258 struct mt76_testmode_data *td = &mphy->test; local 268 rate.mcs = td->tx_rate_idx; 269 rate.nss = td->tx_rate_nss; 271 switch (td->tx_rate_mode) { 287 if (td->tx_rate_sgi) 293 if (td->tx_rate_sgi) 300 rate.he_gi = td->tx_rate_sgi; 437 struct mt76_testmode_data *td = &phy->mt76->test; local 440 u8 duty_cycle = td->tx_duty_cycle; 441 u32 tx_time = td 517 struct mt76_testmode_data *td = &phy->mt76->test; local 638 struct mt76_testmode_data *td = &phy->mt76->test; local 650 struct mt76_testmode_data *td = &mphy->test; local 693 struct mt76_testmode_data *td = &mphy->test; local [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 149 struct ip_vs_est_tick_data *td; local 153 td = rcu_dereference(kd->ticks[row]); 154 if (!td) 156 for_each_set_bit(cid, td->present, IPVS_EST_TICK_CHAINS) { 159 ip_vs_chain_estimation(&td->chains[cid]); 161 td = rcu_dereference(kd->ticks[row]); 162 if (!td) 394 struct ip_vs_est_tick_data *td; local 444 td = rcu_dereference_protected(kd->ticks[row], 1); 445 if (!td) { 524 struct ip_vs_est_tick_data *td; local 739 struct ip_vs_est_tick_data *td; local [all...] |
/linux-master/drivers/thermal/intel/ |
H A D | intel_bxt_pmic_thermal.c | 157 struct pmic_thermal_data *td; local 166 td = (struct pmic_thermal_data *) 170 for (i = 0; i < td->num_maps; i++) { 171 for (j = 0; j < td->maps[i].num_trips; j++) { 172 reg = td->maps[i].trip_config[j].irq_reg; 173 mask = td->maps[i].trip_config[j].irq_mask; 191 evt_stat_reg = td->maps[i].trip_config[j].evt_stat; 195 tzd = thermal_zone_get_zone_by_name(td->maps[i].handle);
|
/linux-master/drivers/usb/chipidea/ |
H A D | udc.h | 54 struct ci_hw_td td; member in struct:ci_hw_qh 61 struct list_head td; member in struct:td_node
|
/linux-master/drivers/usb/cdns3/ |
H A D | cdnsp-ring.c | 367 struct cdnsp_td *td, *td_temp; local 380 list_for_each_entry_safe(td, td_temp, &ep_ring->td_list, 382 if (td->drbl) 387 td->drbl = 1; 505 struct cdnsp_td *td, 508 struct cdnsp_segment *seg = td->start_seg; 509 union cdnsp_trb *trb = td->first_trb; 515 if (flip_cycle && trb != td->first_trb && trb != td->last_trb) 518 if (trb == td 503 cdnsp_td_to_noop(struct cdnsp_device *pdev, struct cdnsp_ring *ep_ring, struct cdnsp_td *td, bool flip_cycle) argument 597 cdnsp_unmap_td_bounce_buffer(struct cdnsp_device *pdev, struct cdnsp_ring *ring, struct cdnsp_td *td) argument 889 cdnsp_td_cleanup(struct cdnsp_device *pdev, struct cdnsp_td *td, struct cdnsp_ring *ep_ring, int *status) argument 915 cdnsp_finish_td(struct cdnsp_device *pdev, struct cdnsp_td *td, struct cdnsp_transfer_event *event, struct cdnsp_ep *ep, int *status) argument 992 cdnsp_process_ctrl_td(struct cdnsp_device *pdev, struct cdnsp_td *td, union cdnsp_trb *event_trb, struct cdnsp_transfer_event *event, struct cdnsp_ep *pep, int *status) argument 1040 cdnsp_process_isoc_td(struct cdnsp_device *pdev, struct cdnsp_td *td, union cdnsp_trb *ep_trb, struct cdnsp_transfer_event *event, struct cdnsp_ep *pep, int status) argument 1104 cdnsp_skip_isoc_td(struct cdnsp_device *pdev, struct cdnsp_td *td, struct cdnsp_transfer_event *event, struct cdnsp_ep *pep, int status) argument 1128 cdnsp_process_bulk_intr_td(struct cdnsp_device *pdev, struct cdnsp_td *td, union cdnsp_trb *ep_trb, struct cdnsp_transfer_event *event, struct cdnsp_ep *ep, int *status) argument 1205 struct cdnsp_td *td, *td_temp; local 1236 struct cdnsp_td *td; local [all...] |
/linux-master/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 434 struct sgiseeq_tx_desc *td; local 443 td = &sp->tx_desc[i]; 444 dma_sync_desc_cpu(dev, td); 445 while ((td->tdma.cntinfo & (HPCDMA_XIU | HPCDMA_ETXD)) == 448 td = &sp->tx_desc[i]; 449 dma_sync_desc_cpu(dev, td); 451 if (td->tdma.cntinfo & HPCDMA_XIU) { 452 dma_sync_desc_dev(dev, td); 453 hregs->tx_ndptr = VIRT_TO_DMA(sp, td); 462 struct sgiseeq_tx_desc *td; local 596 struct sgiseeq_tx_desc *td; local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | testmode.c | 175 struct mt76_testmode_data *td = &phy->mt76->test; local 176 u8 mask = td->tx_antenna_mask; 245 struct mt76_testmode_data *td = &phy->mt76->test; local 250 en, en && td->tx_power_control); 253 en, en ? td->freq_offset : 0); 262 struct mt76_testmode_data *td = &mphy->test; local 263 enum mt76_testmode_state prev_state = td->state; 285 if (td->param_set[cur / 32] & BIT(cur % 32)) 299 struct mt76_testmode_data *td = &mphy->test; local 307 td [all...] |