Home
last modified time | relevance | path

Searched refs:tdata (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.3-rc2/drivers/hwmon/
A Dcoretemp.c304 tdata->tjmax = adjust_tjmax(c, tdata->cpu, dev); in get_tjmax()
360 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_crit_alarm()
412 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_temp()
447 tdata->attrs[i] = &tdata->sd_attrs[i].dev_attr.attr; in create_core_attrs()
449 tdata->attr_group.attrs = tdata->attrs; in create_core_attrs()
484 if (!tdata) in init_temp_data()
494 return tdata; in init_temp_data()
582 if (!tdata) in coretemp_remove_core()
739 } else if (tdata && tdata->cpu == cpu) { in coretemp_cpu_offline()
750 if (tdata) in coretemp_cpu_offline()
[all …]
A Dhwmon.c163 tdata->index, &t); in hwmon_thermal_get_temp()
192 hwmon_temp_min, tdata->index, low); in hwmon_thermal_set_trips()
199 hwmon_temp_max, tdata->index, high); in hwmon_thermal_set_trips()
220 struct hwmon_thermal_data *tdata; in hwmon_thermal_add_sensor() local
224 tdata = devm_kzalloc(dev, sizeof(*tdata), GFP_KERNEL); in hwmon_thermal_add_sensor()
225 if (!tdata) in hwmon_thermal_add_sensor()
228 tdata->dev = dev; in hwmon_thermal_add_sensor()
229 tdata->index = index; in hwmon_thermal_add_sensor()
238 devm_kfree(dev, tdata); in hwmon_thermal_add_sensor()
246 tdata->tzd = tzd; in hwmon_thermal_add_sensor()
[all …]
/linux-6.3-rc2/tools/perf/util/
A Dtrace-event-info.c592 tdata = malloc(sizeof(*tdata)); in tracing_data_get()
593 if (!tdata) in tracing_data_get()
597 tdata->size = 0; in tracing_data_get()
602 snprintf(tdata->temp_file, sizeof(tdata->temp_file), in tracing_data_get()
606 free(tdata); in tracing_data_get()
613 free(tdata); in tracing_data_get()
656 zfree(&tdata); in tracing_data_get()
659 return tdata; in tracing_data_get()
666 if (tdata->temp) { in tracing_data_put()
671 free(tdata); in tracing_data_put()
[all …]
A Dtrace-event.h74 int tracing_data_put(struct tracing_data *tdata);
/linux-6.3-rc2/lib/
A Dtest_rhashtable.c595 .tid = tdata->id, in thread_lookup_test()
630 tdata->objs[i].value.tid = tdata->id; in threadfunc()
636 tdata->id); in threadfunc()
647 tdata->id); in threadfunc()
669 tdata->id); in threadfunc()
747 if (!tdata) in test_rht_init()
751 vfree(tdata); in test_rht_init()
761 vfree(tdata); in test_rht_init()
766 tdata[i].id = i; in test_rht_init()
769 tdata[i].task = kthread_run(threadfunc, &tdata[i], in test_rht_init()
[all …]
/linux-6.3-rc2/drivers/hid/
A Dhid-magicmouse.c218 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()
228 id = tdata[8] & 0xf; in magicmouse_emit_touch()
229 x = (tdata[1] << 27 | tdata[0] << 19) >> 19; in magicmouse_emit_touch()
230 y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19); in magicmouse_emit_touch()
231 size = tdata[6]; in magicmouse_emit_touch()
235 pressure = tdata[7]; in magicmouse_emit_touch()
239 id = (tdata[7] << 2 | tdata[6] >> 6) & 0xf; in magicmouse_emit_touch()
240 x = (tdata[1] << 27 | tdata[0] << 19) >> 19; in magicmouse_emit_touch()
[all …]
A Dhid-picolcd_fb.c95 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-6.3-rc2/drivers/scsi/cxgbi/
A Dlibcxgbi.c1401 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-6.3-rc2/arch/um/kernel/
A Ddyn.lds.S45 .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.*) }
A Duml.lds.S99 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
/linux-6.3-rc2/drivers/usb/typec/tcpm/
A Dtcpci_mt6360.c40 struct tcpci_data tdata; member
58 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init() argument
60 struct regmap *regmap = tdata->regmap; in mt6360_tcpc_init()
156 mti->tdata.regmap = dev_get_regmap(pdev->dev.parent, NULL); in mt6360_tcpc_probe()
157 if (!mti->tdata.regmap) { in mt6360_tcpc_probe()
166 mti->tdata.init = mt6360_tcpc_init; in mt6360_tcpc_probe()
167 mti->tcpci = tcpci_register_port(&pdev->dev, &mti->tdata); in mt6360_tcpc_probe()
A Dtcpci_rt1711h.c90 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()
A Dtcpci_maxim_core.c60 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-6.3-rc2/drivers/leds/trigger/
A Dledtrig-transient.c165 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-6.3-rc2/drivers/scsi/fnic/
A Dfnic_trace.c719 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()
792 tdata->frame_type = tdata->frame_type & 0x7F; in copy_and_format_trace_data()
804 tdata->time_stamp.tv_nsec, tdata->host_no, in copy_and_format_trace_data()
805 tdata->frame_type, tdata->frame_len); in copy_and_format_trace_data()
807 fc_trace = (char *)FC_TRACE_ADDRESS(tdata); in copy_and_format_trace_data()
809 for (j = 0; j < min_t(u8, tdata->frame_len, in copy_and_format_trace_data()
[all …]
A Dfnic_trace.h109 void copy_and_format_trace_data(struct fc_trace_hdr *tdata,
/linux-6.3-rc2/drivers/crypto/ccp/
A Dccp-dev.c421 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-6.3-rc2/drivers/staging/axis-fifo/
A Daxis-fifo.txt23 - 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-6.3-rc2/drivers/dma/ptdma/
A Dptdma-dev.c126 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()
A Dptdma.h264 struct pt_tasklet_data tdata; member
A Dptdma-dmaengine.c62 pt->tdata.cmd = pt_cmd; in pt_dma_start_desc()
/linux-6.3-rc2/drivers/scsi/snic/
A Dsnic_disc.c260 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()
A Dsnic_disc.h66 struct snic_tgt_priv tdata; member
/linux-6.3-rc2/tools/testing/selftests/kvm/
A Dmemslot_perf_test.c793 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-6.3-rc2/drivers/hwmon/pmbus/
A Dpmbus_core.c1275 struct pmbus_thermal_data *tdata = tz->devdata; in pmbus_thermal_get_temp() local
1276 struct pmbus_sensor *sensor = tdata->sensor; in pmbus_thermal_get_temp()
1277 struct pmbus_data *pmbus_data = tdata->pmbus_data; in pmbus_thermal_get_temp()
1307 struct pmbus_thermal_data *tdata; in pmbus_thermal_add_sensor() local
1310 tdata = devm_kzalloc(dev, sizeof(*tdata), GFP_KERNEL); in pmbus_thermal_add_sensor()
1311 if (!tdata) in pmbus_thermal_add_sensor()
1314 tdata->sensor = sensor; in pmbus_thermal_add_sensor()
1315 tdata->pmbus_data = pmbus_data; in pmbus_thermal_add_sensor()
1317 tzd = devm_thermal_of_zone_register(dev, index, tdata, in pmbus_thermal_add_sensor()

Completed in 57 milliseconds

12