/linux/drivers/hwmon/ |
A D | coretemp.c | 126 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_crit_alarm() 162 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_temp() 169 tdata->temp = tdata->tjmax - ((eax >> 16) & 0x7f) * 1000; in show_temp() 400 tdata->attrs[i] = &tdata->sd_attrs[i].dev_attr.attr; in create_core_attrs() 402 tdata->attr_group.attrs = tdata->attrs; in create_core_attrs() 437 if (!tdata) in init_temp_data() 447 return tdata; in init_temp_data() 471 if (!tdata) in create_core_data() 507 kfree(tdata); in create_core_data() 681 } else if (tdata && tdata->cpu == cpu) { in coretemp_cpu_offline() [all …]
|
A D | hwmon.c | 141 struct hwmon_thermal_data *tdata = data; in hwmon_thermal_get_temp() local 147 tdata->index, &t); in hwmon_thermal_get_temp() 158 struct hwmon_thermal_data *tdata = data; in hwmon_thermal_set_trips() local 176 hwmon_temp_min, tdata->index, low); in hwmon_thermal_set_trips() 204 struct hwmon_thermal_data *tdata; in hwmon_thermal_add_sensor() local 208 tdata = devm_kzalloc(dev, sizeof(*tdata), GFP_KERNEL); in hwmon_thermal_add_sensor() 209 if (!tdata) in hwmon_thermal_add_sensor() 212 tdata->dev = dev; in hwmon_thermal_add_sensor() 213 tdata->index = index; in hwmon_thermal_add_sensor() 228 tdata->tzd = tzd; in hwmon_thermal_add_sensor() [all …]
|
/linux/tools/perf/util/ |
A D | trace-event-info.c | 504 tdata = malloc(sizeof(*tdata)); in tracing_data_get() 505 if (!tdata) in tracing_data_get() 509 tdata->size = 0; in tracing_data_get() 514 snprintf(tdata->temp_file, sizeof(tdata->temp_file), in tracing_data_get() 518 free(tdata); in tracing_data_get() 525 free(tdata); in tracing_data_get() 568 zfree(&tdata); in tracing_data_get() 571 return tdata; in tracing_data_get() 578 if (tdata->temp) { in tracing_data_put() 583 free(tdata); in tracing_data_put() [all …]
|
A D | trace-event.h | 65 int tracing_data_put(struct tracing_data *tdata);
|
A D | synthetic-events.c | 2025 struct tracing_data *tdata; in perf_event__synthesize_tracing_data() local 2040 tdata = tracing_data_get(&evlist->core.entries, fd, true); in perf_event__synthesize_tracing_data() 2041 if (!tdata) in perf_event__synthesize_tracing_data() 2047 size = tdata->size; in perf_event__synthesize_tracing_data() 2059 tracing_data_put(tdata); in perf_event__synthesize_tracing_data()
|
/linux/drivers/hid/ |
A D | hid-magicmouse.c | 213 id = (tdata[6] << 2 | tdata[5] >> 6) & 0xf; in magicmouse_emit_touch() 214 x = (tdata[1] << 28 | tdata[0] << 20) >> 20; in magicmouse_emit_touch() 215 y = -((tdata[2] << 24 | tdata[1] << 16) >> 20); in magicmouse_emit_touch() 223 id = tdata[8] & 0xf; in magicmouse_emit_touch() 224 x = (tdata[1] << 27 | tdata[0] << 19) >> 19; in magicmouse_emit_touch() 225 y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19); in magicmouse_emit_touch() 226 size = tdata[6]; in magicmouse_emit_touch() 230 pressure = tdata[7]; in magicmouse_emit_touch() 234 id = (tdata[7] << 2 | tdata[6] >> 6) & 0xf; in magicmouse_emit_touch() 235 x = (tdata[1] << 27 | tdata[0] << 19) >> 19; in magicmouse_emit_touch() [all …]
|
A D | hid-picolcd_fb.c | 95 u8 *tdata; in picolcd_fb_send_tile() local 127 tdata = vbitmap + (tile * 4 + chip) * 64; in picolcd_fb_send_tile() 130 hid_set_field(report1->field[0], 11 + i, tdata[i]); in picolcd_fb_send_tile() 132 hid_set_field(report2->field[0], 4 + i - 32, tdata[i]); in picolcd_fb_send_tile() 145 u8 tdata[64]; in picolcd_fb_update_tile() local 152 tdata[i] <<= 1; in picolcd_fb_update_tile() 153 tdata[i] |= (bdata[i/8] >> (i % 8)) & 0x01; in picolcd_fb_update_tile() 160 tdata[i] <<= 1; in picolcd_fb_update_tile() 161 tdata[i] |= (bdata[i] & 0x80) ? 0x01 : 0x00; in picolcd_fb_update_tile() 171 if (tdata[i] != vdata[i]) { in picolcd_fb_update_tile() [all …]
|
/linux/lib/ |
A D | test_rhashtable.c | 611 .tid = tdata->id, in thread_lookup_test() 646 tdata->objs[i].value.tid = tdata->id; in threadfunc() 652 tdata->id); in threadfunc() 663 tdata->id); in threadfunc() 685 tdata->id); in threadfunc() 763 if (!tdata) in test_rht_init() 767 vfree(tdata); in test_rht_init() 777 vfree(tdata); in test_rht_init() 782 tdata[i].id = i; in test_rht_init() 785 tdata[i].task = kthread_run(threadfunc, &tdata[i], in test_rht_init() [all …]
|
/linux/drivers/scsi/cxgbi/ |
A D | libcxgbi.c | 1401 err = cxgbi_ddp_reserve(cconn, tdata, sw_tag, tdata->dlen); in task_reserve_itt() 1937 tdata->dlen - tdata->offset - tdata->count; in cxgbi_conn_alloc_pdu() 1984 tdata->offset + tdata->count, in cxgbi_conn_alloc_pdu() 2017 if (!tdata->skb) { in cxgbi_conn_alloc_pdu() 2164 skb = tdata->skb; in cxgbi_conn_init_pdu() 2187 tdata->total_count, tdata->total_offset); in cxgbi_conn_init_pdu() 2381 skb = tdata->skb; in cxgbi_conn_xmit_pdu() 2397 tdata->skb = NULL; in cxgbi_conn_xmit_pdu() 2446 tdata->skb = skb; in cxgbi_conn_xmit_pdu() 2493 if (tdata->skb) { in cxgbi_cleanup_task() [all …]
|
/linux/arch/um/kernel/ |
A D | dyn.lds.S | 45 .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) } 46 .rela.tdata : { *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) } 123 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
|
A D | uml.lds.S | 99 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
|
/linux/drivers/usb/typec/tcpm/ |
A D | tcpci_mt6360.c | 36 struct tcpci_data tdata; member 54 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init() argument 56 struct regmap *regmap = tdata->regmap; in mt6360_tcpc_init() 131 mti->tdata.regmap = dev_get_regmap(pdev->dev.parent, NULL); in mt6360_tcpc_probe() 132 if (!mti->tdata.regmap) { in mt6360_tcpc_probe() 141 mti->tdata.init = mt6360_tcpc_init; in mt6360_tcpc_probe() 142 mti->tcpci = tcpci_register_port(&pdev->dev, &mti->tdata); in mt6360_tcpc_probe()
|
A D | tcpci_rt1711h.c | 71 static struct rt1711h_chip *tdata_to_rt1711h(struct tcpci_data *tdata) in tdata_to_rt1711h() argument 73 return container_of(tdata, struct rt1711h_chip, data); in tdata_to_rt1711h() 76 static int rt1711h_init(struct tcpci *tcpci, struct tcpci_data *tdata) in rt1711h_init() argument 79 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_init() 107 static int rt1711h_set_vconn(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vconn() argument 110 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_set_vconn() 117 struct tcpci_data *tdata, in rt1711h_start_drp_toggling() argument 120 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_start_drp_toggling()
|
A D | tcpci_maxim.c | 67 static struct max_tcpci_chip *tdata_to_max_tcpci(struct tcpci_data *tdata) in tdata_to_max_tcpci() argument 69 return container_of(tdata, struct max_tcpci_chip, data); in tdata_to_max_tcpci() 211 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus() argument 213 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_set_vbus() 256 static void max_tcpci_frs_sourcing_vbus(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_frs_sourcing_vbus() argument 263 max_tcpci_set_vbus(tcpci, tdata, true, false); in max_tcpci_frs_sourcing_vbus() 423 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling() argument 426 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_start_toggling()
|
/linux/drivers/scsi/fnic/ |
A D | fnic_trace.c | 733 struct fc_trace_hdr *tdata; in fnic_fc_trace_get_data() local 752 tdata = (struct fc_trace_hdr *) in fnic_fc_trace_get_data() 754 if (!tdata) { in fnic_fc_trace_get_data() 760 copy_and_format_trace_data(tdata, in fnic_fc_trace_get_data() 763 fc_trace = (char *)tdata; in fnic_fc_trace_get_data() 806 tdata->frame_type = tdata->frame_type & 0x7F; in copy_and_format_trace_data() 818 tdata->time_stamp.tv_nsec, tdata->host_no, in copy_and_format_trace_data() 819 tdata->frame_type, tdata->frame_len); in copy_and_format_trace_data() 821 fc_trace = (char *)FC_TRACE_ADDRESS(tdata); in copy_and_format_trace_data() 823 for (j = 0; j < min_t(u8, tdata->frame_len, in copy_and_format_trace_data() [all …]
|
A D | fnic_trace.h | 123 void copy_and_format_trace_data(struct fc_trace_hdr *tdata,
|
/linux/drivers/leds/trigger/ |
A D | ledtrig-transient.c | 165 struct transient_trig_data *tdata; in transient_trig_activate() local 167 tdata = kzalloc(sizeof(struct transient_trig_data), GFP_KERNEL); in transient_trig_activate() 168 if (!tdata) in transient_trig_activate() 171 led_set_trigger_data(led_cdev, tdata); in transient_trig_activate() 172 tdata->led_cdev = led_cdev; in transient_trig_activate() 174 timer_setup(&tdata->timer, transient_timer_function, 0); in transient_trig_activate()
|
/linux/drivers/crypto/ccp/ |
A D | ccp-dev.c | 421 struct ccp_tasklet_data *tdata = (struct ccp_tasklet_data *)data; in ccp_do_cmd_complete() local 422 struct ccp_cmd *cmd = tdata->cmd; in ccp_do_cmd_complete() 426 complete(&tdata->completion); in ccp_do_cmd_complete() 438 struct ccp_tasklet_data tdata; in ccp_cmd_queue_thread() local 441 tasklet_init(&tasklet, ccp_do_cmd_complete, (unsigned long)&tdata); in ccp_cmd_queue_thread() 459 tdata.cmd = cmd; in ccp_cmd_queue_thread() 460 init_completion(&tdata.completion); in ccp_cmd_queue_thread() 462 wait_for_completion(&tdata.completion); in ccp_cmd_queue_thread()
|
/linux/drivers/staging/axis-fifo/ |
A D | axis-fifo.txt | 23 - xlnx,axi-str-rxd-tdata-width: Should be <0x20> 25 - xlnx,axi-str-txc-tdata-width: Should be <0x20> 27 - xlnx,axi-str-txd-tdata-width: Should be <0x20> 65 xlnx,axi-str-rxd-tdata-width = <0x20>; 67 xlnx,axi-str-txc-tdata-width = <0x20>; 69 xlnx,axi-str-txd-tdata-width = <0x20>;
|
/linux/drivers/dma/ptdma/ |
A D | ptdma-dev.c | 129 struct pt_tasklet_data *tdata = (struct pt_tasklet_data *)data; in pt_do_cmd_complete() local 130 struct pt_cmd *cmd = tdata->cmd; in pt_do_cmd_complete() 168 pt_do_cmd_complete((ulong)&pt->tdata); in pt_core_irq_handler()
|
A D | ptdma.h | 261 struct pt_tasklet_data tdata; member
|
A D | ptdma-dmaengine.c | 62 pt->tdata.cmd = pt_cmd; in pt_dma_start_desc()
|
/linux/tools/testing/selftests/kvm/ |
A D | memslot_perf_test.c | 749 const struct test_data *tdata, in test_execute() argument 754 uint64_t mem_size = tdata->mem_size ? : MEM_SIZE_PAGES; in test_execute() 761 if (!prepare_vm(data, nslots, maxslots, tdata->guest_code, in test_execute() 769 if (tdata->prepare && in test_execute() 770 !tdata->prepare(data, sync, maxslots)) { in test_execute() 785 tdata->loop(data, sync); in test_execute()
|
/linux/drivers/scsi/snic/ |
A D | snic_disc.c | 274 tgt->tdata.typ = le16_to_cpu(tgtid->tgt_type); in snic_tgt_create() 279 tgt->tdata.disc_id = 0; in snic_tgt_create() 286 switch (tgt->tdata.typ) { in snic_tgt_create() 312 tgt->id, snic_tgt_type_to_str(tgt->tdata.typ)); in snic_tgt_create()
|
A D | snic_disc.h | 80 struct snic_tgt_priv tdata; member
|