/linux-master/arch/m68k/fpsp040/ |
H A D | scale.S | 175 addw #1,%d0 |drive d0 to 0
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | i2c.h | 17 u8 drive; member in struct:dcb_i2c_entry
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | i2c.c | 95 info->drive = DCB_I2C_UNUSED; 102 info->drive = nvbios_rd08(bios, ent + 0); 106 info->drive = nvbios_rd08(bios, ent + 1); 109 info->drive = nvbios_rd08(bios, ent + 0) & 0x0f; 119 info->drive = (nvbios_rd16(bios, ent + 0) & 0x01f) >> 0; 120 if (info->drive == 0x1f) 121 info->drive = DCB_I2C_UNUSED; 146 info->drive = nvbios_rd08(bios, ent + 4); 147 if (!info->drive) info->drive [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | anx9805.c | 103 anx9805_bus_new(struct nvkm_i2c_pad *base, int id, u8 drive, argument 232 anx9805_aux_new(struct nvkm_i2c_pad *base, int id, u8 drive, argument
|
H A D | auxgf119.c | 31 gf119_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, argument 34 return g94_i2c_aux_new_(&gf119_i2c_aux, pad, index, drive, paux);
|
H A D | busgf119.c | 83 gf119_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, argument 93 bus->addr = 0x00d014 + (drive * 0x20);
|
H A D | busnv04.c | 31 u8 drive; member in struct:nv04_i2c_bus 40 u8 val = nvkm_rdvgac(device, 0, bus->drive); 43 nvkm_wrvgac(device, 0, bus->drive, val | 0x01); 51 u8 val = nvkm_rdvgac(device, 0, bus->drive); 54 nvkm_wrvgac(device, 0, bus->drive, val | 0x01); 83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, argument 93 bus->drive = drive;
|
H A D | busnv4e.c | 74 nv4e_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, argument 84 bus->addr = 0x600800 + drive;
|
H A D | busnv50.c | 90 nv50_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, argument 100 if (drive >= ARRAY_SIZE(addr)) { 101 nvkm_warn(&pad->i2c->subdev, "bus %d unknown\n", drive); 110 bus->addr = addr[drive];
|
/linux-master/drivers/scsi/mvsas/ |
H A D | mv_94xx.c | 1067 int drive = (i/3) & (4-1); /* drive number on host */ local 1068 int driveshift = drive * 8; /* bit offset of drive */ 1074 * bit of the drive set in the mask ...
|
/linux-master/include/linux/mfd/wm8350/ |
H A D | pmic.h | 773 u16 off_ramp, u16 drive);
|
/linux-master/arch/m68k/include/asm/ |
H A D | sun3xflop.h | 81 * drive attached to a Sun controller 82 * and it will be at drive zero. 261 #define fd_eject(drive) sun3x_eject()
|
/linux-master/arch/sparc/include/asm/ |
H A D | floppy_32.h | 288 * ever have a floppy drive. 378 #define fd_eject(drive) sparc_eject()
|
H A D | floppy_64.h | 20 * Define this to enable exchanging drive 0 and 1 if only drive 1 is 79 #define fd_eject(drive) sun_fdops.fd_eject(drive) 276 static int sun_fd_eject(int drive) argument 432 static int sun_pci_fd_eject(int drive) argument 503 static int sun_pci_fd_test_drive(unsigned long port, int drive) argument 511 data = (0x10 << drive) | 0x0c | drive; 515 sun_pci_fd_out_byte(port, drive [all...] |
/linux-master/drivers/ata/ |
H A D | libata-acpi.c | 384 * ata_dev_get_GTF - get the drive bootup default taskfile settings 497 mode = ata_timing_cycle2mode(ATA_SHIFT_PIO, gtm->drive[unit].pio); 509 mode = ata_timing_cycle2mode(type, gtm->drive[unit].dma); 708 * ata_acpi_exec_tfs - get then write drive taskfile settings 751 * ata_acpi_push_id - send Identify data to drive 776 /* Give the drive Identify data to the drive via the _SDD method */
|
H A D | pata_acpi.c | 123 acpi->gtm.drive[unit].pio = t->cycle; 147 acpi->gtm.drive[unit].dma = t->udma; 150 acpi->gtm.drive[unit].dma = t->cycle;
|
H A D | pata_amd.c | 32 * @adev: drive being configured 261 /* Both host-side and drive-side detection results are worthless on NV 296 gtm->drive[0].dma, gtm->drive[1].dma, gtm->flags);
|
/linux-master/drivers/block/ |
H A D | amiflop.c | 53 * - added trackbuffer for each drive to speed things up 102 #define DSKSEL3 (0x1<<6) /* select drive 3 when low */ 103 #define DSKSEL2 (0x1<<5) /* select drive 2 when low */ 104 #define DSKSEL1 (0x1<<4) /* select drive 1 when low */ 105 #define DSKSEL0 (0x1<<3) /* select drive 0 when low */ 176 unsigned long code; /* code returned from drive */ 177 char *name; /* description of drive */ 199 int disk; /* disk in drive (-1 == unknown) */ 201 int busy; /* true when drive is active */ 227 #define FD_DD_3 0xffffffff /* double-density 3.5" (880K) drive */ 358 try_fdc(int drive) argument 364 get_fdc(int drive) argument 393 fd_select(int drive) argument 417 fd_deselect(int drive) argument 489 unsigned long drive = ((unsigned long)timer - local 508 int drive; local 514 fd_calibrate(int drive) argument 566 fd_seek(int drive, int track) argument 623 fd_get_drive_id(int drive) argument 691 raw_read(int drive) argument 717 raw_write(int drive) argument 752 post_write(unsigned long drive) argument 835 amiga_read(int drive) argument 1150 dos_read(int drive) argument 1271 ms_putsec(int drive, unsigned long *raw, int cnt) argument 1423 get_track(int drive, int track) argument 1461 int drive = floppy - unit; local 1527 int drive = MINOR(bdev->bd_dev) & 3; local 1539 int drive = p - unit; local 1625 int drive; local 1658 int drive = disk->first_minor & 3; local 1712 int drive = p - unit; local 1739 int drive = p - unit; local 1777 fd_alloc_disk(int drive, int system) argument 1806 fd_alloc_drive(int drive) argument 1839 int drive,drives,nomem; local [all...] |
H A D | ataflop.c | 12 * - Disk change detection and drive deselecting after motor-off 15 * don't have an HD drive :-( 20 * - Removed drive type (unknown on atari) 43 * - Let user set max. supported drive type (speeds up format 177 { "D360", 9, 720, 0, 1}, /* 1: 360kb in 720k or 1.2MB drive */ 178 { "D720", 9,1440, 0, 0}, /* 2: 720kb in 720k or 1.2MB drive */ 275 * MSch: User-provided type information. 'drive' points to 281 * User-provided permanent type information. 'drive' points to 290 int connected; /* !=0 : drive is connected */ 309 #define UD unit[drive] 612 static int drive = 0; local 743 do_format(int drive, int type, struct atari_format_descr *desc) argument 1439 unsigned int drive = p - unit; local 1461 unsigned int drive = p - unit; local 1507 int drive = floppy - unit; local 1589 int drive = floppy - unit; local 1879 int drive, cnt = 0; local 1993 ataflop_alloc_disk(unsigned int drive, unsigned int type) argument 2017 int drive = MINOR(dev) & 3; local [all...] |
H A D | floppy.c | 240 * motor of these drives causes system hangs on some PCI computers. drive 241 * 0 is the low bit (0x1), and drive 7 is the high bit (0x80). Bits are on if 242 * a drive is allowed. 302 #define UNIT(x) ((x) & 0x03) /* drive on fdc */ 303 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */ 304 /* reverse mapping from unit and fdc to drive */ 353 * this struct defines the different floppy drive types. 360 CMOS drive type 361 | Maximum data rate supported by drive type 413 * types (e.g. 360kB diskette in 1.2MB drive, et 604 drive_no_geom(int drive) argument 610 fd_eject(int drive) argument 671 __reschedule_timeout(int drive, const char *message) argument 687 reschedule_timeout(int drive, const char *message) argument 732 disk_change(int drive) argument 795 unsigned char drive; local 824 twaddle(int fdc, int drive) argument 840 int drive; local 856 set_fdc(int drive) argument 888 lock_fdc(int drive) argument 932 floppy_off(unsigned int drive) argument 962 int drive; local 1282 fdc_specify(int fdc, int drive) argument 1570 check_wp(int fdc, int drive) argument 2072 next_valid_format(int drive) argument 2110 set_floppy(int drive) argument 2228 do_format(int drive, struct format_descr *tmp_format_req) argument 2263 unsigned int drive = (unsigned long)req->q->disk->private_data; local 2775 int drive; local 2929 user_reset_fdc(int drive, int arg, bool interruptible) argument 2967 drive_name(int type, int drive) argument 3139 int drive; local 3186 floppy_raw_cmd_ioctl(int type, int drive, int cmd, void __user *param) argument 3207 floppy_raw_cmd_ioctl(int type, int drive, int cmd, void __user *param) argument 3227 set_geometry(unsigned int cmd, struct floppy_struct *g, int drive, int type, struct block_device *bdev) argument 3349 get_floppy_geometry(int drive, int type, struct floppy_struct **g) argument 3368 int drive = (long)bdev->bd_disk->private_data; local 3404 int drive = (long)bdev->bd_disk->private_data; local 3666 int drive, type; local 3688 compat_get_prm(int drive, struct compat_floppy_struct __user *arg) argument 3710 compat_setdrvprm(int drive, struct compat_floppy_drive_params __user *arg) argument 3746 compat_getdrvprm(int drive, struct compat_floppy_drive_params __user *arg) argument 3780 compat_getdrvstat(int drive, bool poll, struct compat_floppy_drive_struct __user *arg) argument 3819 compat_getfdcstat(int drive, struct compat_floppy_fdc_state __user *arg) argument 3848 compat_werrorget(int drive, struct compat_floppy_write_errors __user *arg) argument 3872 int drive = (long)bdev->bd_disk->private_data; local 3921 int drive; local 3973 int drive = (long)disk->private_data; local 3994 int drive = (long)disk->private_data; local 4094 int drive = (long)disk->private_data; local 4122 int drive; member in struct:rb0_cbdata 4129 int drive = cbdata->drive; local 4139 __floppy_read_block_0(struct block_device *bdev, int drive) argument 4180 int drive = (long)disk->private_data; local 4456 int drive; local 4507 floppy_available(int drive) argument 4516 floppy_alloc_disk(unsigned int drive, unsigned int type) argument 4549 unsigned int drive = (MINOR(dev) & 3) | ((MINOR(dev) & 0x80) >> 5); local 4575 int i, unit, drive, err; local 4903 int drive; local 4978 int drive, i; local [all...] |
H A D | swim.c | 170 enum drive_location location; /* internal or external drive */ 171 int head_number; /* single- or double-sided drive */ 312 swim_write(base, mode0, EXTERNAL_DRIVE); /* clear drive 1 bit */ 313 swim_write(base, mode1, INTERNAL_DRIVE); /* set drive 0 bit */ 315 swim_write(base, mode0, INTERNAL_DRIVE); /* clear drive 0 bit */ 316 swim_write(base, mode1, EXTERNAL_DRIVE); /* set drive 1 bit */ 359 /* wait drive is ready */ 791 int drive; local 816 for (drive = 0; drive < sw 922 int drive; local [all...] |
/linux-master/drivers/clk/ |
H A D | clk-si5351.c | 846 enum si5351_drive_strength drive) 853 switch (drive) { 1331 if (!of_property_read_u32(child, "silabs,drive-strength", 1338 pdata->clkout[num].drive = val; 1342 "invalid drive strength %d for clkout %d\n", 1514 pdata->clkout[n].drive); 1517 "failed set drive strength of clkout%d to %d\n", 1518 n, pdata->clkout[n].drive); 844 _si5351_clkout_set_drive_strength( struct si5351_driver_data *drvdata, int num, enum si5351_drive_strength drive) argument
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dp.c | 181 ior->func->dp->drive(ior, i, ocfg.pc, ocfg.dc, ocfg.pe, ocfg.tx_pu); 630 .dp.drive = nvkm_dp_drive,
|
H A D | g94.c | 146 .drive = g94_sor_dp_drive,
|
H A D | ga102.c | 78 .drive = gm200_sor_dp_drive,
|