Home
last modified time | relevance | path

Searched refs:page_code (Results 1 – 24 of 24) 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.c86 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() argument
93 page_code, in ses_recv_diag()
107 if (likely(recv_page_code == page_code)) in ses_recv_diag()
115 page_code, recv_page_code); in ses_recv_diag()
120 static int ses_send_diag(struct scsi_device *sdev, int page_code, in ses_send_diag() argument
Dmvumi.c865 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()
Dipr.h826 u8 page_code; member
841 u8 page_code; member
855 u8 page_code; member
863 u8 page_code; member
Dmvumi.h387 u8 page_code; member
Dsd.c2536 u8 page_code = buffer[offset] & 0x3F; in sd_read_cache_type() local
2539 if (page_code == 8 || page_code == 6) { in sd_read_cache_type()
2548 modepage = page_code; in sd_read_cache_type()
Dpmcraid.h552 __u8 page_code; member
Dhpsa.c244 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr,
6873 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr, in fill_cmd() argument
6895 if (page_code & VPD_PAGE) { in fill_cmd()
6897 c->Request.CDB[2] = (page_code & 0xff); in fill_cmd()
Dipr.c7250 u32 page_code, u32 len) in ipr_get_mode_page() argument
7264 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
173 u8 page_code; /* 0xC2 */ member
311 rdac_pg->page_code = RDAC_PAGE_CODE_REDUNDANT_CONTROLLER + 0x40; in rdac_failover_get()
323 rdac_pg->page_code = RDAC_PAGE_CODE_REDUNDANT_CONTROLLER; in rdac_failover_get()
403 static int submit_inquiry(struct scsi_device *sdev, int page_code, in submit_inquiry() argument
417 rq->cmd[2] = page_code; in submit_inquiry()
[all …]
/drivers/nvme/host/
Dscsi.c1321 u8 *mode_page, u8 page_code) in nvme_trans_modesel_get_mp() argument
1327 switch (page_code) { in nvme_trans_modesel_get_mp()
1366 u8 page_code; in nvme_trans_modesel_data() local
1393 page_code = parm_list[index] & MODE_SELECT_PAGE_CODE_MASK; in nvme_trans_modesel_data()
1395 if ((page_code != MODE_PAGE_CACHING) && in nvme_trans_modesel_data()
1396 (page_code != MODE_PAGE_CONTROL) && in nvme_trans_modesel_data()
1397 (page_code != MODE_PAGE_POWER_CONDITION)) { in nvme_trans_modesel_data()
1411 page_code = parm_list[index] & MODE_SELECT_PAGE_CODE_MASK; in nvme_trans_modesel_data()
1414 page_code); in nvme_trans_modesel_data()
1787 u8 page_code; in nvme_trans_inquiry() local
[all …]
/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.c394 unsigned char pc, page_code; in jumpshot_handle_mode_sense() local
400 page_code = srb->cmnd[2] & 0x3F; in jumpshot_handle_mode_sense()
426 switch (page_code) { in jumpshot_handle_mode_sense()
Ddatafab.c465 unsigned char pc, page_code; in datafab_handle_mode_sense() local
476 page_code = srb->cmnd[2] & 0x3F; in datafab_handle_mode_sense()
502 switch (page_code) { in datafab_handle_mode_sense()
/drivers/block/
Dskd_s1120.h311 uint8_t page_code; member
Dcciss.c190 __u8 page_code, unsigned char scsi3addr[],
2536 size_t size, __u8 page_code, unsigned char *scsi3addr, in fill_cmd() argument
2559 if (page_code != 0) { in fill_cmd()
2561 c->Request.CDB[2] = page_code; in fill_cmd()
2831 __u8 page_code, unsigned char scsi3addr[], in sendcmd_withirq() argument
2840 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.c2556 inq.page_code = DRIVER_INQ_EVPD_PAGE_CODE; in skd_do_inq_page_da()
/drivers/scsi/pm8001/
Dpm80xx_hwi.c855 u32 page_code; in pm80xx_set_thermal_config() local
866 page_code = THERMAL_PAGE_CODE_7H; in pm80xx_set_thermal_config()
868 page_code = THERMAL_PAGE_CODE_8H; in pm80xx_set_thermal_config()
871 (THERMAL_ENABLE << 8) | page_code; in pm80xx_set_thermal_config()
3431 u8 page_code; in mpi_set_phy_profile_resp() local
3437 page_code = (u8)((ppc_phyid & 0xFF00) >> 8); in mpi_set_phy_profile_resp()
3445 if (page_code != SAS_PHY_ANALOG_SETTINGS_PAGE) { in mpi_set_phy_profile_resp()
3448 page_code)); in mpi_set_phy_profile_resp()
4571 u32 page_code, i; in pm8001_set_phy_profile() local
4573 page_code = SAS_PHY_ANALOG_SETTINGS_PAGE; in pm8001_set_phy_profile()
/drivers/usb/gadget/function/
Df_mass_storage.c1249 int pc, page_code; in do_mode_sense() local
1259 page_code = common->cmnd[2] & 0x3f; in do_mode_sense()
1265 all_pages = (page_code == 0x3f); in do_mode_sense()
1290 if (page_code == 0x08 || all_pages) { in do_mode_sense()
/drivers/scsi/smartpqi/
Dsmartpqi.h780 u8 page_code; member
/drivers/cdrom/
Dcdrom.c1996 int page_code, int page_control) in cdrom_mode_sense() argument
2003 cgc->cmd[2] = page_code | (page_control << 6); in cdrom_mode_sense()