Home
last modified time | relevance | path

Searched refs:page_code (Results 1 – 20 of 20) sorted by relevance

/drivers/scsi/
Dosst.h138 unsigned page_code :6; /* Page Code - Should be 0xf */ member
140 unsigned page_code :6; /* Page Code - Should be 0xf */
181 unsigned page_code :6; /* Page Code - Should be 0x11 */ member
183 unsigned page_code :6; /* Page Code - Should be 0x11 */
217 unsigned page_code :6; /* Page code - Should be 0x2a */ member
219 unsigned page_code :6; /* Page code - Should be 0x2a */
307 unsigned page_code :6; /* Page code - Should be 0x30 */ member
309 unsigned page_code :6; /* Page code - Should be 0x30 */
345 unsigned page_code :6; /* Page code - Should be 0x2b */ member
347 unsigned page_code :6; /* Page code - Should be 0x2b */
Dses.c70 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() argument
76 page_code, in ses_recv_diag()
86 static int ses_send_diag(struct scsi_device *sdev, int page_code, in ses_send_diag() argument
Dmvumi.c867 switch (hs_header->page_code) { in mvumi_hs_build_page()
928 hs_header->page_code); in mvumi_hs_build_page()
1079 switch (hs_header->page_code) { in mvumi_hs_process_page()
1164 if (hs_header->page_code == HS_PAGE_FIRM_CAP) { in mvumi_handshake()
1182 hs_header->page_code = 0; in mvumi_handshake()
1186 if ((hs_header->page_code + 1) <= mhba->hba_total_pages) { in mvumi_handshake()
1187 hs_header->page_code++; in mvumi_handshake()
1188 if (hs_header->page_code != HS_PAGE_FIRM_CAP) { in mvumi_handshake()
Dmvumi.h387 u8 page_code; member
Dipr.h798 u8 page_code; member
813 u8 page_code; member
827 u8 page_code; member
Dsd.c2388 u8 page_code = buffer[offset] & 0x3F; in sd_read_cache_type() local
2391 if (page_code == 8 || page_code == 6) { in sd_read_cache_type()
2399 modepage = page_code; in sd_read_cache_type()
Dpmcraid.h552 __u8 page_code; member
Dhpsa.c169 void *buff, size_t size, u8 page_code, unsigned char *scsi3addr,
3255 void *buff, size_t size, u8 page_code, unsigned char *scsi3addr, in fill_cmd() argument
3278 if (page_code != 0) { in fill_cmd()
3280 c->Request.CDB[2] = page_code; in fill_cmd()
Dipr.c6913 u32 page_code, u32 len) in ipr_get_mode_page() argument
6927 if (IPR_GET_MODE_PAGE_CODE(mode_hdr) == page_code) { in ipr_get_mode_page()
/drivers/scsi/device_handler/
Dscsi_dh_rdac.c84 u8 page_code; member
96 u8 page_code; member
107 u8 page_code; /* 0xC9 */ member
122 u8 page_code; /* 0xC4 */ member
135 u8 page_code; /* 0xC8 */ member
172 u8 page_code; /* 0xC2 */ member
315 rdac_pg->page_code = RDAC_PAGE_CODE_REDUNDANT_CONTROLLER + 0x40; in rdac_failover_get()
327 rdac_pg->page_code = RDAC_PAGE_CODE_REDUNDANT_CONTROLLER; in rdac_failover_get()
406 static int submit_inquiry(struct scsi_device *sdev, int page_code, in submit_inquiry() argument
420 rq->cmd[2] = page_code; in submit_inquiry()
[all …]
/drivers/block/
Dnvme-scsi.c1657 u8 *mode_page, u8 page_code) in nvme_trans_modesel_get_mp() argument
1664 switch (page_code) { in nvme_trans_modesel_get_mp()
1713 u8 page_code; in nvme_trans_modesel_data() local
1740 page_code = parm_list[index] & MODE_SELECT_PAGE_CODE_MASK; in nvme_trans_modesel_data()
1742 if ((page_code != MODE_PAGE_CACHING) && in nvme_trans_modesel_data()
1743 (page_code != MODE_PAGE_CONTROL) && in nvme_trans_modesel_data()
1744 (page_code != MODE_PAGE_POWER_CONDITION)) { in nvme_trans_modesel_data()
1758 page_code = parm_list[index] & MODE_SELECT_PAGE_CODE_MASK; in nvme_trans_modesel_data()
1761 page_code); in nvme_trans_modesel_data()
2233 u8 page_code; in nvme_trans_inquiry() local
[all …]
Dcciss.c192 __u8 page_code, unsigned char scsi3addr[],
2529 size_t size, __u8 page_code, unsigned char *scsi3addr, in fill_cmd() argument
2552 if (page_code != 0) { in fill_cmd()
2554 c->Request.CDB[2] = page_code; in fill_cmd()
2824 __u8 page_code, unsigned char scsi3addr[], in sendcmd_withirq() argument
2833 return_status = fill_cmd(h, c, cmd, buff, size, page_code, in sendcmd_withirq()
Dpktcdvd.c1571 static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int… in pkt_mode_sense() argument
1576 cgc->cmd[2] = page_code | (page_control << 6); in pkt_mode_sense()
Dcciss_scsi.c49 __u8 page_code, unsigned char *scsi3addr,
/drivers/ide/
Dide-floppy.c167 void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *pc, u8 page_code) in ide_floppy_create_mode_sense_cmd() argument
174 pc->c[2] = page_code; in ide_floppy_create_mode_sense_cmd()
176 switch (page_code) { in ide_floppy_create_mode_sense_cmd()
Dide-tape.c489 static void idetape_create_mode_sense_cmd(struct ide_atapi_pc *pc, u8 page_code) in idetape_create_mode_sense_cmd() argument
493 if (page_code != IDETAPE_BLOCK_DESCRIPTOR) in idetape_create_mode_sense_cmd()
496 pc->c[2] = page_code; in idetape_create_mode_sense_cmd()
507 if (page_code == IDETAPE_BLOCK_DESCRIPTOR) in idetape_create_mode_sense_cmd()
509 else if (page_code == IDETAPE_CAPABILITIES_PAGE) in idetape_create_mode_sense_cmd()
/drivers/usb/storage/
Djumpshot.c391 unsigned char pc, page_code; in jumpshot_handle_mode_sense() local
397 page_code = srb->cmnd[2] & 0x3F; in jumpshot_handle_mode_sense()
423 switch (page_code) { in jumpshot_handle_mode_sense()
Ddatafab.c461 unsigned char pc, page_code; in datafab_handle_mode_sense() local
472 page_code = srb->cmnd[2] & 0x3F; in datafab_handle_mode_sense()
498 switch (page_code) { in datafab_handle_mode_sense()
/drivers/usb/gadget/
Df_mass_storage.c1242 int pc, page_code; in do_mode_sense() local
1252 page_code = common->cmnd[2] & 0x3f; in do_mode_sense()
1258 all_pages = (page_code == 0x3f); in do_mode_sense()
1283 if (page_code == 0x08 || all_pages) { in do_mode_sense()
/drivers/cdrom/
Dcdrom.c1976 int page_code, int page_control) in cdrom_mode_sense() argument
1983 cgc->cmd[2] = page_code | (page_control << 6); in cdrom_mode_sense()