taglinefilesource code
res_reg568drivers/block/cdu31a.cunsigned char res_reg[12];
res_reg578drivers/block/cdu31a.cres_reg,
res_reg580drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg582drivers/block/cdu31a.cprintk("  Unable to set spin-down time: 0x%2.2x\n", res_reg[1]);
res_reg594drivers/block/cdu31a.cres_reg,
res_reg596drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg598drivers/block/cdu31a.cprintk("  Unable to set mechanical parameters: 0x%2.2x\n", res_reg[1]);
res_reg608drivers/block/cdu31a.cunsigned char res_reg[12];
res_reg621drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_UP_CMD, NULL, 0, res_reg, &res_size);
res_reg622drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg624drivers/block/cdu31a.cprintk("cdu31a: Unable to spin up drive: 0x%2.2x\n", res_reg[1]);
res_reg631drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_READ_TOC_CMD, NULL, 0, res_reg, &res_size);
res_reg632drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg634drivers/block/cdu31a.cprintk("cdu31a: Unable to read TOC: 0x%2.2x\n", res_reg[1]);
res_reg1261drivers/block/cdu31a.cunsigned char res_reg[],
res_reg1270drivers/block/cdu31a.cres_reg[0] = 0;
res_reg1271drivers/block/cdu31a.cres_reg[1] = 0;
res_reg1320drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg1321drivers/block/cdu31a.cres_reg[1] = SONY_BAD_DATA_ERR;
res_reg1333drivers/block/cdu31a.cget_result(res_reg, res_size);
res_reg1352drivers/block/cdu31a.cget_result(res_reg, res_size);
res_reg1353drivers/block/cdu31a.cif ((res_reg[0] & 0xf0) != 0x20)
res_reg1356drivers/block/cdu31a.cres_reg[0]);
res_reg1357drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg1358drivers/block/cdu31a.cres_reg[1] = SONY_BAD_DATA_ERR;
res_reg1368drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg1369drivers/block/cdu31a.cres_reg[1] = SONY_TIMEOUT_OP_ERR;
res_reg1393drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg1394drivers/block/cdu31a.cres_reg[1] = SONY_TIMEOUT_OP_ERR;
res_reg1400drivers/block/cdu31a.cget_result(res_reg, res_size);
res_reg1403drivers/block/cdu31a.cif ((res_reg[0] & 0xf0) == 0x50)
res_reg1406drivers/block/cdu31a.cif (   (res_reg[0] == SONY_NO_CIRC_ERR_BLK_STAT)
res_reg1407drivers/block/cdu31a.c|| (res_reg[0] == SONY_NO_LECC_ERR_BLK_STAT)
res_reg1408drivers/block/cdu31a.c|| (res_reg[0] == SONY_RECOV_LECC_ERR_BLK_STAT))
res_reg1416drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg1417drivers/block/cdu31a.cres_reg[1] = SONY_BAD_DATA_ERR;
res_reg1423drivers/block/cdu31a.cprintk("CDU31A: Data block error: 0x%x\n", res_reg[0]);
res_reg1424drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg1425drivers/block/cdu31a.cres_reg[1] = SONY_BAD_DATA_ERR;
res_reg1439drivers/block/cdu31a.cget_result(res_reg, res_size);
res_reg1442drivers/block/cdu31a.celse if ((res_reg[0] & 0xf0) != 0x20)
res_reg1446drivers/block/cdu31a.cprintk("CDU31A: Invalid block status: 0x%x\n", res_reg[0]);
res_reg1448drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg1449drivers/block/cdu31a.cres_reg[1] = SONY_BAD_DATA_ERR;
res_reg1468drivers/block/cdu31a.cunsigned char res_reg[12];
res_reg1643drivers/block/cdu31a.cread_data_block(CURRENT->buffer, block, nblock, res_reg, &res_size);
res_reg1644drivers/block/cdu31a.cif (res_reg[0] == 0x20)
res_reg1653drivers/block/cdu31a.cif (res_reg[1] == SONY_NOT_SPIN_ERR)
res_reg1655drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_UP_CMD, NULL, 0, res_reg, &res_size);
res_reg1659drivers/block/cdu31a.cprintk("CDU31A: Read error: 0x%2.2x\n", res_reg[1]);
res_reg1720drivers/block/cdu31a.cunsigned char res_reg[2];
res_reg1748drivers/block/cdu31a.cres_reg,
res_reg1752drivers/block/cdu31a.cprintk("%2.2x %2.2x\n", res_reg[0], res_reg[1]);
res_reg1755drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg1984drivers/block/cdu31a.cunsigned char res_reg[],
res_reg1991drivers/block/cdu31a.cres_reg[0] = 0;
res_reg1992drivers/block/cdu31a.cres_reg[1] = 0;
res_reg2012drivers/block/cdu31a.cget_result(res_reg, res_size);
res_reg2015drivers/block/cdu31a.cif ((res_reg[0] & 0xf0) == 0x50)
res_reg2021drivers/block/cdu31a.celse if ((res_reg[0] & 0xf0) != 0x20)
res_reg2024drivers/block/cdu31a.cres_reg[0]);
res_reg2025drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg2026drivers/block/cdu31a.cres_reg[1] = SONY_BAD_DATA_ERR;
res_reg2036drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg2037drivers/block/cdu31a.cres_reg[1] = SONY_TIMEOUT_OP_ERR;
res_reg2075drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg2076drivers/block/cdu31a.cres_reg[1] = SONY_TIMEOUT_OP_ERR;
res_reg2083drivers/block/cdu31a.cget_result(res_reg, res_size);
res_reg2087drivers/block/cdu31a.cif ((res_reg[0] & 0xf0) == 0x50)
res_reg2089drivers/block/cdu31a.cif (   (res_reg[0] == SONY_NO_CIRC_ERR_BLK_STAT)
res_reg2090drivers/block/cdu31a.c|| (res_reg[0] == SONY_NO_LECC_ERR_BLK_STAT)
res_reg2091drivers/block/cdu31a.c|| (res_reg[0] == SONY_RECOV_LECC_ERR_BLK_STAT)
res_reg2092drivers/block/cdu31a.c|| (res_reg[0] == SONY_NO_ERR_DETECTION_STAT))
res_reg2098drivers/block/cdu31a.cprintk("CDU31A: Data block error: 0x%x\n", res_reg[0]);
res_reg2099drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg2100drivers/block/cdu31a.cres_reg[1] = SONY_BAD_DATA_ERR;
res_reg2104drivers/block/cdu31a.celse if ((res_reg[0] & 0xf0) != 0x20)
res_reg2108drivers/block/cdu31a.cprintk("CDU31A: Invalid block status: 0x%x\n", res_reg[0]);
res_reg2110drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg2111drivers/block/cdu31a.cres_reg[1] = SONY_BAD_DATA_ERR;
res_reg2125drivers/block/cdu31a.cunsigned char res_reg[12];
res_reg2160drivers/block/cdu31a.cres_reg,
res_reg2162drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg2164drivers/block/cdu31a.cprintk("CDU31A: Unable to set decode params: 0x%2.2x\n", res_reg[1]);
res_reg2184drivers/block/cdu31a.cread_audio_data(readahead_buffer, res_reg, &res_size);
res_reg2185drivers/block/cdu31a.cif ((res_reg[0] & 0xf0) == 0x20)
res_reg2187drivers/block/cdu31a.cif (res_reg[1] == SONY_BAD_DATA_ERR)
res_reg2192drivers/block/cdu31a.celse if (res_reg[1] == SONY_ILL_TRACK_R_ERR)
res_reg2203drivers/block/cdu31a.cres_reg,
res_reg2205drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg2207drivers/block/cdu31a.cprintk("CDU31A: Unable to set decode params: 0x%2.2x\n", res_reg[1]);
res_reg2222drivers/block/cdu31a.cread_audio_data(readahead_buffer, res_reg, &res_size);
res_reg2223drivers/block/cdu31a.cif ((res_reg[0] & 0xf0) == 0x20)
res_reg2225drivers/block/cdu31a.cif (res_reg[1] == SONY_BAD_DATA_ERR)
res_reg2234drivers/block/cdu31a.cres_reg[1]);
res_reg2250drivers/block/cdu31a.cres_reg[1]);
res_reg2265drivers/block/cdu31a.cget_result(res_reg, &res_size);
res_reg2266drivers/block/cdu31a.cif ((res_reg[0] & 0xf0) == 0x20)
res_reg2269drivers/block/cdu31a.cres_reg[1]);
res_reg2289drivers/block/cdu31a.cres_reg,
res_reg2291drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg2293drivers/block/cdu31a.cprintk("CDU31A: Unable to reset decode params: 0x%2.2x\n", res_reg[1]);
res_reg2329drivers/block/cdu31a.cunsigned char res_reg[12];
res_reg2343drivers/block/cdu31a.creturn do_sony_cd_cmd_chk("START",SONY_SPIN_UP_CMD, NULL, 0, res_reg, &res_size);
res_reg2348drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_AUDIO_STOP_CMD, NULL, 0, res_reg, &res_size);
res_reg2355drivers/block/cdu31a.creturn do_sony_cd_cmd_chk("STOP",SONY_SPIN_DOWN_CMD, NULL, 0, res_reg, &res_size);
res_reg2358drivers/block/cdu31a.cif(do_sony_cd_cmd_chk("PAUSE", SONY_AUDIO_STOP_CMD, NULL, 0, res_reg, &res_size))
res_reg2378drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_UP_CMD, NULL, 0, res_reg, &res_size);
res_reg2388drivers/block/cdu31a.cif(do_sony_cd_cmd_chk("RESUME",SONY_AUDIO_PLAYBACK_CMD, params, 7, res_reg, &res_size)<0)
res_reg2397drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_UP_CMD, NULL, 0, res_reg, &res_size);
res_reg2406drivers/block/cdu31a.cif(do_sony_cd_cmd_chk("PLAYMSF",SONY_AUDIO_PLAYBACK_CMD, params, 7, res_reg, &res_size)<0)
res_reg2549drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_UP_CMD, NULL, 0, res_reg, &res_size);
res_reg2551drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_AUDIO_PLAYBACK_CMD, params, 7, res_reg, &res_size);
res_reg2553drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg2557drivers/block/cdu31a.cprintk("Sony CDROM error 0x%2.2x (CDROMPLAYTRKIND\n", res_reg[1]);
res_reg2584drivers/block/cdu31a.creturn do_sony_cd_cmd_chk("VOLCTRL",SONY_SET_DRIVE_PARAM_CMD, params, 3, res_reg, &res_size);
res_reg2587drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_AUDIO_STOP_CMD, NULL, 0, res_reg, &res_size);
res_reg2588drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_DOWN_CMD, NULL, 0, res_reg, &res_size);
res_reg2591drivers/block/cdu31a.creturn do_sony_cd_cmd_chk("EJECT",SONY_EJECT_CMD, NULL, 0, res_reg, &res_size);
res_reg2669drivers/block/cdu31a.cunsigned char res_reg[12];
res_reg2683drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_UP_CMD, NULL, 0, res_reg, &res_size);
res_reg2687drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] != 0) && (res_reg[1] != 0)))
res_reg2689drivers/block/cdu31a.cprintk("Sony CDROM error 0x%2.2x (scd_open, spin up)\n", res_reg[1]);
res_reg2693drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_READ_TOC_CMD, NULL, 0, res_reg, &res_size);
res_reg2697drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] != 0) && (res_reg[1] != 0)))
res_reg2700drivers/block/cdu31a.cif ((res_reg[1] == SONY_AUDIO_PLAYING_ERR) || (res_reg[1] == 0))
res_reg2707drivers/block/cdu31a.cif (   (res_reg[1] == SONY_NOT_SPIN_ERR)
res_reg2714drivers/block/cdu31a.cprintk("Sony CDROM error 0x%2.2x (scd_open, read toc)\n", res_reg[1]);
res_reg2715drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_DOWN_CMD, NULL, 0, res_reg, &res_size);
res_reg2723drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_DOWN_CMD, NULL, 0, res_reg, &res_size);
res_reg2737drivers/block/cdu31a.cres_reg,
res_reg2739drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg2741drivers/block/cdu31a.cprintk("CDU31A: Unable to set XA params: 0x%2.2x\n", res_reg[1]);
res_reg2753drivers/block/cdu31a.cres_reg,
res_reg2755drivers/block/cdu31a.cif ((res_size < 2) || ((res_reg[0] & 0xf0) == 0x20))
res_reg2757drivers/block/cdu31a.cprintk("CDU31A: Unable to reset XA params: 0x%2.2x\n", res_reg[1]);
res_reg2787drivers/block/cdu31a.cunsigned char res_reg[12];
res_reg2798drivers/block/cdu31a.cdo_sony_cd_cmd(SONY_SPIN_DOWN_CMD, NULL, 0, res_reg, &res_size);
res_reg2827drivers/block/cdu31a.cunsigned char res_reg[],
res_reg2868drivers/block/cdu31a.cres_reg[0] = 0x20;
res_reg2879drivers/block/cdu31a.c(unsigned char *) res_reg,
res_reg2885drivers/block/cdu31a.cres_reg[0] = 0x20;