Home
last modified time | relevance | path

Searched refs:data_index (Results 1 – 6 of 6) sorted by relevance

/drivers/macintosh/
Dvia-pmu68k.c91 static int data_index; variable
541 data_index = 1; in pmu_start()
576 irq, pmu_state, (uint) via1[ACR], (uint) via2[B], data_index, data_len, adb_int_pending); in pmu_interrupt()
608 if (data_index <= data_len) { in pmu_interrupt()
609 send_byte(req->data[data_index++]); in pmu_interrupt()
623 data_index = 0; in pmu_interrupt()
630 data_index = 0; in pmu_interrupt()
645 reply_ptr[data_index++] = bite; in pmu_interrupt()
647 if (data_index < data_len) { in pmu_interrupt()
653 pmu_handle_data(interrupt_data, data_index); in pmu_interrupt()
[all …]
Dvia-macii.c114 static int data_index; /* index of the next byte to send from req->data */ variable
367 data_index = 2; in macii_start()
435 if (data_index >= req->nbytes) { in macii_interrupt()
461 via[SR] = req->data[data_index++]; in macii_interrupt()
Dvia-maciisi.c68 static int data_index; variable
407 data_index = 1; in maciisi_start()
512 if (data_index >= req->nbytes) { in maciisi_interrupt()
543 via[SR] = req->data[data_index++]; in maciisi_interrupt()
Dvia-cuda.c82 static int data_index; variable
514 data_index = 2; in cuda_interrupt()
521 if (data_index >= req->nbytes) { in cuda_interrupt()
536 out_8(&via[SR], req->data[data_index++]); in cuda_interrupt()
Dvia-pmu.c138 static int data_index; variable
1230 data_index = 1; in pmu_start()
1478 if (data_index <= data_len) { in pmu_sr_intr()
1479 send_byte(req->data[data_index++]); in pmu_sr_intr()
1493 data_index = 0; in pmu_sr_intr()
1500 data_index = 0; in pmu_sr_intr()
1517 } else if (data_index < 32) { in pmu_sr_intr()
1518 reply_ptr[data_index++] = bite; in pmu_sr_intr()
1520 if (data_index < data_len) { in pmu_sr_intr()
1537 req->reply_len += data_index; in pmu_sr_intr()
/drivers/gpu/drm/radeon/
Dradeon_atombios.c1772 int data_index = GetIndexIntoMasterTable(DATA, AnalogTV_Info); in radeon_atom_get_tv_timings() local
1776 if (!atom_parse_data_header(mode_info->atom_context, data_index, NULL, in radeon_atom_get_tv_timings()