Home
last modified time | relevance | path

Searched refs:page_code (Results 1 – 23 of 23) 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.c71 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() argument
77 page_code, in ses_recv_diag()
87 static int ses_send_diag(struct scsi_device *sdev, int page_code, in ses_send_diag() argument
Dmvumi.c864 switch (hs_header->page_code) { in mvumi_hs_build_page()
925 hs_header->page_code); in mvumi_hs_build_page()
1076 switch (hs_header->page_code) { in mvumi_hs_process_page()
1161 if (hs_header->page_code == HS_PAGE_FIRM_CAP) { in mvumi_handshake()
1179 hs_header->page_code = 0; in mvumi_handshake()
1183 if ((hs_header->page_code + 1) <= mhba->hba_total_pages) { in mvumi_handshake()
1184 hs_header->page_code++; in mvumi_handshake()
1185 if (hs_header->page_code != HS_PAGE_FIRM_CAP) { in mvumi_handshake()
Dmvumi.h387 u8 page_code; member
Dipr.h811 u8 page_code; member
826 u8 page_code; member
840 u8 page_code; member
Dsd.c2453 u8 page_code = buffer[offset] & 0x3F; in sd_read_cache_type() local
2456 if (page_code == 8 || page_code == 6) { in sd_read_cache_type()
2465 modepage = page_code; in sd_read_cache_type()
Dpmcraid.h552 __u8 page_code; member
Dhpsa.c209 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr,
5266 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr, in fill_cmd() argument
5289 if (page_code & VPD_PAGE) { in fill_cmd()
5291 c->Request.CDB[2] = (page_code & 0xff); in fill_cmd()
Dipr.c7101 u32 page_code, u32 len) in ipr_get_mode_page() argument
7115 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.c1652 u8 *mode_page, u8 page_code) in nvme_trans_modesel_get_mp() argument
1659 switch (page_code) { in nvme_trans_modesel_get_mp()
1708 u8 page_code; in nvme_trans_modesel_data() local
1735 page_code = parm_list[index] & MODE_SELECT_PAGE_CODE_MASK; in nvme_trans_modesel_data()
1737 if ((page_code != MODE_PAGE_CACHING) && in nvme_trans_modesel_data()
1738 (page_code != MODE_PAGE_CONTROL) && in nvme_trans_modesel_data()
1739 (page_code != MODE_PAGE_POWER_CONDITION)) { in nvme_trans_modesel_data()
1753 page_code = parm_list[index] & MODE_SELECT_PAGE_CODE_MASK; in nvme_trans_modesel_data()
1756 page_code); in nvme_trans_modesel_data()
2217 u8 page_code; in nvme_trans_inquiry() local
[all …]
Dskd_s1120.h311 uint8_t page_code; member
Dcciss.c192 __u8 page_code, unsigned char scsi3addr[],
2527 size_t size, __u8 page_code, unsigned char *scsi3addr, in fill_cmd() argument
2550 if (page_code != 0) { in fill_cmd()
2552 c->Request.CDB[2] = page_code; in fill_cmd()
2822 __u8 page_code, unsigned char scsi3addr[], in sendcmd_withirq() argument
2831 return_status = fill_cmd(h, c, cmd, buff, size, page_code, in sendcmd_withirq()
Dpktcdvd.c1566 static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int… in pkt_mode_sense() argument
1571 cgc->cmd[2] = page_code | (page_control << 6); in pkt_mode_sense()
Dcciss_scsi.c49 __u8 page_code, unsigned char *scsi3addr,
Dskd_main.c2607 inq.page_code = DRIVER_INQ_EVPD_PAGE_CODE; in skd_do_inq_page_da()
/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/scsi/pm8001/
Dpm80xx_hwi.c3375 u8 page_code; in mpi_set_phy_profile_resp() local
3381 page_code = (u8)((ppc_phyid & 0xFF00) >> 8); in mpi_set_phy_profile_resp()
3389 if (page_code != SAS_PHY_ANALOG_SETTINGS_PAGE) { in mpi_set_phy_profile_resp()
3392 page_code)); in mpi_set_phy_profile_resp()
4515 u32 page_code, i; in pm8001_set_phy_profile() local
4517 page_code = SAS_PHY_ANALOG_SETTINGS_PAGE; in pm8001_set_phy_profile()
/drivers/usb/gadget/function/
Df_mass_storage.c1241 int pc, page_code; in do_mode_sense() local
1251 page_code = common->cmnd[2] & 0x3f; in do_mode_sense()
1257 all_pages = (page_code == 0x3f); in do_mode_sense()
1282 if (page_code == 0x08 || all_pages) { in do_mode_sense()
/drivers/cdrom/
Dcdrom.c1995 int page_code, int page_control) in cdrom_mode_sense() argument
2002 cgc->cmd[2] = page_code | (page_control << 6); in cdrom_mode_sense()