/Linux-v6.6/drivers/hwmon/ |
D | coretemp.c | 264 static int get_tjmax(struct temp_data *tdata, struct device *dev) in get_tjmax() argument 266 struct cpuinfo_x86 *c = &cpu_data(tdata->cpu); in get_tjmax() 272 if (tdata->tjmax) in get_tjmax() 273 return tdata->tjmax; in get_tjmax() 279 err = rdmsr_safe_on_cpu(tdata->cpu, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tjmax() 282 dev_warn(dev, "Unable to read TjMax from CPU %u\n", tdata->cpu); in get_tjmax() 292 tdata->tjmax = force_tjmax * 1000; in get_tjmax() 298 tdata->tjmax = adjust_tjmax(c, tdata->cpu, dev); in get_tjmax() 300 return tdata->tjmax; in get_tjmax() 303 static int get_ttarget(struct temp_data *tdata, struct device *dev) in get_ttarget() argument [all …]
|
D | hwmon.c | 156 struct hwmon_thermal_data *tdata = thermal_zone_device_priv(tz); in hwmon_thermal_get_temp() local 157 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_get_temp() 161 ret = hwdev->chip->ops->read(tdata->dev, hwmon_temp, hwmon_temp_input, in hwmon_thermal_get_temp() 162 tdata->index, &t); in hwmon_thermal_get_temp() 173 struct hwmon_thermal_data *tdata = thermal_zone_device_priv(tz); in hwmon_thermal_set_trips() local 174 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_set_trips() 189 if (info[i]->config[tdata->index] & HWMON_T_MIN) { in hwmon_thermal_set_trips() 190 err = chip->ops->write(tdata->dev, hwmon_temp, in hwmon_thermal_set_trips() 191 hwmon_temp_min, tdata->index, low); in hwmon_thermal_set_trips() 196 if (info[i]->config[tdata->index] & HWMON_T_MAX) { in hwmon_thermal_set_trips() [all …]
|
/Linux-v6.6/lib/ |
D | test_rhashtable.c | 586 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test() argument 588 unsigned int entries = tdata->entries; in thread_lookup_test() 595 .tid = tdata->id, in thread_lookup_test() 599 if (obj && (tdata->objs[i].value.id == TEST_INSERT_FAIL)) { in thread_lookup_test() 602 } else if (!obj && (tdata->objs[i].value.id != TEST_INSERT_FAIL)) { in thread_lookup_test() 619 struct thread_data *tdata = data; in threadfunc() local 624 pr_err(" thread[%d]: interrupted\n", tdata->id); in threadfunc() 628 for (i = 0; i < tdata->entries; i++) { in threadfunc() 629 tdata->objs[i].value.id = i; in threadfunc() 630 tdata->objs[i].value.tid = tdata->id; in threadfunc() [all …]
|
/Linux-v6.6/tools/perf/util/ |
D | trace-event-info.c | 595 struct tracing_data *tdata; in tracing_data_get() local 604 tdata = malloc(sizeof(*tdata)); in tracing_data_get() 605 if (!tdata) in tracing_data_get() 608 tdata->temp = temp; in tracing_data_get() 609 tdata->size = 0; in tracing_data_get() 614 snprintf(tdata->temp_file, sizeof(tdata->temp_file), in tracing_data_get() 616 if (!mkstemp(tdata->temp_file)) { in tracing_data_get() 618 free(tdata); in tracing_data_get() 622 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get() 624 pr_debug("Can't read '%s'", tdata->temp_file); in tracing_data_get() [all …]
|
D | trace-event.h | 80 int tracing_data_put(struct tracing_data *tdata);
|
/Linux-v6.6/drivers/hid/ |
D | hid-magicmouse.c | 210 static void magicmouse_emit_touch(struct magicmouse_sc *msc, int raw_id, u8 *tdata) in magicmouse_emit_touch() argument 218 id = (tdata[6] << 2 | tdata[5] >> 6) & 0xf; in magicmouse_emit_touch() 219 x = (tdata[1] << 28 | tdata[0] << 20) >> 20; in magicmouse_emit_touch() 220 y = -((tdata[2] << 24 | tdata[1] << 16) >> 20); in magicmouse_emit_touch() 221 size = tdata[5] & 0x3f; in magicmouse_emit_touch() 222 orientation = (tdata[6] >> 2) - 32; in magicmouse_emit_touch() 223 touch_major = tdata[3]; in magicmouse_emit_touch() 224 touch_minor = tdata[4]; in magicmouse_emit_touch() 225 state = tdata[7] & TOUCH_STATE_MASK; in magicmouse_emit_touch() 228 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 …]
|
/Linux-v6.6/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 …]
|
/Linux-v6.6/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.*) } 126 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
|
D | uml.lds.S | 99 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
|
/Linux-v6.6/drivers/usb/typec/tcpm/ |
D | tcpci_mt6360.c | 40 struct tcpci_data tdata; member 52 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init() argument 54 struct regmap *regmap = tdata->regmap; in mt6360_tcpc_init() 150 mti->tdata.regmap = dev_get_regmap(pdev->dev.parent, NULL); in mt6360_tcpc_probe() 151 if (!mti->tdata.regmap) { in mt6360_tcpc_probe() 160 mti->tdata.init = mt6360_tcpc_init; in mt6360_tcpc_probe() 161 mti->tcpci = tcpci_register_port(&pdev->dev, &mti->tdata); in mt6360_tcpc_probe()
|
D | tcpci_rt1711h.c | 90 static struct rt1711h_chip *tdata_to_rt1711h(struct tcpci_data *tdata) in tdata_to_rt1711h() argument 92 return container_of(tdata, struct rt1711h_chip, data); in tdata_to_rt1711h() 95 static int rt1711h_init(struct tcpci *tcpci, struct tcpci_data *tdata) in rt1711h_init() argument 97 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_init() 146 static int rt1711h_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vbus() argument 149 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_set_vbus() 165 static int rt1711h_set_vconn(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vconn() argument 168 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_set_vconn() 222 struct tcpci_data *tdata, in rt1711h_start_drp_toggling() argument 225 struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); in rt1711h_start_drp_toggling()
|
D | tcpci_maxim_core.c | 60 static struct max_tcpci_chip *tdata_to_max_tcpci(struct tcpci_data *tdata) in tdata_to_max_tcpci() argument 62 return container_of(tdata, struct max_tcpci_chip, data); in tdata_to_max_tcpci() 184 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus() argument 186 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_set_vbus() 229 static void max_tcpci_frs_sourcing_vbus(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_frs_sourcing_vbus() argument 236 max_tcpci_set_vbus(tcpci, tdata, true, false); in max_tcpci_frs_sourcing_vbus() 402 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling() argument 405 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_start_toggling() 421 static void max_tcpci_check_contaminant(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_check_contaminant() argument 423 struct max_tcpci_chip *chip = tdata_to_max_tcpci(tdata); in max_tcpci_check_contaminant()
|
/Linux-v6.6/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()
|
/Linux-v6.6/drivers/scsi/fnic/ |
D | fnic_trace.c | 719 struct fc_trace_hdr *tdata; in fnic_fc_trace_get_data() local 738 tdata = (struct fc_trace_hdr *) in fnic_fc_trace_get_data() 740 if (!tdata) { in fnic_fc_trace_get_data() 746 copy_and_format_trace_data(tdata, in fnic_fc_trace_get_data() 749 fc_trace = (char *)tdata; in fnic_fc_trace_get_data() 780 void copy_and_format_trace_data(struct fc_trace_hdr *tdata, in copy_and_format_trace_data() argument 791 tdata->frame_type = tdata->frame_type & 0x7F; in copy_and_format_trace_data() 797 &tdata->time_stamp.tv_sec, tdata->time_stamp.tv_nsec, in copy_and_format_trace_data() 798 tdata->host_no, tdata->frame_type, tdata->frame_len); in copy_and_format_trace_data() 800 fc_trace = (char *)FC_TRACE_ADDRESS(tdata); in copy_and_format_trace_data() [all …]
|
D | fnic_trace.h | 109 void copy_and_format_trace_data(struct fc_trace_hdr *tdata,
|
/Linux-v6.6/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()
|
/Linux-v6.6/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>;
|
/Linux-v6.6/drivers/dma/ptdma/ |
D | ptdma-dev.c | 126 struct pt_tasklet_data *tdata = (struct pt_tasklet_data *)data; in pt_do_cmd_complete() local 127 struct pt_cmd *cmd = tdata->cmd; in pt_do_cmd_complete() 160 pt_do_cmd_complete((ulong)&pt->tdata); in pt_check_status_trans()
|
D | ptdma.h | 264 struct pt_tasklet_data tdata; member
|
D | ptdma-dmaengine.c | 62 pt->tdata.cmd = pt_cmd; in pt_dma_start_desc()
|
/Linux-v6.6/drivers/scsi/snic/ |
D | snic_disc.c | 260 tgt->tdata.typ = le16_to_cpu(tgtid->tgt_type); in snic_tgt_create() 265 tgt->tdata.disc_id = 0; in snic_tgt_create() 272 switch (tgt->tdata.typ) { in snic_tgt_create() 298 tgt->id, snic_tgt_type_to_str(tgt->tdata.typ)); in snic_tgt_create()
|
D | snic_disc.h | 66 struct snic_tgt_priv tdata; member
|
/Linux-v6.6/tools/testing/selftests/kvm/ |
D | memslot_perf_test.c | 793 const struct test_data *tdata, in test_execute() argument 798 uint64_t mem_size = tdata->mem_size ? : MEM_SIZE; in test_execute() 805 if (!prepare_vm(data, nslots, maxslots, tdata->guest_code, in test_execute() 812 if (tdata->prepare && in test_execute() 813 !tdata->prepare(data, sync, maxslots)) { in test_execute() 828 tdata->loop(data, sync); in test_execute()
|
/Linux-v6.6/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 1277 struct pmbus_thermal_data *tdata = thermal_zone_device_priv(tz); in pmbus_thermal_get_temp() local 1278 struct pmbus_sensor *sensor = tdata->sensor; in pmbus_thermal_get_temp() 1279 struct pmbus_data *pmbus_data = tdata->pmbus_data; in pmbus_thermal_get_temp() 1309 struct pmbus_thermal_data *tdata; in pmbus_thermal_add_sensor() local 1312 tdata = devm_kzalloc(dev, sizeof(*tdata), GFP_KERNEL); in pmbus_thermal_add_sensor() 1313 if (!tdata) in pmbus_thermal_add_sensor() 1316 tdata->sensor = sensor; in pmbus_thermal_add_sensor() 1317 tdata->pmbus_data = pmbus_data; in pmbus_thermal_add_sensor() 1319 tzd = devm_thermal_of_zone_register(dev, index, tdata, in pmbus_thermal_add_sensor()
|