Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/macintosh/
Dvia-pmu68k.c92 static int data_index; variable
542 data_index = 1; in pmu_start()
577 irq, pmu_state, (uint) via1[ACR], (uint) via2[B], data_index, data_len, adb_int_pending); in pmu_interrupt()
609 if (data_index <= data_len) { in pmu_interrupt()
610 send_byte(req->data[data_index++]); in pmu_interrupt()
624 data_index = 0; in pmu_interrupt()
631 data_index = 0; in pmu_interrupt()
646 reply_ptr[data_index++] = bite; in pmu_interrupt()
648 if (data_index < data_len) { in pmu_interrupt()
654 pmu_handle_data(interrupt_data, data_index); in pmu_interrupt()
[all …]
Dvia-macii.c115 static int data_index; /* index of the next byte to send from req->data */ variable
368 data_index = 2; in macii_start()
436 if (data_index >= req->nbytes) { in macii_interrupt()
462 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.c83 static int data_index; variable
513 data_index = 2; in cuda_interrupt()
520 if (data_index >= req->nbytes) { in cuda_interrupt()
535 out_8(&via[SR], req->data[data_index++]); in cuda_interrupt()
Dvia-pmu.c137 static int data_index; variable
1228 data_index = 1; in pmu_start()
1476 if (data_index <= data_len) { in pmu_sr_intr()
1477 send_byte(req->data[data_index++]); in pmu_sr_intr()
1491 data_index = 0; in pmu_sr_intr()
1498 data_index = 0; in pmu_sr_intr()
1515 } else if (data_index < 32) { in pmu_sr_intr()
1516 reply_ptr[data_index++] = bite; in pmu_sr_intr()
1518 if (data_index < data_len) { in pmu_sr_intr()
1535 req->reply_len += data_index; in pmu_sr_intr()
/linux-2.6.39/arch/powerpc/include/asm/
Dnvram.h56 extern int nvram_get_partition_size(loff_t data_index);
/linux-2.6.39/arch/powerpc/kernel/
Dnvram_64.c433 int nvram_get_partition_size(loff_t data_index) in nvram_get_partition_size() argument
438 if (part->index + NVRAM_HEADER_LEN == data_index) in nvram_get_partition_size()
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_atombios.c1676 int data_index = GetIndexIntoMasterTable(DATA, AnalogTV_Info); in radeon_atom_get_tv_timings() local
1680 if (!atom_parse_data_header(mode_info->atom_context, data_index, NULL, in radeon_atom_get_tv_timings()