tag | line | file | source code |
params | 295 | drivers/block/floppy.c | struct floppy_drive_params params; |
params | 3340 | drivers/block/floppy.c | (char *) (&default_drive_params[(int)UDP->cmos].params), |
params | 3714 | drivers/block/floppy.c | default_drive_params[i].params.flags |= 0x80; |
params | 3716 | drivers/block/floppy.c | default_drive_params[i].params.flags &= ~0x80; |
params | 3727 | drivers/block/floppy.c | default_drive_params[i].params.select_delay = 0; |
params | 3728 | drivers/block/floppy.c | default_drive_params[i].params.flags |= FD_SILENT_DCL_CLEAR; |
params | 3730 | drivers/block/floppy.c | default_drive_params[i].params.select_delay = 2*HZ/100; |
params | 3731 | drivers/block/floppy.c | default_drive_params[i].params.flags &= ~FD_SILENT_DCL_CLEAR; |
params | 268 | drivers/cdrom/aztcd.c | static int sendAztCmd(int cmd, struct azt_Play_msf *params); |
params | 444 | drivers/cdrom/aztcd.c | static int sendAztCmd(int cmd, struct azt_Play_msf *params) |
params | 450 | drivers/cdrom/aztcd.c | params->start.min, params->start.sec, params->start.frame, \ |
params | 451 | drivers/cdrom/aztcd.c | params->end.min, params->end.sec, params->end.frame); |
params | 455 | drivers/cdrom/aztcd.c | outb(params -> start.min,CMD_PORT); |
params | 456 | drivers/cdrom/aztcd.c | outb(params -> start.sec,CMD_PORT); |
params | 457 | drivers/cdrom/aztcd.c | outb(params -> start.frame,CMD_PORT); |
params | 458 | drivers/cdrom/aztcd.c | outb(params -> end.min,CMD_PORT); |
params | 459 | drivers/cdrom/aztcd.c | outb(params -> end.sec,CMD_PORT); |
params | 460 | drivers/cdrom/aztcd.c | outb(params -> end.frame,CMD_PORT); |
params | 481 | drivers/cdrom/aztcd.c | static int aztSeek(struct azt_Play_msf *params) |
params | 487 | drivers/cdrom/aztcd.c | params->start.min, params->start.sec, params->start.frame); |
params | 491 | drivers/cdrom/aztcd.c | outb(params -> start.min,CMD_PORT); |
params | 492 | drivers/cdrom/aztcd.c | outb(params -> start.sec,CMD_PORT); |
params | 493 | drivers/cdrom/aztcd.c | outb(params -> start.frame,CMD_PORT); |
params | 238 | drivers/cdrom/cdu31a.c | unsigned char *params, |
params | 576 | drivers/cdrom/cdu31a.c | unsigned char params[3]; |
params | 579 | drivers/cdrom/cdu31a.c | params[0] = SONY_SD_AUTO_SPIN_DOWN_TIME; |
params | 580 | drivers/cdrom/cdu31a.c | params[1] = 0x00; /* Never spin down the drive. */ |
params | 582 | drivers/cdrom/cdu31a.c | params, |
params | 591 | drivers/cdrom/cdu31a.c | params[0] = SONY_SD_MECH_CONTROL; |
params | 592 | drivers/cdrom/cdu31a.c | params[1] = SONY_AUTO_SPIN_UP_BIT; /* Set auto spin up */ |
params | 594 | drivers/cdrom/cdu31a.c | if (is_auto_eject) params[1] |= SONY_AUTO_EJECT_BIT; |
params | 598 | drivers/cdrom/cdu31a.c | params[1] |= SONY_DOUBLE_SPEED_BIT; /* Set the drive to double speed if |
params | 602 | drivers/cdrom/cdu31a.c | params, |
params | 649 | drivers/cdrom/cdu31a.c | write_params(unsigned char *params, |
params | 667 | drivers/cdrom/cdu31a.c | write_param(*params); |
params | 668 | drivers/cdrom/cdu31a.c | params++; |
params | 820 | drivers/cdrom/cdu31a.c | unsigned char *params, |
params | 886 | drivers/cdrom/cdu31a.c | write_params(params, num_params); |
params | 1082 | drivers/cdrom/cdu31a.c | unsigned char params[6]; |
params | 1087 | drivers/cdrom/cdu31a.c | log_to_msf(sector, params); |
params | 1106 | drivers/cdrom/cdu31a.c | size_to_buf(read_size, ¶ms[3]); |
params | 1135 | drivers/cdrom/cdu31a.c | write_params(params, 6); |
params | 2178 | drivers/cdrom/cdu31a.c | unsigned char params[2]; |
params | 2209 | drivers/cdrom/cdu31a.c | params[0] = SONY_SD_DECODE_PARAM; |
params | 2210 | drivers/cdrom/cdu31a.c | params[1] = 0x06 | sony_raw_data_mode; |
params | 2212 | drivers/cdrom/cdu31a.c | params, |
params | 2252 | drivers/cdrom/cdu31a.c | params[0] = SONY_SD_DECODE_PARAM; |
params | 2253 | drivers/cdrom/cdu31a.c | params[1] = 0x06 | sony_raw_data_mode; |
params | 2255 | drivers/cdrom/cdu31a.c | params, |
params | 2331 | drivers/cdrom/cdu31a.c | params[0] = SONY_SD_DECODE_PARAM; |
params | 2334 | drivers/cdrom/cdu31a.c | params[1] = 0x0f; |
params | 2338 | drivers/cdrom/cdu31a.c | params[1] = 0x07; |
params | 2341 | drivers/cdrom/cdu31a.c | params, |
params | 2361 | drivers/cdrom/cdu31a.c | unsigned char *params, |
params | 2366 | drivers/cdrom/cdu31a.c | do_sony_cd_cmd(cmd, params, num_params, result_buffer, result_size); |
params | 2385 | drivers/cdrom/cdu31a.c | unsigned char params[7]; |
params | 2435 | drivers/cdrom/cdu31a.c | params[1] = cur_pos_msf[0]; |
params | 2436 | drivers/cdrom/cdu31a.c | params[2] = cur_pos_msf[1]; |
params | 2437 | drivers/cdrom/cdu31a.c | params[3] = cur_pos_msf[2]; |
params | 2438 | drivers/cdrom/cdu31a.c | params[4] = final_pos_msf[0]; |
params | 2439 | drivers/cdrom/cdu31a.c | params[5] = final_pos_msf[1]; |
params | 2440 | drivers/cdrom/cdu31a.c | params[6] = final_pos_msf[2]; |
params | 2441 | drivers/cdrom/cdu31a.c | params[0] = 0x03; |
params | 2442 | drivers/cdrom/cdu31a.c | if(do_sony_cd_cmd_chk("RESUME",SONY_AUDIO_PLAYBACK_CMD, params, 7, res_reg, &res_size)<0) |
params | 2452 | drivers/cdrom/cdu31a.c | memcpy_fromfs(&(params[1]), (void *) arg, 6); |
params | 2457 | drivers/cdrom/cdu31a.c | params[i] = int_to_bcd(params[i]); |
params | 2459 | drivers/cdrom/cdu31a.c | params[0] = 0x03; |
params | 2460 | drivers/cdrom/cdu31a.c | if(do_sony_cd_cmd_chk("PLAYMSF",SONY_AUDIO_PLAYBACK_CMD, params, 7, res_reg, &res_size)<0) |
params | 2464 | drivers/cdrom/cdu31a.c | final_pos_msf[0] = params[4]; |
params | 2465 | drivers/cdrom/cdu31a.c | final_pos_msf[1] = params[5]; |
params | 2466 | drivers/cdrom/cdu31a.c | final_pos_msf[2] = params[6]; |
params | 2578 | drivers/cdrom/cdu31a.c | params[1] = sony_toc.tracks[track_idx].track_start_msf[0]; |
params | 2579 | drivers/cdrom/cdu31a.c | params[2] = sony_toc.tracks[track_idx].track_start_msf[1]; |
params | 2580 | drivers/cdrom/cdu31a.c | params[3] = sony_toc.tracks[track_idx].track_start_msf[2]; |
params | 2589 | drivers/cdrom/cdu31a.c | &(params[4])); |
params | 2599 | drivers/cdrom/cdu31a.c | &(params[4])); |
params | 2601 | drivers/cdrom/cdu31a.c | params[0] = 0x03; |
params | 2605 | drivers/cdrom/cdu31a.c | do_sony_cd_cmd(SONY_AUDIO_PLAYBACK_CMD, params, 7, res_reg, &res_size); |
params | 2609 | drivers/cdrom/cdu31a.c | printk("Params: %x %x %x %x %x %x %x\n", params[0], params[1], |
params | 2610 | drivers/cdrom/cdu31a.c | params[2], params[3], params[4], params[5], params[6]); |
params | 2616 | drivers/cdrom/cdu31a.c | final_pos_msf[0] = params[4]; |
params | 2617 | drivers/cdrom/cdu31a.c | final_pos_msf[1] = params[5]; |
params | 2618 | drivers/cdrom/cdu31a.c | final_pos_msf[2] = params[6]; |
params | 2635 | drivers/cdrom/cdu31a.c | params[0] = SONY_SD_AUDIO_VOLUME; |
params | 2636 | drivers/cdrom/cdu31a.c | params[1] = volctrl.channel0; |
params | 2637 | drivers/cdrom/cdu31a.c | params[2] = volctrl.channel1; |
params | 2638 | drivers/cdrom/cdu31a.c | return do_sony_cd_cmd_chk("VOLCTRL",SONY_SET_DRIVE_PARAM_CMD, params, 3, res_reg, &res_size); |
params | 2732 | drivers/cdrom/cdu31a.c | unsigned char params[2]; |
params | 2792 | drivers/cdrom/cdu31a.c | params[0] = SONY_SD_DECODE_PARAM; |
params | 2793 | drivers/cdrom/cdu31a.c | params[1] = 0x07; |
params | 2795 | drivers/cdrom/cdu31a.c | params, |
params | 2808 | drivers/cdrom/cdu31a.c | params[0] = SONY_SD_DECODE_PARAM; |
params | 2809 | drivers/cdrom/cdu31a.c | params[1] = 0x0f; |
params | 2811 | drivers/cdrom/cdu31a.c | params, |
params | 185 | drivers/cdrom/mcd.c | static void sendMcdCmd(int cmd, struct mcd_Play_msf *params); |
params | 1321 | drivers/cdrom/mcd.c | sendMcdCmd(int cmd, struct mcd_Play_msf *params) |
params | 1324 | drivers/cdrom/mcd.c | outb(params -> start.min, MCDPORT(0)); |
params | 1325 | drivers/cdrom/mcd.c | outb(params -> start.sec, MCDPORT(0)); |
params | 1326 | drivers/cdrom/mcd.c | outb(params -> start.frame, MCDPORT(0)); |
params | 1327 | drivers/cdrom/mcd.c | outb(params -> end.min, MCDPORT(0)); |
params | 1328 | drivers/cdrom/mcd.c | outb(params -> end.sec, MCDPORT(0)); |
params | 1329 | drivers/cdrom/mcd.c | outb(params -> end.frame, MCDPORT(0)); |
params | 322 | drivers/cdrom/optcd.c | static int send_params(struct cdrom_msf *params) |
params | 329 | drivers/cdrom/optcd.c | params->cdmsf_min0, |
params | 330 | drivers/cdrom/optcd.c | params->cdmsf_sec0, |
params | 331 | drivers/cdrom/optcd.c | params->cdmsf_frame0, |
params | 332 | drivers/cdrom/optcd.c | params->cdmsf_min1, |
params | 333 | drivers/cdrom/optcd.c | params->cdmsf_sec1, |
params | 334 | drivers/cdrom/optcd.c | params->cdmsf_frame1)); |
params | 336 | drivers/cdrom/optcd.c | outb(params->cdmsf_min0, COMIN_PORT); |
params | 337 | drivers/cdrom/optcd.c | outb(params->cdmsf_sec0, COMIN_PORT); |
params | 338 | drivers/cdrom/optcd.c | outb(params->cdmsf_frame0, COMIN_PORT); |
params | 339 | drivers/cdrom/optcd.c | outb(params->cdmsf_min1, COMIN_PORT); |
params | 340 | drivers/cdrom/optcd.c | outb(params->cdmsf_sec1, COMIN_PORT); |
params | 341 | drivers/cdrom/optcd.c | outb(params->cdmsf_frame1, COMIN_PORT); |
params | 350 | drivers/cdrom/optcd.c | static int send_seek_params(struct cdrom_msf *params) |
params | 356 | drivers/cdrom/optcd.c | params->cdmsf_min0, |
params | 357 | drivers/cdrom/optcd.c | params->cdmsf_sec0, |
params | 358 | drivers/cdrom/optcd.c | params->cdmsf_frame0)); |
params | 360 | drivers/cdrom/optcd.c | outb(params->cdmsf_min0, COMIN_PORT); |
params | 361 | drivers/cdrom/optcd.c | outb(params->cdmsf_sec0, COMIN_PORT); |
params | 362 | drivers/cdrom/optcd.c | outb(params->cdmsf_frame0, COMIN_PORT); |
params | 484 | drivers/cdrom/optcd.c | inline static int exec_read_cmd(int cmd, struct cdrom_msf *params) |
params | 489 | drivers/cdrom/optcd.c | return send_params(params); |
params | 494 | drivers/cdrom/optcd.c | inline static int exec_seek_cmd(int cmd, struct cdrom_msf *params) |
params | 499 | drivers/cdrom/optcd.c | ack = send_seek_params(params); |
params | 507 | drivers/cdrom/optcd.c | inline static int exec_long_cmd(int cmd, struct cdrom_msf *params) |
params | 509 | drivers/cdrom/optcd.c | int ack = exec_read_cmd(cmd, params); |
params | 593 | drivers/cdrom/sonycd535.c | seek_and_read_N_blocks(Byte params[], int n_blocks, Byte status[2], |
params | 612 | drivers/cdrom/sonycd535.c | cmd_buff[i + 1] = params[i]; |
params | 791 | drivers/cdrom/sonycd535.c | Byte params[10]; |
params | 836 | drivers/cdrom/sonycd535.c | log_to_msf(block / 4, params); |
params | 849 | drivers/cdrom/sonycd535.c | size_to_buf(read_size, ¶ms[3]); |
params | 875 | drivers/cdrom/sonycd535.c | int readStatus = seek_and_read_N_blocks(params, read_size, |
params | 1078 | drivers/cdrom/sonycd535.c | Byte cmd_buff[10], params[10]; |
params | 1176 | drivers/cdrom/sonycd535.c | memcpy_fromfs(params, (void *)arg, 6); |
params | 1180 | drivers/cdrom/sonycd535.c | cmd_buff[2 + i] = int_to_bcd(params[i]); |
params | 1181 | drivers/cdrom/sonycd535.c | cmd_buff[7 + i] = int_to_bcd(params[i + 3]); |
params | 1288 | drivers/cdrom/sonycd535.c | params[1] = sony_toc->tracks[track_idx].track_start_msf[0]; |
params | 1289 | drivers/cdrom/sonycd535.c | params[2] = sony_toc->tracks[track_idx].track_start_msf[1]; |
params | 1290 | drivers/cdrom/sonycd535.c | params[3] = sony_toc->tracks[track_idx].track_start_msf[2]; |
params | 1297 | drivers/cdrom/sonycd535.c | &(params[4])); |
params | 1303 | drivers/cdrom/sonycd535.c | &(params[4])); |
params | 1305 | drivers/cdrom/sonycd535.c | params[0] = 0x03; |
params | 1314 | drivers/cdrom/sonycd535.c | cmd_buff[2] = params[1]; |
params | 1315 | drivers/cdrom/sonycd535.c | cmd_buff[3] = params[2]; |
params | 1316 | drivers/cdrom/sonycd535.c | cmd_buff[4] = params[3]; |
params | 1319 | drivers/cdrom/sonycd535.c | cmd_buff[7] = params[4]; |
params | 1320 | drivers/cdrom/sonycd535.c | cmd_buff[8] = params[5]; |
params | 1321 | drivers/cdrom/sonycd535.c | cmd_buff[9] = params[6]; |
params | 1327 | drivers/cdrom/sonycd535.c | params[0], params[1], params[2], |
params | 1328 | drivers/cdrom/sonycd535.c | params[3], params[4], params[5], params[6]); |
params | 1332 | drivers/cdrom/sonycd535.c | final_pos_msf[0] = params[4]; |
params | 1333 | drivers/cdrom/sonycd535.c | final_pos_msf[1] = params[5]; |
params | 1334 | drivers/cdrom/sonycd535.c | final_pos_msf[2] = params[6]; |