/drivers/zorro/ |
D | zorro.c | 56 struct zorro_dev *z; in zorro_find_device() local 61 for (z = from ? from+1 : &zorro_autocon[0]; in zorro_find_device() 62 z < zorro_autocon+zorro_num_autocon; in zorro_find_device() 63 z++) in zorro_find_device() 64 if (id == ZORRO_WILDCARD || id == z->id) in zorro_find_device() 65 return z; in zorro_find_device() 113 static struct resource __init *zorro_find_parent_resource(struct zorro_dev *z) in zorro_find_parent_resource() argument 118 if (zorro_resource_start(z) >= zorro_bus.resources[i].start && in zorro_find_parent_resource() 119 zorro_resource_end(z) <= zorro_bus.resources[i].end) in zorro_find_parent_resource() 131 struct zorro_dev *z; in zorro_init() local [all …]
|
D | zorro-sysfs.c | 27 struct zorro_dev *z; \ 29 z = to_zorro_dev(dev); \ 30 return sprintf(buf, format_string, z->field); \ 42 struct zorro_dev *z = to_zorro_dev(dev); in zorro_show_resource() local 45 (unsigned long)zorro_resource_start(z), in zorro_show_resource() 46 (unsigned long)zorro_resource_end(z), in zorro_show_resource() 47 zorro_resource_flags(z)); in zorro_show_resource() 56 struct zorro_dev *z = to_zorro_dev(container_of(kobj, struct device, in zorro_read_config() local 62 cd.cd_Rom = z->rom; in zorro_read_config() 63 cd.cd_SlotAddr = z->slotaddr; in zorro_read_config() [all …]
|
D | zorro-driver.c | 31 const struct zorro_dev *z) in zorro_match_device() argument 34 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_match_device() 46 struct zorro_dev *z = to_zorro_dev(dev); in zorro_device_probe() local 48 if (!z->driver && drv->probe) { in zorro_device_probe() 51 id = zorro_match_device(drv->id_table, z); in zorro_device_probe() 53 error = drv->probe(z, id); in zorro_device_probe() 55 z->driver = drv; in zorro_device_probe() 65 struct zorro_dev *z = to_zorro_dev(dev); in zorro_device_remove() local 70 drv->remove(z); in zorro_device_remove() 71 z->driver = NULL; in zorro_device_remove() [all …]
|
D | proc.c | 51 struct zorro_dev *z = dp->data; in proc_bus_zorro_read() local 64 cd.cd_Rom = z->rom; in proc_bus_zorro_read() 65 cd.cd_SlotAddr = z->slotaddr; in proc_bus_zorro_read() 66 cd.cd_SlotSize = z->slotsize; in proc_bus_zorro_read() 67 cd.cd_BoardAddr = (void *)zorro_resource_start(z); in proc_bus_zorro_read() 68 cd.cd_BoardSize = zorro_resource_len(z); in proc_bus_zorro_read() 101 struct zorro_dev *z = &zorro_autocon[slot]; in zorro_seq_show() local 103 seq_printf(m, "%02x\t%08x\t%08lx\t%08lx\t%02x\n", slot, z->id, in zorro_seq_show() 104 (unsigned long)zorro_resource_start(z), in zorro_seq_show() 105 (unsigned long)zorro_resource_len(z), in zorro_seq_show() [all …]
|
/drivers/md/ |
D | raid6sse2.c | 47 int d, z, z0; in raid6_sse21_gen_syndrome() local 64 for ( z = z0-2 ; z >= 0 ; z-- ) { in raid6_sse21_gen_syndrome() 65 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 73 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 107 int d, z, z0; in raid6_sse22_gen_syndrome() local 126 for ( z = z0-1 ; z >= 0 ; z-- ) { in raid6_sse22_gen_syndrome() 127 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse22_gen_syndrome() 136 asm volatile("movdqa %0,%%xmm5" : : "m" (dptr[z][d])); in raid6_sse22_gen_syndrome() 137 asm volatile("movdqa %0,%%xmm7" : : "m" (dptr[z][d+16])); in raid6_sse22_gen_syndrome() 173 int d, z, z0; in raid6_sse24_gen_syndrome() local [all …]
|
D | raid6sse1.c | 49 int d, z, z0; in raid6_sse11_gen_syndrome() local 66 for ( z = z0-2 ; z >= 0 ; z-- ) { in raid6_sse11_gen_syndrome() 67 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome() 75 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome() 107 int d, z, z0; in raid6_sse12_gen_syndrome() local 126 for ( z = z0-1 ; z >= 0 ; z-- ) { in raid6_sse12_gen_syndrome() 127 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse12_gen_syndrome() 136 asm volatile("movq %0,%%mm5" : : "m" (dptr[z][d])); in raid6_sse12_gen_syndrome() 137 asm volatile("movq %0,%%mm7" : : "m" (dptr[z][d+8])); in raid6_sse12_gen_syndrome()
|
D | raid6mmx.c | 44 int d, z, z0; in raid6_mmx1_gen_syndrome() local 58 for ( z = z0-1 ; z >= 0 ; z-- ) { in raid6_mmx1_gen_syndrome() 59 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_mmx1_gen_syndrome() 91 int d, z, z0; in raid6_mmx2_gen_syndrome() local 108 for ( z = z0-1 ; z >= 0 ; z-- ) { in raid6_mmx2_gen_syndrome() 117 asm volatile("movq %0,%%mm5" : : "m" (dptr[z][d])); in raid6_mmx2_gen_syndrome() 118 asm volatile("movq %0,%%mm7" : : "m" (dptr[z][d+8])); in raid6_mmx2_gen_syndrome()
|
/drivers/net/ |
D | ibmlana.c | 121 int z; in dumpregs() local 123 for (z = 0; z < 160; z += 2) { in dumpregs() 124 if (!(z & 15)) in dumpregs() 125 printk("REGS: %04x:", z); in dumpregs() 126 printk(" %04x", inw(dev->base_addr + z)); in dumpregs() 127 if ((z & 15) == 14) in dumpregs() 137 int z; in dumpmem() local 140 for (z = 0; z < len; z++) { in dumpmem() 141 if ((z & 15) == 0) in dumpmem() 142 printk("%04x:", z); in dumpmem() [all …]
|
D | hydra.c | 57 static int __devinit hydra_init_one(struct zorro_dev *z, 59 static int __devinit hydra_init(struct zorro_dev *z); 69 static void __devexit hydra_remove_one(struct zorro_dev *z); 83 static int __devinit hydra_init_one(struct zorro_dev *z, in hydra_init_one() argument 88 if (!request_mem_region(z->resource.start, 0x10000, "Hydra")) in hydra_init_one() 90 if ((err = hydra_init(z))) { in hydra_init_one() 91 release_mem_region(z->resource.start, 0x10000); in hydra_init_one() 113 static int __devinit hydra_init(struct zorro_dev *z) in hydra_init() argument 116 unsigned long board = ZTWO_VADDR(z->resource.start); in hydra_init() 174 zorro_set_drvdata(z, dev); in hydra_init() [all …]
|
D | ne2.c | 165 int z; in dlink_put_eeprom() local 175 for (z = 0; z < 2; z++) { in dlink_put_eeprom() 200 int z; in dlink_send_eeprom_word() local 208 for (z = 0; z < len; z++) { in dlink_send_eeprom_word() 216 int z; in dlink_get_eeprom() local 233 for (z = 0; z < 16; z++) { in dlink_get_eeprom()
|
D | zorro8390.c | 83 static int __devinit zorro8390_init_one(struct zorro_dev *z, 98 static void __devexit zorro8390_remove_one(struct zorro_dev *z); 113 static int __devinit zorro8390_init_one(struct zorro_dev *z, in zorro8390_init_one() argument 121 if (z->id == cards[i].id) in zorro8390_init_one() 123 board = z->resource.start; in zorro8390_init_one() 138 zorro_set_drvdata(z, dev); in zorro8390_init_one() 433 static void __devexit zorro8390_remove_one(struct zorro_dev *z) in zorro8390_remove_one() argument 435 struct net_device *dev = zorro_get_drvdata(z); in zorro8390_remove_one()
|
/drivers/scsi/ |
D | zorro7xx.c | 72 static int __devinit zorro7xx_init_one(struct zorro_dev *z, in zorro7xx_init_one() argument 80 board = zorro_resource_start(z); in zorro7xx_init_one() 89 if (!zorro_request_device(z, zdd->name)) { in zorro7xx_init_one() 103 hostdata->base = ioremap(ioaddr, zorro_resource_len(z)); in zorro7xx_init_one() 117 &z->dev); in zorro7xx_init_one() 134 zorro_set_drvdata(z, host); in zorro7xx_init_one() 146 zorro_release_device(z); in zorro7xx_init_one() 151 static __devexit void zorro7xx_remove_one(struct zorro_dev *z) in zorro7xx_remove_one() argument 153 struct Scsi_Host *host = zorro_get_drvdata(z); in zorro7xx_remove_one() 161 zorro_release_device(z); in zorro7xx_remove_one()
|
D | eata_pio.c | 202 unsigned int x, z; in eata_pio_int_handler() local 228 z = 256; in eata_pio_int_handler() 230 while ((cmd->SCp.Status) && ((z > 0) || (odd))) { in eata_pio_int_handler() 236 x = min_t(unsigned int, z, cmd->SCp.this_residual / 2); in eata_pio_int_handler() 238 z -= x; in eata_pio_int_handler() 240 if ((z > 0) && (cmd->SCp.this_residual == 1)) { in eata_pio_int_handler() 244 z--; in eata_pio_int_handler() 248 while (z > 0) { in eata_pio_int_handler() 250 z--; in eata_pio_int_handler() 255 z = 256; in eata_pio_int_handler() [all …]
|
D | gvp11.c | 176 struct zorro_dev *z = NULL; in gvp11_detect() local 193 while ((z = zorro_find_device(ZORRO_WILDCARD, z))) { in gvp11_detect() 200 if (z->id == ZORRO_PROD_GVP_COMBO_030_R3_SCSI || in gvp11_detect() 201 z->id == ZORRO_PROD_GVP_SERIES_II) in gvp11_detect() 203 else if (z->id == ZORRO_PROD_GVP_GFORCE_030_SCSI || in gvp11_detect() 204 z->id == ZORRO_PROD_GVP_A530_SCSI || in gvp11_detect() 205 z->id == ZORRO_PROD_GVP_COMBO_030_R4_SCSI) in gvp11_detect() 207 else if (z->id == ZORRO_PROD_GVP_A1291 || in gvp11_detect() 208 z->id == ZORRO_PROD_GVP_GFORCE_040_SCSI_1) in gvp11_detect() 218 if (z->resource.end-z->resource.start != 0xffff) in gvp11_detect() [all …]
|
D | a2091.c | 152 struct zorro_dev *z = NULL; in a2091_detect() local 163 while ((z = zorro_find_device(ZORRO_WILDCARD, z))) { in a2091_detect() 164 if (z->id != ZORRO_PROD_CBM_A590_A2091_1 && in a2091_detect() 165 z->id != ZORRO_PROD_CBM_A590_A2091_2) in a2091_detect() 167 address = z->resource.start; in a2091_detect() 176 instance->unique_id = z->slotaddr; in a2091_detect()
|
/drivers/net/wan/lmc/ |
D | lmc_debug.h | 6 #define LMC_CONSOLE_LOG(x,y,z) lmcConsoleLog((x), (y), (z)) argument 8 #define LMC_CONSOLE_LOG(x,y,z) argument 11 #define LMC_CONSOLE_LOG(x,y,z) argument 43 #define LMC_EVENT_LOG(x, y, z) lmcEventLog((x), (y), (z)) argument 45 #define LMC_EVENT_LOG(x,y,z) argument
|
/drivers/video/ |
D | fm2fb.c | 214 static int __devinit fm2fb_probe(struct zorro_dev *z, 229 static int __devinit fm2fb_probe(struct zorro_dev *z, in fm2fb_probe() argument 237 is_fm = z->id == ZORRO_PROD_BSC_FRAMEMASTER_II; in fm2fb_probe() 239 if (!zorro_request_device(z,"fm2fb")) in fm2fb_probe() 242 info = framebuffer_alloc(16 * sizeof(u32), &z->dev); in fm2fb_probe() 244 zorro_release_device(z); in fm2fb_probe() 250 zorro_release_device(z); in fm2fb_probe() 255 fb_fix.smem_start = zorro_resource_start(z); in fm2fb_probe() 290 zorro_release_device(z); in fm2fb_probe()
|
/drivers/hwmon/ams/ |
D | ams-core.c | 39 void ams_sensors(s8 *x, s8 *y, s8 *z) in ams_sensors() argument 45 ams_info.get_xyz(y, x, z); in ams_sensors() 47 ams_info.get_xyz(x, y, z); in ams_sensors() 50 *z = ~(*z); in ams_sensors() 60 s8 x, y, z; in ams_show_current() local 63 ams_sensors(&x, &y, &z); in ams_show_current() 66 return snprintf(buf, PAGE_SIZE, "%d %d %d\n", x, y, z); in ams_show_current()
|
D | ams-input.c | 35 s8 x, y, z; in ams_idev_poll() local 39 ams_sensors(&x, &y, &z); in ams_idev_poll() 43 z -= ams_info.zcalib; in ams_idev_poll() 47 input_report_abs(idev, ABS_Z, z); in ams_idev_poll() 58 s8 x, y, z; in ams_input_enable() local 61 ams_sensors(&x, &y, &z); in ams_input_enable() 64 ams_info.zcalib = z; in ams_input_enable()
|
/drivers/ide/ |
D | buddha.c | 152 struct zorro_dev *z = NULL; in buddha_init() local 157 while ((z = zorro_find_device(ZORRO_WILDCARD, z))) { in buddha_init() 161 if (z->id == ZORRO_PROD_INDIVIDUAL_COMPUTERS_BUDDHA) { in buddha_init() 164 } else if (z->id == ZORRO_PROD_INDIVIDUAL_COMPUTERS_CATWEASEL) { in buddha_init() 167 } else if (z->id == ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF) { in buddha_init() 173 board = z->resource.start; in buddha_init()
|
/drivers/hwmon/ |
D | lis3lv02d.c | 88 static void lis3lv02d_get_xyz(acpi_handle handle, int *x, int *y, int *z) in lis3lv02d_get_xyz() argument 98 *z = lis3lv02d_get_axis(adev.ac.z, position); in lis3lv02d_get_xyz() 283 int x, y, z; in lis3lv02d_joystick_kthread() local 286 lis3lv02d_get_xyz(adev.device->handle, &x, &y, &z); in lis3lv02d_joystick_kthread() 289 input_report_abs(adev.idev, ABS_Z, z - adev.zcalib); in lis3lv02d_joystick_kthread() 405 int x, y, z; in lis3lv02d_position_show() local 408 lis3lv02d_get_xyz(adev.device->handle, &x, &y, &z); in lis3lv02d_position_show() 410 return sprintf(buf, "(%d,%d,%d)\n", x, y, z); in lis3lv02d_position_show()
|
/drivers/s390/char/ |
D | Kconfig | 132 tristate "Support for the z/VM recording system services (VM only)" 136 by the z/VM recording system services, eg. from *LOGREC, *ACCOUNT or 141 tristate "Support for the z/VM CP interface (VM only)" 145 program on z/VM 149 tristate "API for reading z/VM monitor service records" 152 Character device driver for reading z/VM monitor service records 155 tristate "API for writing z/VM monitor service records" 159 Character device driver for writing z/VM monitor service records 162 tristate "z/VM unit record device driver" 166 Character device driver for z/VM reader, puncher and printer.
|
/drivers/firewire/ |
D | fw-ohci.c | 694 find_branch_descriptor(struct descriptor *d, int z) in find_branch_descriptor() argument 702 if (z == 2 && (b == 3 || key == 2)) in find_branch_descriptor() 705 return d + z - 1; in find_branch_descriptor() 713 int z; in context_tasklet() local 722 z = address & 0xf; in context_tasklet() 732 last = find_branch_descriptor(d, z); in context_tasklet() 831 context_get_descriptors(struct context *ctx, int z, dma_addr_t *d_bus) in context_get_descriptors() argument 836 if (z * sizeof(*d) > desc->buffer_size) in context_get_descriptors() 839 if (z * sizeof(*d) > desc->buffer_size - desc->used) { in context_get_descriptors() 855 memset(d, 0, z * sizeof(*d)); in context_get_descriptors() [all …]
|
/drivers/input/mouse/ |
D | alps.c | 88 int x, y, z, ges, fin, left, right, middle; in alps_process_packet() local 109 z = packet[5]; in alps_process_packet() 116 z = packet[5]; in alps_process_packet() 138 if ((priv->i->flags & ALPS_DUALPOINT) && z == 127) { in alps_process_packet() 147 if (ges && !fin) z = 40; in alps_process_packet() 163 if (z > 30) input_report_key(dev, BTN_TOUCH, 1); in alps_process_packet() 164 if (z < 25) input_report_key(dev, BTN_TOUCH, 0); in alps_process_packet() 166 if (z > 0) { in alps_process_packet() 171 input_report_abs(dev, ABS_PRESSURE, z); in alps_process_packet() 172 input_report_key(dev, BTN_TOOL_FINGER, z > 0); in alps_process_packet()
|
/drivers/uwb/ |
D | drp-ie.c | 143 int z, i, num_fields = 0, next = 0; in uwb_drp_ie_from_bm() local 154 for (z = 0; z < UWB_NUM_ZONES; z++) { in uwb_drp_ie_from_bm() 161 zones[i].zone_bm |= 1 << z; in uwb_drp_ie_from_bm() 168 zones[next].zone_bm = 1 << z; in uwb_drp_ie_from_bm()
|