/kernel/linux/linux-5.10/drivers/hwmon/ |
D | coretemp.c | 108 struct temp_data *tdata = pdata->core_data[attr->index]; in show_label() local 110 if (tdata->is_pkg_data) in show_label() 113 return sprintf(buf, "Core %u\n", tdata->cpu_core_id); in show_label() 122 struct temp_data *tdata = pdata->core_data[attr->index]; in show_crit_alarm() local 124 mutex_lock(&tdata->update_lock); in show_crit_alarm() 125 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_crit_alarm() 126 mutex_unlock(&tdata->update_lock); in show_crit_alarm() 155 struct temp_data *tdata = pdata->core_data[attr->index]; in show_temp() local 157 mutex_lock(&tdata->update_lock); in show_temp() 160 if (!tdata->valid || time_after(jiffies, tdata->last_updated + HZ)) { in show_temp() [all …]
|
D | hwmon.c | 141 struct hwmon_thermal_data *tdata = data; in hwmon_thermal_get_temp() local 142 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_get_temp() 146 ret = hwdev->chip->ops->read(tdata->dev, hwmon_temp, hwmon_temp_input, in hwmon_thermal_get_temp() 147 tdata->index, &t); in hwmon_thermal_get_temp() 168 struct hwmon_thermal_data *tdata; in hwmon_thermal_add_sensor() local 172 tdata = devm_kzalloc(dev, sizeof(*tdata), GFP_KERNEL); in hwmon_thermal_add_sensor() 173 if (!tdata) in hwmon_thermal_add_sensor() 176 tdata->dev = dev; in hwmon_thermal_add_sensor() 177 tdata->index = index; in hwmon_thermal_add_sensor() 179 tzd = devm_thermal_zone_of_sensor_register(dev, index, tdata, in hwmon_thermal_add_sensor() [all …]
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-magicmouse.c | 192 static void magicmouse_emit_touch(struct magicmouse_sc *msc, int raw_id, u8 *tdata) in magicmouse_emit_touch() argument 199 id = (tdata[6] << 2 | tdata[5] >> 6) & 0xf; in magicmouse_emit_touch() 200 x = (tdata[1] << 28 | tdata[0] << 20) >> 20; in magicmouse_emit_touch() 201 y = -((tdata[2] << 24 | tdata[1] << 16) >> 20); in magicmouse_emit_touch() 202 size = tdata[5] & 0x3f; in magicmouse_emit_touch() 203 orientation = (tdata[6] >> 2) - 32; in magicmouse_emit_touch() 204 touch_major = tdata[3]; in magicmouse_emit_touch() 205 touch_minor = tdata[4]; in magicmouse_emit_touch() 206 state = tdata[7] & TOUCH_STATE_MASK; in magicmouse_emit_touch() 209 id = tdata[8] & 0xf; in magicmouse_emit_touch() [all …]
|
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 …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | trace-event-info.c | 495 struct tracing_data *tdata; in tracing_data_get() local 504 tdata = malloc(sizeof(*tdata)); in tracing_data_get() 505 if (!tdata) in tracing_data_get() 508 tdata->temp = temp; 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() 516 if (!mkstemp(tdata->temp_file)) { in tracing_data_get() 518 free(tdata); in tracing_data_get() 522 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get() 524 pr_debug("Can't read '%s'", tdata->temp_file); in tracing_data_get() [all …]
|
D | trace-event.h | 64 int tracing_data_put(struct tracing_data *tdata);
|
D | synthetic-events.c | 1912 struct tracing_data *tdata; in perf_event__synthesize_tracing_data() local 1927 tdata = tracing_data_get(&evlist->core.entries, fd, true); in perf_event__synthesize_tracing_data() 1928 if (!tdata) in perf_event__synthesize_tracing_data() 1934 size = tdata->size; in perf_event__synthesize_tracing_data() 1946 tracing_data_put(tdata); in perf_event__synthesize_tracing_data()
|
/kernel/linux/linux-5.10/lib/ |
D | test_rhashtable.c | 601 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test() argument 603 unsigned int entries = tdata->entries; in thread_lookup_test() 610 .tid = tdata->id, in thread_lookup_test() 614 if (obj && (tdata->objs[i].value.id == TEST_INSERT_FAIL)) { in thread_lookup_test() 617 } else if (!obj && (tdata->objs[i].value.id != TEST_INSERT_FAIL)) { in thread_lookup_test() 634 struct thread_data *tdata = data; in threadfunc() local 639 pr_err(" thread[%d]: interrupted\n", tdata->id); in threadfunc() 643 for (i = 0; i < tdata->entries; i++) { in threadfunc() 644 tdata->objs[i].value.id = i; in threadfunc() 645 tdata->objs[i].value.tid = tdata->id; in threadfunc() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1261 struct cxgbi_task_data *tdata, u32 sw_tag, in cxgbi_ddp_reserve() argument 1267 struct cxgbi_task_tag_info *ttinfo = &tdata->ttinfo; in cxgbi_ddp_reserve() 1365 struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); in task_release_itt() local 1366 struct cxgbi_task_tag_info *ttinfo = &tdata->ttinfo; in task_release_itt() 1396 struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); in task_reserve_itt() local 1397 struct cxgbi_task_tag_info *ttinfo = &tdata->ttinfo; in task_reserve_itt() 1400 &tdata->dlen, 0); in task_reserve_itt() 1401 err = cxgbi_ddp_reserve(cconn, tdata, sw_tag, tdata->dlen); in task_reserve_itt() 1407 cconn->cep->csk, task, tdata->dlen, in task_reserve_itt() 1815 struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); in cxgbi_task_data_sgl_check() local [all …]
|
/kernel/linux/linux-5.10/arch/um/kernel/ |
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.*) }
|
D | uml.lds.S | 99 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
|
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/ |
D | tcpci_mt6360.c | 41 struct tcpci_data tdata; member 59 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init() argument 61 struct regmap *regmap = tdata->regmap; in mt6360_tcpc_init() 157 mti->tdata.regmap = dev_get_regmap(pdev->dev.parent, NULL); in mt6360_tcpc_probe() 158 if (!mti->tdata.regmap) { in mt6360_tcpc_probe() 167 mti->tdata.init = mt6360_tcpc_init; in mt6360_tcpc_probe() 168 mti->tcpci = tcpci_register_port(&pdev->dev, &mti->tdata); in mt6360_tcpc_probe()
|
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()
|
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() 204 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus() argument 206 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_set_vbus() 396 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling() argument 399 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_start_toggling()
|
/kernel/linux/linux-5.10/drivers/leds/trigger/ |
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()
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
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() 794 void copy_and_format_trace_data(struct fc_trace_hdr *tdata, in copy_and_format_trace_data() argument 806 tdata->frame_type = tdata->frame_type & 0x7F; in copy_and_format_trace_data() 810 time64_to_tm(tdata->time_stamp.tv_sec, 0, &tm); 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() [all …]
|
D | fnic_trace.h | 123 void copy_and_format_trace_data(struct fc_trace_hdr *tdata,
|
D | fcpio.h | 480 struct fcpio_tdata tdata; member
|
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
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()
|
/kernel/linux/linux-5.10/drivers/staging/axis-fifo/ |
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>;
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
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()
|
D | snic_disc.h | 80 struct snic_tgt_priv tdata; member
|
D | snic_scsi.c | 1517 if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN)) in snic_send_abort_and_wait() 1796 if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN)) in snic_dr_clean_single_req() 2105 if (tgt->tdata.typ == SNIC_TGT_DAS) in snic_dev_reset_supported() 2627 if (tgt->tdata.typ == SNIC_TGT_DAS) in snic_tgt_scsi_abort_io()
|
/kernel/linux/linux-5.10/drivers/scsi/mvsas/ |
D | mv_sas.h | 310 void *tdata; member
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | amifb.c | 1961 unsigned long tdata = 0; in ami_set_var_cursorinfo() local 1963 get_user(tdata, data); in ami_set_var_cursorinfo() 1970 : "0" (datawords), "d" (tdata)); in ami_set_var_cursorinfo() 1973 datawords |= tdata & 1; in ami_set_var_cursorinfo() 1974 datawords |= (tdata & 2) << (16 - 1); in ami_set_var_cursorinfo()
|