/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/peripherals/disk/ |
H A D | wd_fdc.c | 65 wd_fdc_drive *d = f->current_drive; in wd_fdc_master_reset() 121 fdc->current_drive = NULL; in wd_fdc_alloc_fdc() 213 wd_fdc_drive *d = f->current_drive; in read_id() 281 wd_fdc_drive *d = f->current_drive; in read_datamark() 362 wd_fdc_drive *d = f->current_drive; in wd_fdc_sr_read() 397 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in wd_fdc_seek_verify_read_id() 406 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in wd_fdc_seek_verify_read_id() 559 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in wd_fdc_type_ii_seek() 570 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in wd_fdc_type_ii_seek() 710 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in wd_fdc_type_iii() [all …]
|
H A D | upd_fdc.c | 391 f->current_drive = NULL; in upd_fdc_alloc_fdc() 478 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in start_read_id() 483 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in start_read_id() 516 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in start_read_diag() 521 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in start_read_diag() 584 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in start_read_data() 591 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in start_read_data() 677 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in start_write_data() 684 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in start_write_data() 979 d = f->current_drive; in upd_fdc_write_data() [all …]
|
H A D | beta.c | 144 if( beta_fdc->current_drive != &beta_drives[ i & 0x03 ] ) { in beta_select_drive() 145 if( beta_fdc->current_drive != NULL ) in beta_select_drive() 146 fdd_select( &beta_fdc->current_drive->fdd, 0 ); in beta_select_drive() 147 beta_fdc->current_drive = &beta_drives[ i & 0x03 ]; in beta_select_drive() 148 fdd_select( &beta_fdc->current_drive->fdd, 1 ); in beta_select_drive() 159 beta_fdc->current_drive = NULL; in beta_init() 380 fdd_set_head( &beta_fdc->current_drive->fdd, ( ( b & 0x10 ) ? 0 : 1 ) ); in beta_sp_write()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/block/ |
H A D | floppy.c | 881 current_drive = drive; in set_fdc() 969 saved_drive = current_drive; in scandrives() 1904 data = UNIT(current_drive); in start_motor() 1940 disk_change(current_drive) && !drive_params[current_drive].select_delay) in floppy_ready() 2778 if (current_drive < N_DRIVE) in redo_fd_request() 2779 floppy_off(current_drive); in redo_fd_request() 2804 disk_change(current_drive); in redo_fd_request() 4331 int current_drive = 0; in set_cmos() local 4337 current_drive = ints[1]; in set_cmos() 4338 if (current_drive < 0 || current_drive >= 8) { in set_cmos() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/block/ |
H A D | floppy.c | 881 current_drive = drive; in set_fdc() 969 saved_drive = current_drive; in scandrives() 1904 data = UNIT(current_drive); in start_motor() 1940 disk_change(current_drive) && !drive_params[current_drive].select_delay) in floppy_ready() 2778 if (current_drive < N_DRIVE) in redo_fd_request() 2779 floppy_off(current_drive); in redo_fd_request() 2804 disk_change(current_drive); in redo_fd_request() 4331 int current_drive = 0; in set_cmos() local 4337 current_drive = ints[1]; in set_cmos() 4338 if (current_drive < 0 || current_drive >= 8) { in set_cmos() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/block/ |
H A D | floppy.c | 881 current_drive = drive; in set_fdc() 969 saved_drive = current_drive; in scandrives() 1904 data = UNIT(current_drive); in start_motor() 1940 disk_change(current_drive) && !drive_params[current_drive].select_delay) in floppy_ready() 2778 if (current_drive < N_DRIVE) in redo_fd_request() 2779 floppy_off(current_drive); in redo_fd_request() 2804 disk_change(current_drive); in redo_fd_request() 4331 int current_drive = 0; in set_cmos() local 4337 current_drive = ints[1]; in set_cmos() 4338 if (current_drive < 0 || current_drive >= 8) { in set_cmos() [all …]
|
/dports/emulators/fuse/fuse-1.6.0/peripherals/disk/ |
H A D | upd_fdc.c | 393 f->current_drive = NULL; in upd_fdc_alloc_fdc() 517 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in start_read_id() 522 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in start_read_id() 555 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in start_read_diag() 560 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in start_read_diag() 623 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in start_read_data() 630 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in start_read_data() 716 i = f->current_drive->disk.i >= f->current_drive->disk.bpt ? in start_write_data() 723 ( f->current_drive->disk.i - i ) * 200 / f->current_drive->disk.bpt : 200; in start_write_data() 1017 d = f->current_drive; in upd_fdc_write_data() [all …]
|
H A D | beta.c | 144 if( beta_fdc->current_drive != &beta_drives[ i & 0x03 ] ) { in beta_select_drive() 145 if( beta_fdc->current_drive != NULL ) in beta_select_drive() 146 fdd_select( beta_fdc->current_drive, 0 ); in beta_select_drive() 147 beta_fdc->current_drive = &beta_drives[ i & 0x03 ]; in beta_select_drive() 148 fdd_select( beta_fdc->current_drive, 1 ); in beta_select_drive() 159 beta_fdc->current_drive = NULL; in beta_init() 348 fdd_set_head( beta_fdc->current_drive, ( ( b & 0x10 ) ? 0 : 1 ) ); in beta_sp_write()
|
H A D | wd_fdc.c | 64 fdd_t *d = f->current_drive; in wd_fdc_master_reset() 121 fdc->current_drive = NULL; in wd_fdc_alloc_fdc() 219 fdd_t *d = f->current_drive; in read_id() 291 fdd_t *d = f->current_drive; in read_datamark() 372 fdd_t *d = f->current_drive; in wd_fdc_sr_read() 400 fdd_t *d = f->current_drive; in wd_fdc_seek_verify_read_id() 435 fdd_t *d = f->current_drive; in wd_fdc_seek_verify() 465 fdd_t *d = f->current_drive; in wd_fdc_type_i() 557 fdd_t *d = f->current_drive; in wd_fdc_type_ii_seek() 646 fdd_t *d = f->current_drive; in wd_fdc_type_ii() [all …]
|
H A D | opus.c | 148 opus_fdc->current_drive = &opus_drives[ 0 ]; in opus_init() 248 opus_fdc->current_drive = &opus_drives[ 0 ]; in opus_reset() 290 if( opus_fdc->current_drive != &opus_drives[ drive ] ) { in opus_6821_access() 291 if( opus_fdc->current_drive->motoron ) { /* swap motoron */ in opus_6821_access() 295 opus_fdc->current_drive = &opus_drives[ drive ]; in opus_6821_access()
|
H A D | plusd.c | 176 plusd_fdc->current_drive = &plusd_drives[ 0 ]; in plusd_init() 268 plusd_fdc->current_drive = &plusd_drives[ 0 ]; in plusd_reset() 344 if( plusd_fdc->current_drive != &plusd_drives[ drive ] ) { in plusd_cn_write() 345 if( plusd_fdc->current_drive->motoron ) { /* swap motoron */ in plusd_cn_write() 349 plusd_fdc->current_drive = &plusd_drives[ drive ]; in plusd_cn_write()
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/sim/ppc/ |
H A D | hw_ide.c | 232 ide_drive *current_drive; member 325 && controller->current_drive != NULL) { in do_fifo_read() 328 controller->current_drive->nr, in do_fifo_read() 339 device_path(controller->current_drive->device)); in do_fifo_read() 367 && controller->current_drive != NULL) { in do_fifo_write() 370 controller->current_drive->nr, in do_fifo_write() 405 controller->current_drive = NULL; in setup_fifo() 420 if (controller->current_drive == NULL) in setup_fifo() 429 if (controller->current_drive == NULL) in setup_fifo() 452 controller->nr, controller->current_drive->nr); in setup_fifo() [all …]
|
/dports/devel/avr-gdb/gdb-7.3.1/sim/ppc/ |
H A D | hw_ide.c | 232 ide_drive *current_drive; member 325 && controller->current_drive != NULL) { in do_fifo_read() 328 controller->current_drive->nr, in do_fifo_read() 339 device_path(controller->current_drive->device)); in do_fifo_read() 367 && controller->current_drive != NULL) { in do_fifo_write() 370 controller->current_drive->nr, in do_fifo_write() 405 controller->current_drive = NULL; in setup_fifo() 420 if (controller->current_drive == NULL) in setup_fifo() 429 if (controller->current_drive == NULL) in setup_fifo() 452 controller->nr, controller->current_drive->nr); in setup_fifo() [all …]
|
/dports/devel/gdb761/gdb-7.6.1/sim/ppc/ |
H A D | hw_ide.c | 231 ide_drive *current_drive; member 324 && controller->current_drive != NULL) { in do_fifo_read() 327 controller->current_drive->nr, in do_fifo_read() 338 device_path(controller->current_drive->device)); in do_fifo_read() 366 && controller->current_drive != NULL) { in do_fifo_write() 369 controller->current_drive->nr, in do_fifo_write() 404 controller->current_drive = NULL; in setup_fifo() 419 if (controller->current_drive == NULL) in setup_fifo() 428 if (controller->current_drive == NULL) in setup_fifo() 451 controller->nr, controller->current_drive->nr); in setup_fifo() [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/sim/ppc/ |
H A D | hw_ide.c | 232 ide_drive *current_drive; member 325 && controller->current_drive != NULL) { in do_fifo_read() 328 controller->current_drive->nr, in do_fifo_read() 339 device_path(controller->current_drive->device)); in do_fifo_read() 367 && controller->current_drive != NULL) { in do_fifo_write() 370 controller->current_drive->nr, in do_fifo_write() 405 controller->current_drive = NULL; in setup_fifo() 420 if (controller->current_drive == NULL) in setup_fifo() 429 if (controller->current_drive == NULL) in setup_fifo() 452 controller->nr, controller->current_drive->nr); in setup_fifo() [all …]
|
/dports/emulators/stella/stella-6.6/src/windows/ |
H A D | FSNodeWINDOWS.cxx | 190 for(TCHAR *current_drive = drive_buffer; *current_drive; in getChildren() local 191 current_drive += _tcslen(current_drive) + 1) in getChildren() 196 drive_name[0] = toAscii(current_drive)[0]; in getChildren() 203 entry._path = toAscii(current_drive); in getChildren()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/fs/windows/ |
H A D | windows-fs.cpp | 182 for (TCHAR *current_drive = drive_buffer; *current_drive; in getChildren() local 183 current_drive += _tcslen(current_drive) + 1) { in getChildren() 187 drive_name[0] = toAscii(current_drive)[0]; in getChildren() 193 entry._path = toAscii(current_drive); in getChildren()
|
/dports/games/scummvm/scummvm-2.5.1/backends/fs/windows/ |
H A D | windows-fs.cpp | 163 for (TCHAR *current_drive = drive_buffer; *current_drive; in getChildren() local 164 current_drive += _tcslen(current_drive) + 1) { in getChildren() 168 drive_name[0] = tcharToChar(current_drive)[0]; in getChildren() 174 entry._path = tcharToChar(current_drive); in getChildren()
|
/dports/games/residualvm/residualvm-0.3.1/backends/fs/windows/ |
H A D | windows-fs.cpp | 177 for (TCHAR *current_drive = drive_buffer; *current_drive; in getChildren() local 178 current_drive += _tcslen(current_drive) + 1) { in getChildren() 182 drive_name[0] = toAscii(current_drive)[0]; in getChildren() 188 entry._path = toAscii(current_drive); in getChildren()
|
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-14284/ |
H A D | floppy.c | 601 static unsigned char current_drive; variable 680 drive = current_drive; in __reschedule_timeout() 858 current_drive = drive; in set_fdc() 955 saved_drive = current_drive; in scandrives() 1867 data = UNIT(current_drive); in start_motor() 2809 if (current_drive < N_DRIVE) in redo_fd_request() 2835 disk_change(current_drive); in redo_fd_request() 4335 int current_drive = 0; in set_cmos() local 4341 current_drive = ints[1]; in set_cmos() 4342 if (current_drive < 0 || current_drive >= 8) { in set_cmos() [all …]
|
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-14284/ |
H A D | floppy.c | 601 static unsigned char current_drive; variable 680 drive = current_drive; in __reschedule_timeout() 858 current_drive = drive; in set_fdc() 955 saved_drive = current_drive; in scandrives() 1867 data = UNIT(current_drive); in start_motor() 2809 if (current_drive < N_DRIVE) in redo_fd_request() 2835 disk_change(current_drive); in redo_fd_request() 4335 int current_drive = 0; in set_cmos() local 4341 current_drive = ints[1]; in set_cmos() 4342 if (current_drive < 0 || current_drive >= 8) { in set_cmos() [all …]
|
/dports/japanese/kterm/pcemu1.01alpha/ |
H A D | mfs.c | 411 int current_drive = 0; variable 723 current_drive = dd - 1; 725 cds = drive_cds(current_drive); 2480 if (current_drive < 0 || current_drive > lol_last_drive(lol)) { in RedirectDevice() 2484 cds = drive_cds(current_drive); in RedirectDevice() 2535 if (current_drive < 0 || current_drive > lol_last_drive(lol)) { in CancelRedirection() 2539 cds = drive_cds(current_drive); in CancelRedirection() 2546 free(dos_roots[current_drive]); in CancelRedirection() 2547 dos_roots[current_drive] = NULL; in CancelRedirection() 2548 dos_root_lens[current_drive] = 0; in CancelRedirection() [all …]
|
/dports/emulators/mess/mame-mame0226/src/devices/bus/a2bus/ |
H A D | corvfdc01.cpp | 185 int current_drive; in write_c0nx() local 193 current_drive = ((data >> LC_DE0_bit) & 1) | ((data >> (LC_DE1_bit-1)) & 2); in write_c0nx() 194 switch (current_drive) in write_c0nx()
|
/dports/emulators/mame/mame-mame0226/src/devices/bus/a2bus/ |
H A D | corvfdc01.cpp | 185 int current_drive; in write_c0nx() local 193 current_drive = ((data >> LC_DE0_bit) & 1) | ((data >> (LC_DE1_bit-1)) & 2); in write_c0nx() 194 switch (current_drive) in write_c0nx()
|
/dports/emulators/teo/teo/tools/cc90hfe/src/ |
H A D | main.c | 59 static int current_drive = 0; variable 215 if ((err = cc90_ReadTrack (current_drive, track)) == 0) in main_ArchiveDisk() 246 err = cc90_WriteTrack (current_drive, track); in main_ExtractDisk()
|