Home
last modified time | relevance | path

Searched refs:td (Results 1 – 25 of 107) sorted by relevance

12345

/drivers/clk/tegra/
A Dclk-dfll.c745 td->lut_min = td->lut_bottom; in dfll_init_out_if()
746 td->lut_max = td->lut_size - 1; in dfll_init_out_if()
747 td->lut_safe = td->lut_min + (td->lut_min < td->lut_max ? 1 : 0); in dfll_init_out_if()
1187 td->dfll_clk = clk_register(td->dev, &td->dfll_clk_hw); in dfll_register_clk()
1367 if (!td || (td->mode == DFLL_UNINITIALIZED)) in dfll_debug_init()
1426 td->ref_clk = devm_clk_get(td->dev, "ref"); in dfll_init_clks()
1432 td->soc_clk = devm_clk_get(td->dev, "soc"); in dfll_init_clks()
1438 td->i2c_clk = devm_clk_get(td->dev, "i2c"); in dfll_init_clks()
1443 td->i2c_clk_rate = clk_get_rate(td->i2c_clk); in dfll_init_clks()
1461 td->ref_rate = clk_get_rate(td->ref_clk); in dfll_init()
[all …]
/drivers/usb/host/
A Dfhci-q.c63 struct td *td = td_list[i]; in fhci_add_tds_to_ed() local
72 struct td *td; in peek_td_from_ed() local
75 td = list_entry(ed->td_list.next, struct td, node); in peek_td_from_ed()
79 return td; in peek_td_from_ed()
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() argument
[all …]
A Dfhci-mem.c23 static void init_td(struct td *td) in init_td() argument
25 memset(td, 0, sizeof(*td)); in init_td()
39 struct td *td; in get_empty_td() local
42 td = list_entry(fhci->empty_tds.next, struct td, node); in get_empty_td()
45 td = kmalloc(sizeof(*td), GFP_ATOMIC); in get_empty_td()
46 if (!td) in get_empty_td()
52 return td; in get_empty_td()
57 init_td(td); in fhci_recycle_empty_td()
90 struct td *td = get_empty_td(fhci); in fhci_td_fill() local
92 if (!td) in fhci_td_fill()
[all …]
A Dohci-mem.c79 struct td *td; in dma_to_td() local
83 while (td && td->td_dma != td_dma) in dma_to_td()
84 td = td->td_hash; in dma_to_td()
85 return td; in dma_to_td()
89 static struct td *
93 struct td *td; in td_alloc() local
101 if (td) { in td_alloc()
107 return td; in td_alloc()
111 td_free (struct ohci_hcd *hc, struct td *td) in td_free() argument
113 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; in td_free()
[all …]
A Dfhci-tds.c79 return ++td; in next_bd()
211 td = ep->td_base; in fhci_create_ep()
217 td++; in fhci_create_ep()
219 td--; in fhci_create_ep()
293 td = ep->conf_td; in fhci_td_transaction_confirm()
474 td = ep->td_base; in fhci_flush_bds()
490 td++; in fhci_flush_bds()
495 td = ep->td_base; in fhci_flush_bds()
501 td++; in fhci_flush_bds()
549 td = next_bd(ep->td_base, td, td_status); in fhci_flush_actual_frame()
[all …]
A Dohci-q.c20 struct td *td; in urb_free_priv() local
23 td = urb_priv->td [i]; in urb_free_priv()
414 struct td *td; in ed_get() local
520 struct td *td, *td_pt; in td_fill() local
581 td->ed->hwTailP = td->hwNextTD; in td_fill()
824 urb, td, 1 + td->index, cc, in td_done()
926 ohci->dl_end = td->next_dl_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
[all …]
A Dfhci-sched.c42 struct td *td; in fhci_transaction_confirm() local
53 if ((td->data + td->actual_len) && trans_len) in fhci_transaction_confirm()
54 memcpy(td->data + td->actual_len, pkt->data, in fhci_transaction_confirm()
88 td->toggle = !td->toggle; in fhci_transaction_confirm()
110 td->toggle = !td->toggle; in fhci_transaction_confirm()
113 if (td->len == td->actual_len) in fhci_transaction_confirm()
129 struct td *td; in fhci_flush_all_transmissions() local
175 ((len + td->actual_len) == td->len))) in add_packet()
176 data = td->data + td->actual_len; in add_packet()
280 struct td *td; in scan_ed_list() local
[all …]
A Duhci-q.c112 if (!td) in uhci_alloc_td()
121 return td; in uhci_alloc_td()
131 dma_pool_free(uhci->td_pool, td, td->dma_handle); in uhci_free_td()
191 if (uhci->frame_cpu[td->frame] == td) { in uhci_remove_td_from_frame_list()
193 uhci->frame[td->frame] = td->link; in uhci_remove_td_from_frame_list()
845 if (!td) in uhci_submit_control()
865 if (!td) in uhci_submit_control()
882 if (!td) in uhci_submit_control()
1011 if (!td) in uhci_submit_common()
1037 if (!td) in uhci_submit_common()
[all …]
A Dr8a66597-hcd.c848 kfree(td); in force_dequeue()
1235 (td->short_packet) || (td->zero_packet)) in check_transfer_finish()
1261 mod_timer(&r8a66597->timers[td->pipenum].td, in set_td_timer()
1282 kfree(td); in finish_request()
1484 if (td) { in get_urb_error()
1507 if (td && td->type == USB_PID_IN) in irq_pipe_ready()
1543 if (td && td->type != USB_PID_OUT) in irq_pipe_empty()
1560 finish_request(r8a66597, td, pipenum, td->urb, in irq_pipe_empty()
1739 if (td) in r8a66597_interval_timer()
1880 return td; in r8a66597_make_td()
[all …]
A Dxhci-ring.c1052 td->start_seg, td->start_trb), in xhci_invalidate_cancelled_tds()
1053 td->urb->stream_id, td->urb); in xhci_invalidate_cancelled_tds()
1058 td->urb, td->urb->stream_id); in xhci_invalidate_cancelled_tds()
1084 td->urb->stream_id, td->urb); in xhci_invalidate_cancelled_tds()
2165 td->urb->ep->hcpriv = td->urb->dev; in xhci_clear_hub_tt_buffer()
2257 td->start_seg, td->start_trb)); in finish_td()
2830 if (td && td->error_mid_td && !trb_in_td(td, ep_trb_dma)) { in handle_tx_event()
3369 td = &urb_priv->td[td_index]; in prepare_transfer()
3673 td = &urb_priv->td[0]; in xhci_queue_bulk_tx()
3839 td = &urb_priv->td[0]; in xhci_queue_ctrl_tx()
[all …]
/drivers/net/wireless/mediatek/mt76/
A Dtestmode.c47 tx_queued_limit = td->tx_queued_limit ? td->tx_queued_limit : 1000; in mt76_testmode_tx_pending()
52 td->tx_queued - td->tx_done < tx_queued_limit && in mt76_testmode_tx_pending()
61 td->tx_pending--; in mt76_testmode_tx_pending()
62 td->tx_queued++; in mt76_testmode_tx_pending()
98 td->tx_skb = NULL; in mt76_testmode_free_skb()
233 ieee80211_rate_set_vht(rate, td->tx_rate_idx, td->tx_rate_nss); in mt76_testmode_tx_init()
276 td->tx_done = 0; in mt76_testmode_tx_start()
277 td->tx_pending = td->tx_count; in mt76_testmode_tx_start()
293 wait_event_timeout(dev->tx_wait, td->tx_done == td->tx_queued, in mt76_testmode_tx_stop()
320 td->tx_count = 1; in mt76_testmode_init_defaults()
[all …]
/drivers/usb/c67x00/
A Dc67x00-sched.c82 #define td_udev(td) ((td)->ep_data->dev) argument
115 #define td_residue(td) ((__s8)(td->residue)) 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
577 td = kzalloc(sizeof(*td), GFP_ATOMIC); in c67x00_create_td()
619 td->dev_addr = usb_pipedevice(td->pipe) & 0x7F; in c67x00_create_td()
833 td->td_addr, td, CY_TD_SIZE); in c67x00_parse_td()
837 td->data, td_actual_bytes(td)); in c67x00_parse_td()
869 maxps = usb_maxpacket(td_udev(td), td->pipe); in c67x00_end_of_data()
[all …]
/drivers/mtd/nand/raw/
A Dnand_bbt.c92 if (memcmp(buf, td->pattern, td->len)) in check_pattern_no_oob()
113 if (memcmp(buf + paglen + td->offs, td->pattern, td->len)) in check_pattern()
131 if (memcmp(buf + td->offs, td->pattern, td->len)) in check_short_pattern()
398 td->version[0] = buf[bbt_get_ver_offs(this, td)]; in read_abs_bbts()
400 td->pages[0], td->version[0]); in read_abs_bbts()
614 td->pages[i], td->version[i]); in search_bbt()
861 memcpy(buf, td->pattern, td->len); in write_bbt()
873 memcpy(&buf[ooboffs + td->offs], td->pattern, td->len); in write_bbt()
877 buf[ooboffs + td->veroffs] = td->version[chip]; in write_bbt()
980 rd = td; in check_create()
[all …]
/drivers/media/platform/st/sti/hva/
A Dhva-h264.c396 struct hva_h264_td td; member
598 struct hva_h264_td *td = &task->td; in hva_h264_prepare_task() local
658 td->framerate_den = 1; in hva_h264_prepare_task()
670 td->bit_rate /= td->framerate_num; in hva_h264_prepare_task()
712 td->brc_no_skip = 0; in hva_h264_prepare_task()
716 td->bit_rate) in hva_h264_prepare_task()
717 td->delay = 1000 * (td->cpb_buffer_size / td->bit_rate); in hva_h264_prepare_task()
719 td->delay = 0; in hva_h264_prepare_task()
752 td->quant = 28; in hva_h264_prepare_task()
762 td->brc_type = 0; in hva_h264_prepare_task()
[all …]
/drivers/dma/
A Dtimb_dma.c568 struct timb_dma *td = from_tasklet(td, t, tasklet); in td_tasklet() local
615 struct timb_dma *td; in td_probe() local
638 td = kzalloc(struct_size(td, channels, pdata->nr_channels), in td_probe()
640 if (!td) { in td_probe()
648 if (!td->membase) { in td_probe()
730 free_irq(irq, td); in td_probe()
733 iounmap(td->membase); in td_probe()
735 kfree(td); in td_probe()
750 free_irq(irq, td); in td_remove()
752 iounmap(td->membase); in td_remove()
[all …]
/drivers/md/
A Ddm-thin-metadata.c860 key = td->id; in __write_changed_details()
877 kfree(td); in __write_changed_details()
1006 kfree(td); in dm_pool_metadata_close()
1057 *td = td2; in __open_device()
1080 *td = kmalloc(sizeof(**td), GFP_NOIO); in __open_device()
1081 if (!*td) in __open_device()
1085 (*td)->id = dev; in __open_device()
1266 kfree(td); in __delete_device()
1519 return td->id; in dm_thin_dev_id()
1818 r = td->changed; in dm_thin_changed_this_transaction()
[all …]
A Ddm-thin-metadata.h130 struct dm_thin_device **td);
132 int dm_pool_close_thin_device(struct dm_thin_device *td);
134 dm_thin_id dm_thin_dev_id(struct dm_thin_device *td);
147 int dm_thin_find_block(struct dm_thin_device *td, dm_block_t block,
154 int dm_thin_find_mapped_range(struct dm_thin_device *td,
167 int dm_thin_insert_block(struct dm_thin_device *td, dm_block_t block,
170 int dm_thin_remove_range(struct dm_thin_device *td,
176 bool dm_thin_changed_this_transaction(struct dm_thin_device *td);
180 bool dm_thin_aborted_changes(struct dm_thin_device *td);
182 int dm_thin_get_highest_mapped_block(struct dm_thin_device *td,
[all …]
/drivers/scsi/snic/
A Dsnic_trc.c19 struct snic_trc_data *td = NULL; in snic_get_trc_buf() local
23 td = &trc->buf[trc->wr_idx]; in snic_get_trc_buf()
44 return td; in snic_get_trc_buf()
62 td->fn, in snic_fmt_trc_data()
63 td->hno, in snic_fmt_trc_data()
64 td->tag, in snic_fmt_trc_data()
65 td->data[0], td->data[1], td->data[2], td->data[3], in snic_fmt_trc_data()
66 td->data[4]); in snic_fmt_trc_data()
77 struct snic_trc_data *td = NULL; in snic_get_trc_data() local
87 td = &trc->buf[trc->rd_idx]; in snic_get_trc_data()
[all …]
/drivers/thermal/
A Dthermal_core.c280 struct thermal_trip_desc *td; in thermal_zone_broken_disable() local
290 for_each_trip_desc(tz, td) { in thermal_zone_broken_disable()
423 list_del(&td->list_node); in move_trip_to_sorted_list()
438 td->threshold = td->trip.temperature; in move_to_trips_high()
445 td->threshold = td->trip.temperature - td->trip.hysteresis; in move_to_trips_reached()
452 td->threshold = INT_MAX; in move_to_trips_invalid()
600 *low = td->threshold - 1; in thermal_zone_handle_trips()
605 *high = td->threshold; in thermal_zone_handle_trips()
852 dev->trip = &td->trip; in thermal_bind_cdev_to_trip()
1322 for_each_trip_desc(tz, td) in __thermal_zone_cdev_unbind()
[all …]
A Dgov_fair_share.c21 const struct thermal_trip_desc *td; in get_trip_level() local
24 for_each_trip_desc(tz, td) { in get_trip_level()
25 if (td->threshold > tz->temperature) in get_trip_level()
30 if (!level_td || td->threshold > level_td->threshold) in get_trip_level()
31 level_td = td; in get_trip_level()
64 const struct thermal_trip_desc *td, in fair_share_throttle() argument
71 list_for_each_entry(instance, &td->thermal_instances, trip_node) { in fair_share_throttle()
99 const struct thermal_trip_desc *td; in fair_share_manage() local
103 for_each_trip_desc(tz, td) { in fair_share_manage()
104 const struct thermal_trip *trip = &td->trip; in fair_share_manage()
[all …]
A Dgov_step_wise.c69 const struct thermal_trip_desc *td, in thermal_zone_trip_update() argument
72 const struct thermal_trip *trip = &td->trip; in thermal_zone_trip_update()
86 list_for_each_entry(instance, &td->thermal_instances, trip_node) { in thermal_zone_trip_update()
108 const struct thermal_trip_desc *td; in step_wise_manage() local
120 for_each_trip_desc(tz, td) { in step_wise_manage()
121 const struct thermal_trip *trip = &td->trip; in step_wise_manage()
128 thermal_zone_trip_update(tz, td, td->threshold); in step_wise_manage()
131 for_each_trip_desc(tz, td) { in step_wise_manage()
132 list_for_each_entry(instance, &td->thermal_instances, trip_node) in step_wise_manage()
/drivers/hid/
A Dhid-multitouch.c511 if (!td->maxcontacts && in mt_feature_mapping()
516 td->maxcontacts = td->mtclass.maxcontacts; in mt_feature_mapping()
1352 if (!td->maxcontacts) in mt_touch_input_configured()
1355 mt_post_parse(td, app); in mt_touch_input_configured()
1356 if (td->serial_maybe) in mt_touch_input_configured()
1377 if (td->is_buttonpad) in mt_touch_input_configured()
1790 struct mt_device *td = timer_container_of(td, t, release_timer); in mt_expired_timeout() local
1807 struct mt_device *td; in mt_probe() local
1818 if (!td) { in mt_probe()
1822 td->hdev = hdev; in mt_probe()
[all …]
/drivers/usb/chipidea/
A Dtrace.h41 TP_PROTO(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, struct td_node *td),
42 TP_ARGS(hwep, hwreq, td),
45 __field(struct td_node *, td)
56 __entry->td = td;
57 __entry->dma = td->dma;
58 __entry->td_remaining_size = td->td_remaining_size;
59 __entry->next = le32_to_cpu(td->ptr->next);
60 __entry->token = le32_to_cpu(td->ptr->token);
65 __get_str(name), __entry->req, __entry->td, &__entry->dma,
74 TP_ARGS(hwep, hwreq, td)
[all …]
/drivers/pmdomain/
A Dgovernor.c22 struct gpd_timing_data *td = dev_gpd_data(dev)->td; in dev_update_qos_constraint() local
31 constraint_ns = td ? td->effective_constraint_ns : in dev_update_qos_constraint()
58 struct gpd_timing_data *td = dev_gpd_data(dev)->td; in default_suspend_ok() local
66 if (!td->constraint_changed) { in default_suspend_ok()
72 td->constraint_changed = false; in default_suspend_ok()
73 td->cached_suspend_ok = false; in default_suspend_ok()
95 td->cached_suspend_ok = true; in default_suspend_ok()
106 td->resume_latency_ns; in default_suspend_ok()
123 return td->cached_suspend_ok; in default_suspend_ok()
219 struct gpd_timing_data *td; in __default_power_down_ok() local
[all …]
/drivers/usb/cdns3/
A Dcdnsp-ring.c383 if (td->drbl) in cdnsp_ring_doorbell_for_active_rings()
388 td->drbl = 1; in cdnsp_ring_doorbell_for_active_rings()
516 if (flip_cycle && trb != td->first_trb && trb != td->last_trb) in cdnsp_td_to_noop()
609 preq = td->preq; in cdnsp_unmap_td_bounce_buffer()
708 cur_td = &preq->td; in cdnsp_remove_request()
1019 td->preq->request.actual = td->preq->request.length - remaining; in cdnsp_process_ctrl_td()
1024 td->preq->request.actual = td->preq->request.length; in cdnsp_process_ctrl_td()
1219 td->drbl = 0; in cdnsp_handle_tx_nrdy()
1241 struct cdnsp_td *td; in cdnsp_handle_tx_event() local
1695 preq->td.preq = preq; in cdnsp_prepare_transfer()
[all …]

Completed in 10064 milliseconds

12345