Lines Matching refs:OUT
1303 if (fam0LV_drive) OUT(CDo_command,CMD0_STATUS); in cc_ReadStatus()
1304 else if (fam1_drive) OUT(CDo_command,CMD1_STATUS); in cc_ReadStatus()
1305 else if (fam2_drive) OUT(CDo_command,CMD2_STATUS); in cc_ReadStatus()
1306 if (!fam0LV_drive) for (i=0;i<6;i++) OUT(CDo_command,0); in cc_ReadStatus()
1376 OUT(CDo_sel_i_d,0); in cmd_out_T()
1377 OUT(CDo_enable,D_S[d].drv_sel); in cmd_out_T()
1395 for (i=0;i<10;i++) OUT(CDo_command,drvcmd[i]); in cmd_out_T()
1401 OUT(CDo_sel_i_d,1); in cmd_out_T()
1410 OUT(CDo_sel_i_d,1); in cmd_out_T()
1416 OUT(CDo_sel_i_d,1); in cmd_out_T()
1465 OUT(CDo_sel_i_d,0); in cmd_out_T()
1531 for (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]); in cmd_out()
1538 if (sbpro_type==1) OUT(CDo_sel_i_d,1); in cmd_out()
1540 if (sbpro_type==1) OUT(CDo_sel_i_d,0); in cmd_out()
2001 if (fam0LV_drive) OUT(CDo_reset,0x00); in cc_DriveReset()
2013 OUT(CDo_reset,0x00); in cc_DriveReset()
2017 OUT(CDo_sel_i_d,0); in cc_DriveReset()
2018 OUT(CDo_enable,D_S[d].drv_sel); in cc_DriveReset()
2019 OUT(CDo_command,CMDT_RESET); in cc_DriveReset()
2020 for (i=1;i<10;i++) OUT(CDo_command,0); in cc_DriveReset()
3450 if (sbpro_type==1) OUT(CDo_sel_i_d,0); in check_version()
3452 OUT(CDo_reset,0); in check_version()
3454 OUT(CDo_enable,D_S[d].drv_sel); in check_version()
3501 if (sbpro_type==1) OUT(CDo_reset,0); in check_version()
3504 OUT(CDo_enable,D_S[d].drv_sel); in check_version()
3505 OUT(CDo_sel_i_d,0); in check_version()
3506 OUT(CDo_command,CMDT_RESET); in check_version()
3507 for (i=0;i<9;i++) OUT(CDo_command,0); in check_version()
3510 OUT(CDo_enable,D_S[d].drv_sel); in check_version()
3511 OUT(CDo_sel_i_d,0); in check_version()
3638 OUT(CDo_enable,D_S[d].drv_sel); in switch_drive()
3662 OUT(port+3,j) ; /* enable drive #j */ in check_card()
3663 OUT(port+0,CMD0_PATH_CHECK); in check_card()
3664 for (i=10;i>0;i--) OUT(port+0,0); in check_card()
3679 OUT(port+0,CMD0_PATH_CHECK); in check_card()
3680 for (i=10;i>0;i--) OUT(port+0,0); in check_card()
3702 OUT(port+3,j) ; /* enable drive #j */ in check_card()
3703 OUT(port+0,CMD2_READ_VER); in check_card()
3704 for (i=10;i>0;i--) OUT(port+0,0); in check_card()
3720 OUT(port+0,CMD2_READ_VER); in check_card()
3721 for (i=10;i>0;i--) OUT(port+0,0); in check_card()
3741 OUT(port+0,save_port0); in check_card()
3742 OUT(port+3,save_port3); in check_card()
4432 if (sbpro_type==1) OUT(CDo_sel_i_d,1); in sbpcd_dev_ioctl()
4457 if (sbpro_type==1) OUT(CDo_sel_i_d,0); in sbpcd_dev_ioctl()
5232 if (sbpro_type==1) OUT(CDo_sel_i_d,1); in sbp_data()
5244 if (sbpro_type==1) OUT(CDo_sel_i_d,0); in sbp_data()
5274 OUT(CDo_sel_i_d,0); in sbp_data()
5279 OUT(CDo_sel_i_d,1); in sbp_data()
5293 OUT(CDo_sel_i_d,0); in sbp_data()
5655 OUT(SPEA_REG_1,0xFF); in config_spea()
5662 OUT(SPEA_REG_1,0x04); in config_spea()
5663 OUT(SPEA_REG_2,0xC0); in config_spea()
5665 OUT(SPEA_REG_1,0x05); in config_spea()
5666 OUT(SPEA_REG_2,0x10|drq_polarity|dack_polarity); in config_spea()
5673 OUT(SPEA_REG_1,0x06); in config_spea()
5674 OUT(SPEA_REG_2,dma_channel|irq_number|SPEA_PATTERN); in config_spea()
5675 OUT(SPEA_REG_2,dma_channel|irq_number|SPEA_PATTERN); in config_spea()
5677 OUT(SPEA_REG_1,0x09); in config_spea()
5679 OUT(SPEA_REG_2,i); in config_spea()
5853 OUT(MIXER_addr,MIXER_CD_Volume); /* select SB Pro mixer register */ in __SBPCD_INIT()
5854 OUT(MIXER_data,0xCC); /* one nibble per channel, max. value: 0xFF */ in __SBPCD_INIT()