Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/device_handler/
H A 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
173 u8 page_code; /* 0xC2 */ member
280 rdac_pg->page_code = RDAC_PAGE_CODE_REDUNDANT_CONTROLLER + 0x40; in rdac_failover_get()
292 rdac_pg->page_code = RDAC_PAGE_CODE_REDUNDANT_CONTROLLER; in rdac_failover_get()
370 if (inqp->page_code != 0xc8) in get_lun_info()
/openbmc/linux/include/linux/
H A Dcdrom.h129 int page_code, int page_control);
189 __u8 page_code : 6; member
203 __u8 page_code : 6;
/openbmc/qemu/pc-bios/s390-ccw/
H A Dscsi.h85 uint8_t page_code; /* b1 */ member
93 uint8_t page_code; member
/openbmc/linux/drivers/scsi/
H A Dses.c77 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() argument
84 page_code, in ses_recv_diag()
108 if (likely(recv_page_code == page_code)) in ses_recv_diag()
116 page_code, recv_page_code); in ses_recv_diag()
121 static int ses_send_diag(struct scsi_device *sdev, int page_code, in ses_send_diag() argument
H A Dmvumi.c839 switch (hs_header->page_code) { in mvumi_hs_build_page()
899 hs_header->page_code); in mvumi_hs_build_page()
1050 switch (hs_header->page_code) { in mvumi_hs_process_page()
1135 if (hs_header->page_code == HS_PAGE_FIRM_CAP) { in mvumi_handshake()
1153 hs_header->page_code = 0; in mvumi_handshake()
1157 if ((hs_header->page_code + 1) <= mhba->hba_total_pages) { in mvumi_handshake()
1158 hs_header->page_code++; in mvumi_handshake()
1159 if (hs_header->page_code != HS_PAGE_FIRM_CAP) { in mvumi_handshake()
H A Dipr.h761 u8 page_code; member
776 u8 page_code; member
790 u8 page_code; member
798 u8 page_code; member
H A Dmvumi.h380 u8 page_code; member
H A Dpmcraid.h538 __u8 page_code; member
H A Dsd.c2905 u8 page_code = buffer[offset] & 0x3F; in sd_read_cache_type() local
2908 if (page_code == 8 || page_code == 6) { in sd_read_cache_type()
2917 modepage = page_code; in sd_read_cache_type()
H A Dhpsa.c273 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr,
6697 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr, in fill_cmd() argument
6718 if (page_code & VPD_PAGE) { in fill_cmd()
6720 c->Request.CDB[2] = (page_code & 0xff); in fill_cmd()
H A Dipr.c6635 u32 page_code, u32 len) in ipr_get_mode_page() argument
6649 if (IPR_GET_MODE_PAGE_CODE(mode_hdr) == page_code) { in ipr_get_mode_page()
/openbmc/qemu/hw/ufs/
H A Dlu.c129 uint8_t page_code = req->req_upiu.sc.cdb[2]; in ufs_scsi_emulate_vpd_page() local
133 outbuf[buflen++] = page_code; in ufs_scsi_emulate_vpd_page()
138 switch (page_code) { in ufs_scsi_emulate_vpd_page()
/openbmc/linux/drivers/usb/storage/
H A Djumpshot.c382 unsigned char pc, page_code; in jumpshot_handle_mode_sense() local
388 page_code = srb->cmnd[2] & 0x3F; in jumpshot_handle_mode_sense()
414 switch (page_code) { in jumpshot_handle_mode_sense()
H A Ddatafab.c452 unsigned char pc, page_code; in datafab_handle_mode_sense() local
463 page_code = srb->cmnd[2] & 0x3F; in datafab_handle_mode_sense()
489 switch (page_code) { in datafab_handle_mode_sense()
/openbmc/linux/drivers/staging/rts5208/
H A Drtsx_scsi.c742 unsigned char page_code, *buf; in mode_sense() local
776 page_code = srb->cmnd[2] & 0x3f; in mode_sense()
778 if (page_code == 0x3F || page_code == 0x1C || in mode_sense()
779 page_code == 0x00 || in mode_sense()
780 (pro_formatter_flag && page_code == 0x20)) { in mode_sense()
782 if (page_code == 0x3F || page_code == 0x20) { in mode_sense()
797 if (page_code == 0x3F || page_code == 0x20) { in mode_sense()
/openbmc/qemu/hw/ide/
H A Datapi.c710 uint8_t page_code = buf[2]; in cmd_inquiry() local
724 buf[idx++] = page_code; /* Page Code */ in cmd_inquiry()
728 switch (page_code) { in cmd_inquiry()
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi.h1178 u8 page_code; member
1588 u8 page_code; member
1594 u8 page_code; member
H A Dsmartpqi_init.c908 if (buffer->header.page_code != BMIC_SENSE_FEATURE_IO_PAGE || in pqi_get_advanced_raid_bypass_config()
913 buffer->aio_subpage.header.page_code != in pqi_get_advanced_raid_bypass_config()
1614 if (vpd->page_code != CISS_VPD_LV_STATUS) in pqi_get_volume_status()
10757 page_code) != 0); in pqi_verify_structures()
10765 page_code) != 0); in pqi_verify_structures()
/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c1235 int pc, page_code; in do_mode_sense() local
1245 page_code = common->cmnd[2] & 0x3f; in do_mode_sense()
1251 all_pages = (page_code == 0x3f); in do_mode_sense()
1272 if (page_code == 0x08 || all_pages) { in do_mode_sense()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c1199 u32 page_code; in pm80xx_set_thermal_config() local
1209 page_code = THERMAL_PAGE_CODE_7H; in pm80xx_set_thermal_config()
1211 page_code = THERMAL_PAGE_CODE_8H; in pm80xx_set_thermal_config()
1215 (THERMAL_ENABLE << 8) | page_code); in pm80xx_set_thermal_config()
3731 u8 page_code; in mpi_set_phy_profile_resp() local
3739 page_code = (u8)((ppc_phyid & 0xFF00) >> 8); in mpi_set_phy_profile_resp()
3747 if (page_code != SAS_PHY_ANALOG_SETTINGS_PAGE) { in mpi_set_phy_profile_resp()
3749 page_code); in mpi_set_phy_profile_resp()
/openbmc/qemu/hw/scsi/
H A Dscsi-bus.c617 uint8_t page_code = r->req.cmd.buf[2]; in scsi_target_emulate_inquiry() local
618 r->buf[r->len++] = page_code ; /* this page */ in scsi_target_emulate_inquiry()
621 switch (page_code) { in scsi_target_emulate_inquiry()
H A Dscsi-disk.c676 uint8_t page_code = req->cmd.buf[2]; in scsi_disk_emulate_vpd_page() local
680 outbuf[buflen++] = page_code; in scsi_disk_emulate_vpd_page()
685 switch (page_code) { in scsi_disk_emulate_vpd_page()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c1283 int pc, page_code; in do_mode_sense() local
1293 page_code = common->cmnd[2] & 0x3f; in do_mode_sense()
1299 all_pages = (page_code == 0x3f); in do_mode_sense()
1324 if (page_code == 0x08 || all_pages) { in do_mode_sense()
/openbmc/linux/drivers/block/
H A Dpktcdvd.c1507 static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int… in pkt_mode_sense() argument
1512 cgc->cmd[2] = page_code | (page_control << 6); in pkt_mode_sense()
/openbmc/linux/drivers/cdrom/
H A Dcdrom.c1970 int page_code, int page_control) in cdrom_mode_sense() argument
1977 cgc->cmd[2] = page_code | (page_control << 6); in cdrom_mode_sense()