| /linux/drivers/clk/tegra/ |
| H A D | clk-dfll.c | 171 * Integrated I2C controller registers - relative to td->i2c_controller_base 331 static inline u32 dfll_readl(struct tegra_dfll *td, u32 offs) in dfll_readl() argument 333 return __raw_readl(td->base + offs); in dfll_readl() 336 static inline void dfll_writel(struct tegra_dfll *td, u32 val, u32 offs) in dfll_writel() argument 339 __raw_writel(val, td->base + offs); in dfll_writel() 342 static inline void dfll_wmb(struct tegra_dfll *td) in dfll_wmb() argument 344 dfll_readl(td, DFLL_CTRL); in dfll_wmb() 349 static inline u32 dfll_i2c_readl(struct tegra_dfll *td, u32 offs) in dfll_i2c_readl() argument 351 return __raw_readl(td->i2c_base + offs); in dfll_i2c_readl() 354 static inline void dfll_i2c_writel(struct tegra_dfll *td, u3 argument 359 dfll_i2c_wmb(struct tegra_dfll * td) dfll_i2c_wmb() argument 371 dfll_is_running(struct tegra_dfll * td) dfll_is_running() argument 391 struct tegra_dfll *td = dev_get_drvdata(dev); tegra_dfll_runtime_resume() local 428 struct tegra_dfll *td = dev_get_drvdata(dev); tegra_dfll_runtime_suspend() local 450 dfll_tune_low(struct tegra_dfll * td) dfll_tune_low() argument 492 dfll_set_mode(struct tegra_dfll * td,enum dfll_ctrl_mode mode) dfll_set_mode() argument 504 get_dvco_rate_below(struct tegra_dfll * td,u8 out_min) get_dvco_rate_below() argument 540 dfll_i2c_set_output_enabled(struct tegra_dfll * td,bool enable) dfll_i2c_set_output_enabled() argument 571 dfll_pwm_set_output_enabled(struct tegra_dfll * td,bool enable) dfll_pwm_set_output_enabled() argument 615 dfll_set_force_output_value(struct tegra_dfll * td,u8 out_val) dfll_set_force_output_value() argument 633 dfll_set_force_output_enabled(struct tegra_dfll * td,bool enable) dfll_set_force_output_enabled() argument 653 dfll_force_output(struct tegra_dfll * td,unsigned int out_sel) dfll_force_output() argument 676 dfll_load_i2c_lut(struct tegra_dfll * td) dfll_load_i2c_lut() argument 707 dfll_init_i2c_if(struct tegra_dfll * td) dfll_init_i2c_if() argument 741 dfll_init_out_if(struct tegra_dfll * td) dfll_init_out_if() argument 796 find_lut_index_for_rate(struct tegra_dfll * td,unsigned long rate) find_lut_index_for_rate() argument 827 dfll_calculate_rate_request(struct tegra_dfll * td,struct dfll_rate_req * req,unsigned long rate) dfll_calculate_rate_request() argument 880 dfll_set_frequency_request(struct tegra_dfll * td,struct dfll_rate_req * req) dfll_set_frequency_request() argument 912 dfll_request_rate(struct tegra_dfll * td,unsigned long rate) dfll_request_rate() argument 947 dfll_disable(struct tegra_dfll * td) dfll_disable() argument 968 dfll_enable(struct tegra_dfll * td) dfll_enable() argument 993 dfll_set_open_loop_config(struct tegra_dfll * td) dfll_set_open_loop_config() argument 1016 dfll_lock(struct tegra_dfll * td) dfll_lock() argument 1056 dfll_unlock(struct tegra_dfll * td) dfll_unlock() argument 1090 struct tegra_dfll *td = clk_hw_to_dfll(hw); dfll_clk_is_enabled() local 1097 struct tegra_dfll *td = clk_hw_to_dfll(hw); dfll_clk_enable() local 1113 struct tegra_dfll *td = clk_hw_to_dfll(hw); dfll_clk_disable() local 1124 struct tegra_dfll *td = clk_hw_to_dfll(hw); dfll_clk_recalc_rate() local 1133 struct tegra_dfll *td = clk_hw_to_dfll(hw); dfll_clk_determine_rate() local 1153 struct tegra_dfll *td = clk_hw_to_dfll(hw); dfll_clk_set_rate() local 1180 dfll_register_clk(struct tegra_dfll * td) dfll_register_clk() argument 1212 dfll_unregister_clk(struct tegra_dfll * td) dfll_unregister_clk() argument 1255 dfll_read_monitor_rate(struct tegra_dfll * td) dfll_read_monitor_rate() argument 1276 struct tegra_dfll *td = data; attr_enable_get() local 1284 struct tegra_dfll *td = data; attr_enable_set() local 1293 struct tegra_dfll *td = data; attr_lock_get() local 1301 struct tegra_dfll *td = data; attr_lock_set() local 1309 struct tegra_dfll *td = data; attr_rate_get() local 1318 struct tegra_dfll *td = data; attr_rate_set() local 1327 struct tegra_dfll *td = s->private; attr_registers_show() local 1363 dfll_debug_init(struct tegra_dfll * td) dfll_debug_init() argument 1381 dfll_debug_init(struct tegra_dfll * td) dfll_debug_init() argument 1396 dfll_set_default_params(struct tegra_dfll * td) dfll_set_default_params() argument 1424 dfll_init_clks(struct tegra_dfll * td) dfll_init_clks() argument 1457 dfll_init(struct tegra_dfll * td) dfll_init() argument 1528 struct tegra_dfll *td = dev_get_drvdata(dev); tegra_dfll_suspend() local 1553 struct tegra_dfll *td = dev_get_drvdata(dev); tegra_dfll_resume() local 1584 find_vdd_map_entry_exact(struct tegra_dfll * td,int uV) find_vdd_map_entry_exact() argument 1612 find_vdd_map_entry_min(struct tegra_dfll * td,int uV) find_vdd_map_entry_min() argument 1645 dfll_build_pwm_lut(struct tegra_dfll * td,unsigned long v_max) dfll_build_pwm_lut() argument 1700 dfll_build_i2c_lut(struct tegra_dfll * td,unsigned long v_max) dfll_build_i2c_lut() argument 1765 dfll_build_lut(struct tegra_dfll * td) dfll_build_lut() argument 1795 read_dt_param(struct tegra_dfll * td,const char * param,u32 * dest) read_dt_param() argument 1816 dfll_fetch_i2c_params(struct tegra_dfll * td) dfll_fetch_i2c_params() argument 1846 dfll_fetch_pwm_params(struct tegra_dfll * td) dfll_fetch_pwm_params() argument 1904 dfll_fetch_common_params(struct tegra_dfll * td) dfll_fetch_common_params() argument 1943 struct tegra_dfll *td; tegra_dfll_register() local 2082 struct tegra_dfll *td = platform_get_drvdata(pdev); tegra_dfll_unregister() local [all...] |
| /linux/drivers/usb/host/ |
| H A D | fhci-q.c | 53 void fhci_add_td_to_frame(struct fhci_time_frame *frame, struct td *td) in fhci_add_td_to_frame() argument 55 list_add_tail(&td->frame_lh, &frame->tds_list); in fhci_add_td_to_frame() 58 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number) in fhci_add_tds_to_ed() 63 struct td *td = td_list[i]; in fhci_add_tds_to_ed() local 64 list_add_tail(&td->node, &ed->td_list); in fhci_add_tds_to_ed() 70 static struct td *peek_td_from_ed(struct ed *ed) in peek_td_from_ed() 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() 77 td = NULL; in peek_td_from_ed() 79 return td; in peek_td_from_ed() [all …]
|
| H A D | fhci-mem.c | 23 static void init_td(struct td *td) in init_td() argument 25 memset(td, 0, sizeof(*td)); in init_td() 26 INIT_LIST_HEAD(&td->node); in init_td() 27 INIT_LIST_HEAD(&td->frame_lh); in init_td() 37 static struct td *get_empty_td(struct fhci_hcd *fhci) in get_empty_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_obj(*td, GFP_ATOMIC); in get_empty_td() 46 if (!td) in get_empty_td() 49 init_td(td); in get_empty_td() [all …]
|
| H A D | ohci-mem.c | 48 sizeof (struct td), in ohci_mem_init() 76 static inline struct td * 79 struct td *td; in dma_to_td() local 82 td = hc->td_hash [TD_HASH_FUNC(td_dma)]; in dma_to_td() 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 97 td = gen_pool_dma_zalloc_align(hcd->localmem_pool, in td_alloc() [all …]
|
| H A D | fhci-tds.c | 73 struct usb_td __iomem *td, in next_bd() argument 79 return ++td; in next_bd() 152 struct usb_td __iomem *td; in fhci_create_ep() local 168 ep_mem_size = ring_len * sizeof(*td) + sizeof(struct fhci_ep_pram); in fhci_create_ep() 203 ep->ep_pram_ptr = (void __iomem *)ep->td_base + sizeof(*td) * ring_len; in fhci_create_ep() 211 td = ep->td_base; in fhci_create_ep() 213 out_be32(&td->buf_ptr, 0); in fhci_create_ep() 214 out_be16(&td->status, 0); in fhci_create_ep() 215 out_be16(&td->length, 0); in fhci_create_ep() 216 out_be16(&td->extra, 0); in fhci_create_ep() [all …]
|
| H A D | ohci-q.c | 20 struct td *td; in urb_free_priv() local 23 td = urb_priv->td [i]; in urb_free_priv() 24 if (td) in urb_free_priv() 25 td_free (hc, td); in urb_free_priv() 414 struct td *td; in ed_get() local 425 td = td_alloc (ohci, GFP_ATOMIC); in ed_get() 426 if (!td) { in ed_get() 432 ed->dummy = td; in ed_get() 433 ed->hwTailP = cpu_to_hc32 (ohci, td->td_dma); in ed_get() 520 struct td *td, *td_pt; in td_fill() local [all …]
|
| H A D | uhci-q.c | 109 struct uhci_td *td; in uhci_alloc_td() local 111 td = dma_pool_alloc(uhci->td_pool, GFP_ATOMIC, &dma_handle); in uhci_alloc_td() 112 if (!td) in uhci_alloc_td() 115 td->dma_handle = dma_handle; in uhci_alloc_td() 116 td->frame = -1; in uhci_alloc_td() 118 INIT_LIST_HEAD(&td->list); in uhci_alloc_td() 119 INIT_LIST_HEAD(&td->fl_list); in uhci_alloc_td() 121 return td; in uhci_alloc_td() 124 static void uhci_free_td(struct uhci_hcd *uhci, struct uhci_td *td) in uhci_free_td() argument 126 if (!list_empty(&td->list)) in uhci_free_td() [all …]
|
| H A D | r8a66597-hcd.c | 628 static void pipe_setting(struct r8a66597 *r8a66597, struct r8a66597_td *td) in pipe_setting() argument 631 struct urb *urb = td->urb; in pipe_setting() 633 if (td->pipenum > 0) { in pipe_setting() 634 info = &td->pipe->info; in pipe_setting() 641 r8a66597_pipe_toggle(r8a66597, td->pipe, 0); in pipe_setting() 642 pipe_toggle_set(r8a66597, td->pipe, urb, 0); in pipe_setting() 643 clear_all_buffer(r8a66597, td->pipe); in pipe_setting() 647 pipe_toggle_restore(r8a66597, td->pipe, urb); in pipe_setting() 835 struct r8a66597_td *td, *next; in force_dequeue() local 842 list_for_each_entry_safe(td, next, list, queue) { in force_dequeue() [all …]
|
| H A D | xhci-ring.c | 138 static bool last_td_in_urb(struct xhci_td *td) in unhandled_event_trb() 140 return !num_tds_not_done(td->urb); in unhandled_event_trb() 339 static bool trb_in_td(struct xhci_td *td, dma_addr_t suspect_dma) 341 return dma_in_range(suspect_dma, td->start_seg, td->start_trb, 342 td->end_seg, td->end_trb); 703 struct xhci_td *td; in xhci_move_deq_to_next_td() 729 * Move dequeue to the beginning of next td, or to enqueue if ring is in xhci_move_deq_to_next_td() 742 td in xhci_move_deq_to_next_td() 130 last_td_in_urb(struct xhci_td * td) last_td_in_urb() argument 333 trb_in_td(struct xhci_td * td,dma_addr_t suspect_dma) trb_in_td() argument 695 struct xhci_td *td; xhci_move_deq_to_next_td() local 784 td_to_noop(struct xhci_hcd * xhci,struct xhci_virt_ep * ep,struct xhci_td * td,bool flip_cycle) td_to_noop() argument 828 xhci_unmap_one_bounce_buffer(struct xhci_hcd * xhci,struct xhci_ring * ring,struct xhci_td * td,struct xhci_segment * seg) xhci_unmap_one_bounce_buffer() argument 860 xhci_unmap_td_bounce_buffer(struct xhci_hcd * xhci,struct xhci_ring * ring,struct xhci_td * td) xhci_unmap_td_bounce_buffer() argument 877 xhci_td_cleanup(struct xhci_hcd * xhci,struct xhci_td * td,struct xhci_ring * ep_ring,int status) xhci_td_cleanup() argument 924 xhci_dequeue_td(struct xhci_hcd * xhci,struct xhci_td * td,struct xhci_ring * ring,u32 status) xhci_dequeue_td() argument 938 struct xhci_td *td, *tmp_td; xhci_giveback_invalidated_tds() local 984 xhci_handle_halted_endpoint(struct xhci_hcd * xhci,struct xhci_virt_ep * ep,struct xhci_td * td,enum xhci_ep_reset_type reset_type) xhci_handle_halted_endpoint() argument 1038 struct xhci_td *td = NULL; xhci_invalidate_cancelled_tds() local 1164 struct xhci_td *td; find_halted_td() local 1193 struct xhci_td *td = NULL; xhci_handle_cmd_stop_ep() local 1434 struct xhci_td *td, *tmp_td; xhci_handle_cmd_set_deq() local 2179 xhci_clear_hub_tt_buffer(struct xhci_hcd * xhci,struct xhci_td * td,struct xhci_virt_ep * ep) xhci_clear_hub_tt_buffer() argument 2248 finish_td(struct xhci_hcd * xhci,struct xhci_virt_ep * ep,struct xhci_ring * ep_ring,struct xhci_td * td,u32 trb_comp_code) finish_td() argument 2290 sum_trb_lengths(struct xhci_td * td,union xhci_trb * stop_trb) sum_trb_lengths() argument 2307 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) process_ctrl_td() argument 2402 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) process_isoc_td() argument 2506 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) process_bulk_intr_td() argument 2618 struct xhci_td *td; find_td_by_dma() local 2640 struct xhci_td *td = NULL; handle_tx_event() local 3341 struct xhci_td *td; prepare_transfer() local 3621 struct xhci_td *td; xhci_queue_bulk_tx() local 3786 struct xhci_td *td; xhci_queue_ctrl_tx() local 4102 struct xhci_td *td; xhci_queue_isoc_tx() local [all...] |
| /linux/arch/um/drivers/ |
| H A D | vector_transports.c | 69 struct uml_l2tpv3_data *td = vp->transport_data; in l2tpv3_form_header() local 72 if (td->udp) in l2tpv3_form_header() 74 (*(uint32_t *) (header + td->session_offset)) = td->tx_session; in l2tpv3_form_header() 76 if (td->cookie) { in l2tpv3_form_header() 77 if (td->cookie_is_64) in l2tpv3_form_header() 78 (*(uint64_t *)(header + td->cookie_offset)) = in l2tpv3_form_header() 79 td->tx_cookie; in l2tpv3_form_header() 81 (*(uint32_t *)(header + td->cookie_offset)) = in l2tpv3_form_header() 82 td->tx_cookie; in l2tpv3_form_header() 84 if (td->has_counter) { in l2tpv3_form_header() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | dlfilter-test.c | 68 struct test_data *td = container_of(tool, struct test_data, tool); in process() local 69 int fd = td->fd; in process() 111 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) in write_attr() argument 121 return perf_event__synthesize_attr(&td->tool, &attr, 1, id, process); in write_attr() 172 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) in write_sample() argument 177 .ip = td->ip, in write_sample() 178 .addr = td->addr, in write_sample() 200 err = process(&td->tool, event, &sample, td->machine); in write_sample() 248 static int check_filter_desc(struct test_data *td) in check_filter_desc() 244 check_filter_desc(struct test_data * td) check_filter_desc() argument 262 get_ip_addr(struct test_data * td) get_ip_addr() argument 287 do_run_perf_script(struct test_data * td,int do_early) do_run_perf_script() argument 301 run_perf_script(struct test_data * td) run_perf_script() argument 319 test__dlfilter_test(struct test_data * td) test__dlfilter_test() argument 399 test_data__free(struct test_data * td) test_data__free() argument 412 struct test_data td = {.fd = -1}; test__dlfilter_ver() local [all...] |
| H A D | mmap-thread-lookup.c | 35 static int thread_init(struct thread_data *td) in thread_init() argument 48 td->map = map; in thread_init() 49 td->tid = syscall(SYS_gettid); in thread_init() 51 pr_debug("tid = %d, map = %p\n", td->tid, map); in thread_init() 57 struct thread_data *td = arg; in thread_fn() local 61 if (thread_init(td)) in thread_fn() 65 ret = write(td->ready[1], &go, sizeof(int)); in thread_fn() 76 munmap(td->map, page_size); in thread_fn() 82 struct thread_data *td = &threads[i]; in thread_create() local 85 if (pipe(td->ready)) in thread_create() [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_bbt.c | 90 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) in check_pattern_no_oob() argument 92 if (memcmp(buf, td->pattern, td->len)) 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() argument 109 if (td->options & NAND_BBT_NO_OOB) in check_pattern() 110 return check_pattern_no_oob(buf, td); in check_pattern() 113 if (memcmp(buf + paglen + td->offs, td->pattern, td->len)) in check_pattern() 128 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern() argument 131 if (memcmp(buf + td->offs, td->pattern, td->len)) in check_short_pattern() 142 static u32 add_marker_len(struct nand_bbt_descr *td) in add_marker_len() argument 146 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len() [all …]
|
| /linux/drivers/media/platform/st/sti/hva/ |
| H A D | hva-h264.c | 396 struct hva_h264_td td; member 598 struct hva_h264_td *td = &task->td; in hva_h264_prepare_task() local 626 memset(td, 0, sizeof(struct hva_h264_td)); in hva_h264_prepare_task() 628 td->frame_width = frame_width; in hva_h264_prepare_task() 629 td->frame_height = frame_height; in hva_h264_prepare_task() 632 td->window_width = frame_width; in hva_h264_prepare_task() 633 td->window_height = frame_height; in hva_h264_prepare_task() 634 td->window_horizontal_offset = 0; in hva_h264_prepare_task() 635 td in hva_h264_prepare_task() [all...] |
| /linux/kernel/ |
| H A D | smpboot.c | 104 struct smpboot_thread_data *td = data; in smpboot_thread_fn() local 105 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() 115 if (ht->cleanup && td->status != HP_THREAD_NONE) in smpboot_thread_fn() 116 ht->cleanup(td->cpu, cpu_online(td->cpu)); in smpboot_thread_fn() 117 kfree(td); in smpboot_thread_fn() 121 should_run = td->status == HP_THREAD_ACTIVE && ht->thread_should_run(td->cpu); in smpboot_thread_fn() 125 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn() 126 BUG_ON(td->cpu != smp_processor_id()); in smpboot_thread_fn() 127 ht->park(td->cpu); in smpboot_thread_fn() 128 td->status = HP_THREAD_PARKED; in smpboot_thread_fn() [all …]
|
| /linux/drivers/dma/ |
| H A D | timb_dma.c | 109 struct timb_dma *td = tdchantotd(td_chan); 113 ier = ioread32(td->membase + TIMBDMA_IER); in __td_enable_chan_irq() 117 iowrite32(ier, td->membase + TIMBDMA_IER); in __td_enable_chan_irq() 124 struct timb_dma *td = (struct timb_dma *)((u8 *)td_chan - 129 dev_dbg(dmaengine_chan_dev(&td_chan->chan), "Checking irq: %d, td: %p\n", id, td); in __td_dma_done_ack() local 131 isr = ioread32(td->membase + TIMBDMA_ISR) & (1 << id); in __td_dma_done_ack() 133 iowrite32(isr, td->membase + TIMBDMA_ISR); in __td_dma_done_ack() 253 static u32 __td_ier_mask(struct timb_dma *td) in __td_finish() 258 for (i = 0; i < td argument 114 struct timb_dma *td = tdchantotd(td_chan); __td_enable_chan_irq() local 568 struct timb_dma *td = from_tasklet(td, t, tasklet); td_tasklet() local 597 struct timb_dma *td = devid; td_irq() local 615 struct timb_dma *td; td_probe() local 744 struct timb_dma *td = platform_get_drvdata(pdev); td_remove() local [all...] |
| /linux/drivers/scsi/snic/ |
| H A D | snic_trc.c | 19 struct snic_trc_data *td = NULL; in snic_get_trc_buf() local 23 td = &trc->buf[trc->wr_idx]; in snic_get_trc_buf() 39 td->ts = 0; /* Marker for checking the record, for complete data*/ in snic_get_trc_buf() 44 return td; in snic_get_trc_buf() 51 snic_fmt_trc_data(struct snic_trc_data *td, char *buf, int buf_sz) in snic_fmt_trc_data() argument 56 jiffies_to_timespec64(td->ts, &tmspec); in snic_fmt_trc_data() 61 td->fn, in snic_fmt_trc_data() 62 td->hno, in snic_fmt_trc_data() 63 td->tag, in snic_fmt_trc_data() 64 td->data[0], td->data[1], td->data[2], td->data[3], in snic_fmt_trc_data() [all …]
|
| /linux/kernel/time/ |
| H A D | tick-common.c | 185 static void tick_setup_device(struct tick_device *td, in tick_setup_device() argument 195 if (!td->evtdev) { in tick_setup_device() 230 td->mode = TICKDEV_MODE_PERIODIC; in tick_setup_device() 232 handler = td->evtdev->event_handler; in tick_setup_device() 233 next_event = td->evtdev->next_event; in tick_setup_device() 234 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device() 237 td->evtdev = newdev; in tick_setup_device() 256 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_setup_device() 264 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local 267 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement() [all …]
|
| H A D | tick-broadcast.c | 341 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_receive_broadcast() local 342 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast() 360 struct tick_device *td; in tick_do_broadcast() local 392 td = &per_cpu(tick_cpu_device, cpumask_first(mask)); in tick_do_broadcast() 393 td->evtdev->broadcast(mask); in tick_do_broadcast() 413 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_handle_periodic_broadcast() local 440 td->evtdev->event_handler(td->evtdev); in tick_handle_periodic_broadcast() 453 struct tick_device *td; in tick_broadcast_control() local 459 td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_control() 460 dev = td->evtdev; in tick_broadcast_control() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-thin-metadata.c | 855 struct dm_thin_device *td, *tmp; in __write_changed_details() local 859 list_for_each_entry_safe(td, tmp, &pmd->thin_devices, list) { in __write_changed_details() 860 if (!td->changed) in __write_changed_details() 863 key = td->id; in __write_changed_details() 865 details.mapped_blocks = cpu_to_le64(td->mapped_blocks); in __write_changed_details() 866 details.transaction_id = cpu_to_le64(td->transaction_id); in __write_changed_details() 867 details.creation_time = cpu_to_le32(td->creation_time); in __write_changed_details() 868 details.snapshotted_time = cpu_to_le32(td->snapshotted_time); in __write_changed_details() 876 if (td->open_count) in __write_changed_details() 877 td in __write_changed_details() 1002 struct dm_thin_device *td, *tmp; dm_pool_metadata_close() local 1042 __open_device(struct dm_pool_metadata * pmd,dm_thin_id dev,int create,struct dm_thin_device ** td) __open_device() argument 1103 __close_device(struct dm_thin_device * td) __close_device() argument 1114 struct dm_thin_device *td; __create_thin() local 1168 struct dm_thin_device *td; __set_snapshot_details() local 1190 struct dm_thin_device *td; __create_snap() local 1257 struct dm_thin_device *td; __delete_device() local 1471 dm_pool_open_thin_device(struct dm_pool_metadata * pmd,dm_thin_id dev,struct dm_thin_device ** td) dm_pool_open_thin_device() argument 1483 dm_pool_close_thin_device(struct dm_thin_device * td) dm_pool_close_thin_device() argument 1492 dm_thin_dev_id(struct dm_thin_device * td) dm_thin_dev_id() argument 1503 __snapshotted_since(struct dm_thin_device * td,uint32_t time) __snapshotted_since() argument 1508 unpack_lookup_result(struct dm_thin_device * td,__le64 value,struct dm_thin_lookup_result * result) unpack_lookup_result() argument 1521 __find_block(struct dm_thin_device * td,dm_block_t block,int can_issue_io,struct dm_thin_lookup_result * result) __find_block() argument 1542 dm_thin_find_block(struct dm_thin_device * td,dm_block_t block,int can_issue_io,struct dm_thin_lookup_result * result) dm_thin_find_block() argument 1560 __find_next_mapped_block(struct dm_thin_device * td,dm_block_t block,dm_block_t * vblock,struct dm_thin_lookup_result * result) __find_next_mapped_block() argument 1576 __find_mapped_range(struct dm_thin_device * td,dm_block_t begin,dm_block_t end,dm_block_t * thin_begin,dm_block_t * thin_end,dm_block_t * pool_begin,bool * maybe_shared) __find_mapped_range() argument 1622 dm_thin_find_mapped_range(struct dm_thin_device * td,dm_block_t begin,dm_block_t end,dm_block_t * thin_begin,dm_block_t * thin_end,dm_block_t * pool_begin,bool * maybe_shared) dm_thin_find_mapped_range() argument 1640 __insert(struct dm_thin_device * td,dm_block_t block,dm_block_t data_block) __insert() argument 1663 dm_thin_insert_block(struct dm_thin_device * td,dm_block_t block,dm_block_t data_block) dm_thin_insert_block() argument 1676 __remove_range(struct dm_thin_device * td,dm_block_t begin,dm_block_t end) __remove_range() argument 1735 dm_thin_remove_range(struct dm_thin_device * td,dm_block_t begin,dm_block_t end) dm_thin_remove_range() argument 1788 dm_thin_changed_this_transaction(struct dm_thin_device * td) dm_thin_changed_this_transaction() argument 1802 struct dm_thin_device *td, *tmp; dm_pool_changed_this_transaction() local 1816 dm_thin_aborted_changes(struct dm_thin_device * td) dm_thin_aborted_changes() argument 1866 struct dm_thin_device *td; __set_abort_with_changes_flags() local 1958 dm_thin_get_mapped_count(struct dm_thin_device * td,dm_block_t * result) dm_thin_get_mapped_count() argument 1973 __highest_block(struct dm_thin_device * td,dm_block_t * result) __highest_block() argument 1989 dm_thin_get_highest_mapped_block(struct dm_thin_device * td,dm_block_t * result) dm_thin_get_highest_mapped_block() argument [all...] |
| H A D | dm-thin-metadata.h | 130 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 …]
|
| /linux/drivers/hid/ |
| H A D | hid-multitouch.c | 193 static void mt_post_parse_default_settings(struct mt_device *td, 195 static void mt_post_parse(struct mt_device *td, struct mt_application *app); 480 struct mt_device *td = hid_get_drvdata(hdev); in mt_show_quirks() local 482 return sprintf(buf, "%u\n", td->mtclass.quirks); in mt_show_quirks() 490 struct mt_device *td = hid_get_drvdata(hdev); in mt_set_quirks() local 498 td->mtclass.quirks = val; in mt_set_quirks() 500 list_for_each_entry(application, &td->applications, list) { in mt_set_quirks() 522 struct mt_device *td = hid_get_drvdata(hdev); in mt_get_feature() local 551 !(td->mtclass.quirks & MT_QUIRK_IGNORE_FEATURE_ID_MISMATCH)) { in mt_get_feature() 569 struct mt_device *td in mt_feature_mapping() local 649 mt_allocate_application(struct mt_device * td,struct hid_report * report) mt_allocate_application() argument 684 mt_find_application(struct mt_device * td,struct hid_report * report) mt_find_application() argument 706 mt_allocate_report_data(struct mt_device * td,struct hid_report * report) mt_allocate_report_data() argument 751 mt_find_report_data(struct mt_device * td,struct hid_report * report) mt_find_report_data() argument 819 struct mt_device *td = hid_get_drvdata(hdev); mt_touch_input_mapping() local 1027 mt_compute_slot(struct mt_device * td,struct mt_application * app,struct mt_usages * slot,struct input_dev * input) mt_compute_slot() argument 1048 mt_release_pending_palms(struct mt_device * td,struct mt_application * app,struct input_dev * input) mt_release_pending_palms() argument 1075 mt_sync_frame(struct mt_device * td,struct mt_application * app,struct input_dev * input) mt_sync_frame() argument 1123 mt_process_slot(struct mt_device * td,struct input_dev * input,struct mt_application * app,struct mt_usages * slot) mt_process_slot() argument 1318 struct mt_device *td = hid_get_drvdata(hid); mt_touch_report() local 1416 struct mt_device *td = hid_get_drvdata(hdev); mt_touch_input_configured() local 1491 struct mt_device *td = hid_get_drvdata(hdev); mt_input_mapping() local 1570 struct mt_device *td = hid_get_drvdata(hdev); mt_input_mapped() local 1586 struct mt_device *td = hid_get_drvdata(hid); mt_event() local 1772 struct mt_device *td = hid_get_drvdata(hid); mt_report() local 1826 struct mt_device *td = hid_get_drvdata(hdev); mt_need_to_apply_feature() local 1926 mt_post_parse_default_settings(struct mt_device * td,struct mt_application * app) mt_post_parse_default_settings() argument 1943 mt_post_parse(struct mt_device * td,struct mt_application * app) mt_post_parse() argument 1951 struct mt_device *td = hid_get_drvdata(hdev); mt_input_configured() local 2078 struct mt_device *td = hid_get_drvdata(hid); mt_release_contacts() local 2103 struct mt_device *td = timer_container_of(td, t, release_timer); mt_expired_timeout() local 2120 struct mt_device *td; mt_probe() local 2216 struct mt_device *td = hid_get_drvdata(hdev); mt_suspend() local 2250 struct mt_device *td = hid_get_drvdata(hdev); mt_remove() local 2265 struct mt_device *td = hid_get_drvdata(hdev); mt_on_hid_hw_close() local [all...] |
| /linux/drivers/thermal/ |
| H A D | thermal_core.c | 222 struct thermal_trip_desc *td; in thermal_zone_broken_disable() local 232 for_each_trip_desc(tz, td) { in thermal_zone_broken_disable() 233 if (td->trip.type == THERMAL_TRIP_CRITICAL && in thermal_zone_broken_disable() 234 td->trip.temperature > THERMAL_TEMP_INVALID) { in thermal_zone_broken_disable() 356 static void move_trip_to_sorted_list(struct thermal_trip_desc *td, in move_trip_to_sorted_list() argument 365 list_del(&td->list_node); in move_trip_to_sorted_list() 369 if (entry->threshold <= td->threshold) { in move_trip_to_sorted_list() 370 list_add(&td->list_node, &entry->list_node); in move_trip_to_sorted_list() 374 list_add(&td->list_node, list); in move_trip_to_sorted_list() 378 struct thermal_trip_desc *td) in move_to_trips_high() argument 385 move_to_trips_reached(struct thermal_zone_device * tz,struct thermal_trip_desc * td) move_to_trips_reached() argument 392 move_to_trips_invalid(struct thermal_zone_device * tz,struct thermal_trip_desc * td) move_to_trips_invalid() argument 411 thermal_trip_crossed(struct thermal_zone_device * tz,struct thermal_trip_desc * td,struct thermal_governor * governor,bool upward) thermal_trip_crossed() argument 440 struct thermal_trip_desc *td = trip_to_trip_desc(trip); thermal_zone_set_trip_hyst() local 457 struct thermal_trip_desc *td = trip_to_trip_desc(trip); thermal_zone_set_trip_temp() local 507 struct thermal_trip_desc *td, *next; thermal_zone_handle_trips() local 729 thermal_instance_add(struct thermal_instance * new_instance,struct thermal_cooling_device * cdev,struct thermal_trip_desc * td) thermal_instance_add() argument 761 thermal_bind_cdev_to_trip(struct thermal_zone_device * tz,struct thermal_trip_desc * td,struct thermal_cooling_device * cdev,struct cooling_spec * cool_spec) thermal_bind_cdev_to_trip() argument 868 thermal_unbind_cdev_from_trip(struct thermal_zone_device * tz,struct thermal_trip_desc * td,struct thermal_cooling_device * cdev) thermal_unbind_cdev_from_trip() argument 899 print_bind_err_msg(struct thermal_zone_device * tz,const struct thermal_trip_desc * td,struct thermal_cooling_device * cdev,int ret) print_bind_err_msg() argument 909 struct thermal_trip_desc *td; __thermal_zone_cdev_bind() local 1220 struct thermal_trip_desc *td; __thermal_zone_cdev_unbind() local 1269 const struct thermal_trip_desc *td; thermal_zone_get_crit_temp() local 1301 struct thermal_trip_desc *td, *next; thermal_zone_device_init() local 1418 struct thermal_trip_desc *td; thermal_zone_device_register_with_trips() local [all...] |
| H A D | gov_step_wise.c | 80 const struct thermal_trip_desc *td, in thermal_zone_trip_update() argument 84 const struct thermal_trip *trip = &td->trip; in thermal_zone_trip_update() 95 list_for_each_entry(instance, &td->thermal_instances, trip_node) { in thermal_zone_trip_update() 117 const struct thermal_trip_desc *td; in step_wise_manage() local 129 for_each_trip_desc(tz, td) { in step_wise_manage() 130 const struct thermal_trip *trip = &td->trip; in step_wise_manage() 137 thermal_zone_trip_update(tz, td, td->threshold); in step_wise_manage() 140 for_each_trip_desc(tz, td) { in step_wise_manage() 141 list_for_each_entry(instance, &td->thermal_instances, trip_node) in step_wise_manage()
|
| /linux/arch/x86/include/asm/ |
| H A D | tdx.h | 177 u64 tdh_mng_addcx(struct tdx_td *td, struct page *tdcs_page); 178 u64 tdh_mem_page_add(struct tdx_td *td, u64 gpa, kvm_pfn_t pfn, struct page *source, 180 u64 tdh_mem_sept_add(struct tdx_td *td, u64 gpa, enum pg_level level, struct page *page, u64 *ext_e… 182 u64 tdh_mem_page_aug(struct tdx_td *td, u64 gpa, enum pg_level level, kvm_pfn_t pfn, 184 u64 tdh_mem_range_block(struct tdx_td *td, u64 gpa, enum pg_level level, u64 *ext_err1, u64 *ext_er… 185 u64 tdh_mng_key_config(struct tdx_td *td); 186 u64 tdh_mng_create(struct tdx_td *td, u16 hkid); 187 u64 tdh_vp_create(struct tdx_td *td, struct tdx_vp *vp); 188 u64 tdh_mng_rd(struct tdx_td *td, u64 field, u64 *data); 189 u64 tdh_mr_extend(struct tdx_td *td, u64 gpa, u64 *ext_err1, u64 *ext_err2); [all …]
|