Symbol: ptd
drivers/thermal/intel/intel_pch_thermal.c
102
adev = ACPI_COMPANION(&ptd->pdev->dev);
drivers/thermal/intel/intel_pch_thermal.c
114
static int pch_wpt_add_acpi_psv_trip(struct pch_thermal_device *ptd,
drivers/thermal/intel/intel_pch_thermal.c
123
struct pch_thermal_device *ptd = thermal_zone_device_priv(tzd);
drivers/thermal/intel/intel_pch_thermal.c
125
*temp = GET_WPT_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP));
drivers/thermal/intel/intel_pch_thermal.c
165
struct pch_thermal_device *ptd;
drivers/thermal/intel/intel_pch_thermal.c
171
ptd = devm_kzalloc(&pdev->dev, sizeof(*ptd), GFP_KERNEL);
drivers/thermal/intel/intel_pch_thermal.c
172
if (!ptd)
drivers/thermal/intel/intel_pch_thermal.c
175
pci_set_drvdata(pdev, ptd);
drivers/thermal/intel/intel_pch_thermal.c
176
ptd->pdev = pdev;
drivers/thermal/intel/intel_pch_thermal.c
190
ptd->hw_base = pci_ioremap_bar(pdev, 0);
drivers/thermal/intel/intel_pch_thermal.c
191
if (!ptd->hw_base) {
drivers/thermal/intel/intel_pch_thermal.c
198
if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) {
drivers/thermal/intel/intel_pch_thermal.c
199
ptd->bios_enabled = true;
drivers/thermal/intel/intel_pch_thermal.c
203
tsel = readb(ptd->hw_base + WPT_TSEL);
drivers/thermal/intel/intel_pch_thermal.c
209
dev_err(&ptd->pdev->dev, "Sensor can't be enabled\n");
drivers/thermal/intel/intel_pch_thermal.c
214
writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL);
drivers/thermal/intel/intel_pch_thermal.c
215
if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) {
drivers/thermal/intel/intel_pch_thermal.c
216
dev_err(&ptd->pdev->dev, "Sensor can't be enabled\n");
drivers/thermal/intel/intel_pch_thermal.c
222
trip_temp = readw(ptd->hw_base + WPT_CTT);
drivers/thermal/intel/intel_pch_thermal.c
229
trip_temp = readw(ptd->hw_base + WPT_PHL);
drivers/thermal/intel/intel_pch_thermal.c
236
nr_trips += pch_wpt_add_acpi_psv_trip(ptd, &ptd_trips[nr_trips]);
drivers/thermal/intel/intel_pch_thermal.c
238
ptd->tzd = thermal_zone_device_register_with_trips(board_names[board_id],
drivers/thermal/intel/intel_pch_thermal.c
240
ptd, &tzd_ops,
drivers/thermal/intel/intel_pch_thermal.c
242
if (IS_ERR(ptd->tzd)) {
drivers/thermal/intel/intel_pch_thermal.c
245
err = PTR_ERR(ptd->tzd);
drivers/thermal/intel/intel_pch_thermal.c
248
err = thermal_zone_device_enable(ptd->tzd);
drivers/thermal/intel/intel_pch_thermal.c
255
thermal_zone_device_unregister(ptd->tzd);
drivers/thermal/intel/intel_pch_thermal.c
257
iounmap(ptd->hw_base);
drivers/thermal/intel/intel_pch_thermal.c
268
struct pch_thermal_device *ptd = pci_get_drvdata(pdev);
drivers/thermal/intel/intel_pch_thermal.c
270
thermal_zone_device_unregister(ptd->tzd);
drivers/thermal/intel/intel_pch_thermal.c
271
iounmap(ptd->hw_base);
drivers/thermal/intel/intel_pch_thermal.c
278
struct pch_thermal_device *ptd = dev_get_drvdata(device);
drivers/thermal/intel/intel_pch_thermal.c
284
if (!ptd->bios_enabled) {
drivers/thermal/intel/intel_pch_thermal.c
285
tsel = readb(ptd->hw_base + WPT_TSEL);
drivers/thermal/intel/intel_pch_thermal.c
286
writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL);
drivers/thermal/intel/intel_pch_thermal.c
295
pch_thr_temp = GET_PCH_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TSPM));
drivers/thermal/intel/intel_pch_thermal.c
298
pch_cur_temp = GET_PCH_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP));
drivers/thermal/intel/intel_pch_thermal.c
301
dev_warn(&ptd->pdev->dev,
drivers/thermal/intel/intel_pch_thermal.c
318
dev_warn(&ptd->pdev->dev, "Wakeup event detected, abort cooling\n");
drivers/thermal/intel/intel_pch_thermal.c
323
dev_dbg(&ptd->pdev->dev,
drivers/thermal/intel/intel_pch_thermal.c
328
pch_cur_temp = GET_PCH_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP));
drivers/thermal/intel/intel_pch_thermal.c
332
dev_warn(&ptd->pdev->dev,
drivers/thermal/intel/intel_pch_thermal.c
337
dev_info(&ptd->pdev->dev,
drivers/thermal/intel/intel_pch_thermal.c
341
dev_info(&ptd->pdev->dev,
drivers/thermal/intel/intel_pch_thermal.c
351
struct pch_thermal_device *ptd = dev_get_drvdata(device);
drivers/thermal/intel/intel_pch_thermal.c
354
if (ptd->bios_enabled)
drivers/thermal/intel/intel_pch_thermal.c
357
tsel = readb(ptd->hw_base + WPT_TSEL);
drivers/thermal/intel/intel_pch_thermal.c
359
writeb(tsel | WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL);
drivers/thermal/intel/intel_pch_thermal.c
96
static int pch_wpt_add_acpi_psv_trip(struct pch_thermal_device *ptd,
drivers/usb/host/isp116x-hcd.c
169
struct ptd *ptd;
drivers/usb/host/isp116x-hcd.c
177
ptd = &ep->ptd;
drivers/usb/host/isp116x-hcd.c
178
dump_ptd(ptd);
drivers/usb/host/isp116x-hcd.c
179
dump_ptd_out_data(ptd, ep->data);
drivers/usb/host/isp116x-hcd.c
180
isp116x_write_data16(isp116x, ptd->count);
drivers/usb/host/isp116x-hcd.c
181
isp116x_write_data16(isp116x, ptd->mps);
drivers/usb/host/isp116x-hcd.c
182
isp116x_write_data16(isp116x, ptd->len);
drivers/usb/host/isp116x-hcd.c
183
isp116x_write_data16(isp116x, ptd->faddr);
drivers/usb/host/isp116x-hcd.c
184
buflen -= sizeof(struct ptd);
drivers/usb/host/isp116x-hcd.c
201
struct ptd *ptd;
drivers/usb/host/isp116x-hcd.c
209
ptd = &ep->ptd;
drivers/usb/host/isp116x-hcd.c
210
ptd->count = isp116x_read_data16(isp116x);
drivers/usb/host/isp116x-hcd.c
211
ptd->mps = isp116x_read_data16(isp116x);
drivers/usb/host/isp116x-hcd.c
212
ptd->len = isp116x_read_data16(isp116x);
drivers/usb/host/isp116x-hcd.c
213
ptd->faddr = isp116x_read_data16(isp116x);
drivers/usb/host/isp116x-hcd.c
214
buflen -= sizeof(struct ptd);
drivers/usb/host/isp116x-hcd.c
220
dump_ptd(ptd);
drivers/usb/host/isp116x-hcd.c
221
dump_ptd_in_data(ptd, ep->data);
drivers/usb/host/isp116x-hcd.c
235
struct ptd *ptd;
drivers/usb/host/isp116x-hcd.c
244
ptd = &ep->ptd;
drivers/usb/host/isp116x-hcd.c
275
ptd->count = PTD_CC_MSK | PTD_ACTIVE_MSK | PTD_TOGGLE(toggle);
drivers/usb/host/isp116x-hcd.c
276
ptd->mps = PTD_MPS(ep->maxpacket)
drivers/usb/host/isp116x-hcd.c
279
ptd->len = PTD_LEN(len) | PTD_DIR(dir);
drivers/usb/host/isp116x-hcd.c
280
ptd->faddr = PTD_FA(usb_pipedevice(urb->pipe));
drivers/usb/host/isp116x-hcd.c
282
ptd->mps |= PTD_LAST_MSK;
drivers/usb/host/isp116x-hcd.c
285
isp116x->atl_bufshrt = sizeof(struct ptd) + isp116x->atl_buflen;
drivers/usb/host/isp116x-hcd.c
353
struct ptd *ptd;
drivers/usb/host/isp116x-hcd.c
363
ptd = &ep->ptd;
drivers/usb/host/isp116x-hcd.c
364
cc = PTD_GET_CC(ptd);
drivers/usb/host/isp116x-hcd.c
383
PTD_GET_TOGGLE(ptd));
drivers/usb/host/isp116x-hcd.c
384
urb->actual_length += PTD_GET_COUNT(ptd);
drivers/usb/host/isp116x-hcd.c
401
if (usb_pipeint(urb->pipe) && !PTD_GET_LEN(ptd)) {
drivers/usb/host/isp116x-hcd.c
415
usb_settoggle(udev, ep->epnum, 1, PTD_GET_TOGGLE(ptd)
drivers/usb/host/isp116x-hcd.c
418
usb_settoggle(udev, ep->epnum, 0, PTD_GET_TOGGLE(ptd)
drivers/usb/host/isp116x-hcd.c
424
urb->actual_length += PTD_GET_COUNT(ptd);
drivers/usb/host/isp116x-hcd.c
425
if (PTD_GET_ACTIVE(ptd)
drivers/usb/host/isp116x-hcd.c
434
&& !(PTD_GET_COUNT(ptd) % ep->maxpacket)) {
drivers/usb/host/isp116x-hcd.c
446
if (PTD_GET_ACTIVE(ptd)
drivers/usb/host/isp116x-hcd.c
460
if (PTD_GET_ACTIVE(ptd)
drivers/usb/host/isp116x.h
304
struct ptd ptd;
drivers/usb/host/isp116x.h
542
#define PTD_DIR_STR(ptd) ({char __c; \
drivers/usb/host/isp116x.h
543
switch(PTD_GET_DIR(ptd)){ \
drivers/usb/host/isp116x.h
553
static inline void dump_ptd(struct ptd *ptd)
drivers/usb/host/isp116x.h
556
PTD_GET_CC(ptd), PTD_GET_FA(ptd),
drivers/usb/host/isp116x.h
557
PTD_DIR_STR(ptd), PTD_GET_EP(ptd),
drivers/usb/host/isp116x.h
558
PTD_GET_COUNT(ptd), PTD_GET_LEN(ptd), PTD_GET_MPS(ptd),
drivers/usb/host/isp116x.h
559
PTD_GET_TOGGLE(ptd), PTD_GET_ACTIVE(ptd),
drivers/usb/host/isp116x.h
560
PTD_GET_SPD(ptd), PTD_GET_LAST(ptd));
drivers/usb/host/isp116x.h
563
static inline void dump_ptd_out_data(struct ptd *ptd, u8 * buf)
drivers/usb/host/isp116x.h
567
if (PTD_GET_DIR(ptd) != PTD_DIR_IN && PTD_GET_LEN(ptd)) {
drivers/usb/host/isp116x.h
569
for (k = 0; k < PTD_GET_LEN(ptd); ++k)
drivers/usb/host/isp116x.h
575
static inline void dump_ptd_in_data(struct ptd *ptd, u8 * buf)
drivers/usb/host/isp116x.h
579
if (PTD_GET_DIR(ptd) == PTD_DIR_IN && PTD_GET_COUNT(ptd)) {
drivers/usb/host/isp116x.h
581
for (k = 0; k < PTD_GET_COUNT(ptd); ++k)
drivers/usb/host/isp116x.h
585
if (PTD_GET_LAST(ptd))
drivers/usb/host/isp116x.h
591
#define dump_ptd(ptd) do{}while(0)
drivers/usb/host/isp116x.h
592
#define dump_ptd_in_data(ptd,buf) do{}while(0)
drivers/usb/host/isp116x.h
593
#define dump_ptd_out_data(ptd,buf) do{}while(0)
drivers/usb/host/uhci-q.c
205
struct uhci_td *ptd;
drivers/usb/host/uhci-q.c
207
ptd = list_entry(td->fl_list.prev, struct uhci_td, fl_list);
drivers/usb/host/uhci-q.c
208
ptd->link = td->link;
drivers/usb/host/uhci-q.c
336
struct uhci_td *ptd;
drivers/usb/host/uhci-q.c
340
ptd = list_entry(purbp->td_list.prev, struct uhci_td,
drivers/usb/host/uhci-q.c
344
ptd->link = td->link;
drivers/usb/isp1760/isp1760-hcd.c
1003
struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
1039
ptd_write(hcd, ptd_offset, slot, ptd);
drivers/usb/isp1760/isp1760-hcd.c
1125
struct ptd ptd;
drivers/usb/isp1760/isp1760-hcd.c
1180
create_ptd_int(qh, qtd, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1182
create_ptd_atl(qh, qtd, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1185
slots, qtd, qh, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1265
static int check_int_transfer(struct usb_hcd *hcd, struct ptd *ptd,
drivers/usb/isp1760/isp1760-hcd.c
1271
dw4 = TO_U32(ptd->dw4);
drivers/usb/isp1760/isp1760-hcd.c
1277
if (ptd->dw3 & DW3_HALT_BIT) {
drivers/usb/isp1760/isp1760-hcd.c
1312
static int check_atl_transfer(struct usb_hcd *hcd, struct ptd *ptd,
drivers/usb/isp1760/isp1760-hcd.c
1315
WARN_ON(!ptd);
drivers/usb/isp1760/isp1760-hcd.c
1316
if (ptd->dw3 & DW3_HALT_BIT) {
drivers/usb/isp1760/isp1760-hcd.c
1317
if (ptd->dw3 & DW3_BABBLE_BIT)
drivers/usb/isp1760/isp1760-hcd.c
1319
else if (FROM_DW3_CERR(ptd->dw3))
drivers/usb/isp1760/isp1760-hcd.c
1334
if ((ptd->dw3 & DW3_ERROR_BIT) && (ptd->dw3 & DW3_ACTIVE_BIT)) {
drivers/usb/isp1760/isp1760-hcd.c
1340
if (!FROM_DW3_NAKCOUNT(ptd->dw3) && (ptd->dw3 & DW3_ACTIVE_BIT)) {
drivers/usb/isp1760/isp1760-hcd.c
1355
struct ptd ptd;
drivers/usb/isp1760/isp1760-hcd.c
1385
ptd_read(hcd, INT_PTD_OFFSET, slot, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1386
state = check_int_transfer(hcd, &ptd,
drivers/usb/isp1760/isp1760-hcd.c
1400
ptd_read(hcd, ATL_PTD_OFFSET, slot, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1401
state = check_atl_transfer(hcd, &ptd,
drivers/usb/isp1760/isp1760-hcd.c
1418
FROM_DW3_SCS_NRBYTESTRANSFERRED(ptd.dw3);
drivers/usb/isp1760/isp1760-hcd.c
1421
FROM_DW3_NRBYTESTRANSFERRED(ptd.dw3);
drivers/usb/isp1760/isp1760-hcd.c
1431
qh->toggle = FROM_DW3_DATA_TOGGLE(ptd.dw3);
drivers/usb/isp1760/isp1760-hcd.c
1432
qh->ping = FROM_DW3_PING(ptd.dw3);
drivers/usb/isp1760/isp1760-hcd.c
1437
ptd.dw0 |= DW0_VALID_BIT;
drivers/usb/isp1760/isp1760-hcd.c
1439
ptd.dw3 &= ~TO_DW3_NAKCOUNT(0xf);
drivers/usb/isp1760/isp1760-hcd.c
1440
ptd.dw3 |= TO_DW3_NAKCOUNT(FROM_DW2_RL(ptd.dw2));
drivers/usb/isp1760/isp1760-hcd.c
1441
ptd.dw3 &= ~TO_DW3_CERR(3);
drivers/usb/isp1760/isp1760-hcd.c
1442
ptd.dw3 |= TO_DW3_CERR(ERR_COUNTER);
drivers/usb/isp1760/isp1760-hcd.c
1443
qh->toggle = FROM_DW3_DATA_TOGGLE(ptd.dw3);
drivers/usb/isp1760/isp1760-hcd.c
1444
qh->ping = FROM_DW3_PING(ptd.dw3);
drivers/usb/isp1760/isp1760-hcd.c
1475
create_ptd_int(qh, qtd, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1478
create_ptd_atl(qh, qtd, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1482
qh, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1559
struct ptd ptd;
drivers/usb/isp1760/isp1760-hcd.c
1568
ptd_read(hcd, ATL_PTD_OFFSET, slot, &ptd);
drivers/usb/isp1760/isp1760-hcd.c
1569
if (!FROM_DW0_VALID(ptd.dw0) &&
drivers/usb/isp1760/isp1760-hcd.c
1570
!FROM_DW3_ACTIVE(ptd.dw3))
drivers/usb/isp1760/isp1760-hcd.c
494
struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
496
u16 src_offset = ptd_offset + slot * sizeof(*ptd);
drivers/usb/isp1760/isp1760-hcd.c
502
bank_reads8(priv->base, src_offset, ISP_BANK_0, (void *)ptd,
drivers/usb/isp1760/isp1760-hcd.c
503
sizeof(*ptd));
drivers/usb/isp1760/isp1760-hcd.c
507
struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
509
u16 src_offset = ptd_offset + slot * sizeof(*ptd);
drivers/usb/isp1760/isp1760-hcd.c
514
ptd->dw0 = le32_to_dw(le32_ptd.dw0);
drivers/usb/isp1760/isp1760-hcd.c
515
ptd->dw1 = le32_to_dw(le32_ptd.dw1);
drivers/usb/isp1760/isp1760-hcd.c
516
ptd->dw2 = le32_to_dw(le32_ptd.dw2);
drivers/usb/isp1760/isp1760-hcd.c
517
ptd->dw3 = le32_to_dw(le32_ptd.dw3);
drivers/usb/isp1760/isp1760-hcd.c
518
ptd->dw4 = le32_to_dw(le32_ptd.dw4);
drivers/usb/isp1760/isp1760-hcd.c
519
ptd->dw5 = le32_to_dw(le32_ptd.dw5);
drivers/usb/isp1760/isp1760-hcd.c
520
ptd->dw6 = le32_to_dw(le32_ptd.dw6);
drivers/usb/isp1760/isp1760-hcd.c
521
ptd->dw7 = le32_to_dw(le32_ptd.dw7);
drivers/usb/isp1760/isp1760-hcd.c
525
struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
530
return isp1760_ptd_read(hcd, ptd_offset, slot, ptd);
drivers/usb/isp1760/isp1760-hcd.c
532
isp1763_ptd_read(hcd, ptd_offset, slot, ptd);
drivers/usb/isp1760/isp1760-hcd.c
536
struct ptd *cpu_ptd)
drivers/usb/isp1760/isp1760-hcd.c
539
struct ptd_le32 ptd;
drivers/usb/isp1760/isp1760-hcd.c
541
ptd.dw0 = dw_to_le32(cpu_ptd->dw0);
drivers/usb/isp1760/isp1760-hcd.c
542
ptd.dw1 = dw_to_le32(cpu_ptd->dw1);
drivers/usb/isp1760/isp1760-hcd.c
543
ptd.dw2 = dw_to_le32(cpu_ptd->dw2);
drivers/usb/isp1760/isp1760-hcd.c
544
ptd.dw3 = dw_to_le32(cpu_ptd->dw3);
drivers/usb/isp1760/isp1760-hcd.c
545
ptd.dw4 = dw_to_le32(cpu_ptd->dw4);
drivers/usb/isp1760/isp1760-hcd.c
546
ptd.dw5 = dw_to_le32(cpu_ptd->dw5);
drivers/usb/isp1760/isp1760-hcd.c
547
ptd.dw6 = dw_to_le32(cpu_ptd->dw6);
drivers/usb/isp1760/isp1760-hcd.c
548
ptd.dw7 = dw_to_le32(cpu_ptd->dw7);
drivers/usb/isp1760/isp1760-hcd.c
550
isp1763_mem_write(hcd, dst_offset, (u16 *)&ptd.dw0,
drivers/usb/isp1760/isp1760-hcd.c
551
8 * sizeof(ptd.dw0));
drivers/usb/isp1760/isp1760-hcd.c
555
struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
557
u32 dst_offset = ptd_offset + slot * sizeof(*ptd);
drivers/usb/isp1760/isp1760-hcd.c
563
isp1760_mem_write(base, dst_offset + sizeof(ptd->dw0),
drivers/usb/isp1760/isp1760-hcd.c
564
(__force u32 *)&ptd->dw1, 7 * sizeof(ptd->dw1));
drivers/usb/isp1760/isp1760-hcd.c
566
isp1760_mem_write(base, dst_offset, (__force u32 *)&ptd->dw0,
drivers/usb/isp1760/isp1760-hcd.c
567
sizeof(ptd->dw0));
drivers/usb/isp1760/isp1760-hcd.c
571
struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
576
return isp1760_ptd_write(priv->base, ptd_offset, slot, ptd);
drivers/usb/isp1760/isp1760-hcd.c
578
isp1763_ptd_write(hcd, ptd_offset, slot, ptd);
drivers/usb/isp1760/isp1760-hcd.c
818
struct isp1760_qtd *qtd, struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
825
memset(ptd, 0, sizeof(*ptd));
drivers/usb/isp1760/isp1760-hcd.c
833
ptd->dw0 = DW0_VALID_BIT;
drivers/usb/isp1760/isp1760-hcd.c
834
ptd->dw0 |= TO_DW0_LENGTH(qtd->length);
drivers/usb/isp1760/isp1760-hcd.c
835
ptd->dw0 |= TO_DW0_MAXPACKET(maxpacket);
drivers/usb/isp1760/isp1760-hcd.c
836
ptd->dw0 |= TO_DW0_ENDPOINT(usb_pipeendpoint(qtd->urb->pipe));
drivers/usb/isp1760/isp1760-hcd.c
839
ptd->dw1 = TO_DW((usb_pipeendpoint(qtd->urb->pipe) >> 1));
drivers/usb/isp1760/isp1760-hcd.c
840
ptd->dw1 |= TO_DW1_DEVICE_ADDR(usb_pipedevice(qtd->urb->pipe));
drivers/usb/isp1760/isp1760-hcd.c
841
ptd->dw1 |= TO_DW1_PID_TOKEN(qtd->packet_type);
drivers/usb/isp1760/isp1760-hcd.c
844
ptd->dw1 |= DW1_TRANS_BULK;
drivers/usb/isp1760/isp1760-hcd.c
846
ptd->dw1 |= DW1_TRANS_INT;
drivers/usb/isp1760/isp1760-hcd.c
851
ptd->dw1 |= DW1_TRANS_SPLIT;
drivers/usb/isp1760/isp1760-hcd.c
853
ptd->dw1 |= DW1_SE_USB_LOSPEED;
drivers/usb/isp1760/isp1760-hcd.c
855
ptd->dw1 |= TO_DW1_PORT_NUM(qtd->urb->dev->ttport);
drivers/usb/isp1760/isp1760-hcd.c
856
ptd->dw1 |= TO_DW1_HUB_NUM(qtd->urb->dev->tt->hub->devnum);
drivers/usb/isp1760/isp1760-hcd.c
861
ptd->dw1 |= DW1_SE_USB_LOSPEED;
drivers/usb/isp1760/isp1760-hcd.c
866
ptd->dw0 |= TO_DW0_MULTI(multi);
drivers/usb/isp1760/isp1760-hcd.c
869
ptd->dw3 |= TO_DW3_PING(qh->ping);
drivers/usb/isp1760/isp1760-hcd.c
872
ptd->dw2 = 0;
drivers/usb/isp1760/isp1760-hcd.c
873
ptd->dw2 |= TO_DW2_DATA_START_ADDR(base_to_chip(qtd->payload_addr));
drivers/usb/isp1760/isp1760-hcd.c
874
ptd->dw2 |= TO_DW2_RL(rl);
drivers/usb/isp1760/isp1760-hcd.c
877
ptd->dw3 |= TO_DW3_NAKCOUNT(nak);
drivers/usb/isp1760/isp1760-hcd.c
878
ptd->dw3 |= TO_DW3_DATA_TOGGLE(qh->toggle);
drivers/usb/isp1760/isp1760-hcd.c
881
ptd->dw3 &= ~TO_DW3_DATA_TOGGLE(1);
drivers/usb/isp1760/isp1760-hcd.c
883
ptd->dw3 |= TO_DW3_DATA_TOGGLE(1);
drivers/usb/isp1760/isp1760-hcd.c
886
ptd->dw3 |= DW3_ACTIVE_BIT;
drivers/usb/isp1760/isp1760-hcd.c
888
ptd->dw3 |= TO_DW3_CERR(ERR_COUNTER);
drivers/usb/isp1760/isp1760-hcd.c
892
struct isp1760_qtd *qtd, struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
933
ptd->dw5 = TO_DW(0xff); /* Execute Complete Split on any uFrame */
drivers/usb/isp1760/isp1760-hcd.c
939
ptd->dw2 |= TO_DW(period);
drivers/usb/isp1760/isp1760-hcd.c
940
ptd->dw4 = TO_DW(usof);
drivers/usb/isp1760/isp1760-hcd.c
944
struct isp1760_qtd *qtd, struct ptd *ptd)
drivers/usb/isp1760/isp1760-hcd.c
946
create_ptd_atl(qh, qtd, ptd);
drivers/usb/isp1760/isp1760-hcd.c
947
transform_add_int(qh, qtd, ptd);