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.c84 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() argument
91 page_code, in ses_recv_diag()
105 if (likely(recv_page_code == page_code)) in ses_recv_diag()
113 page_code, recv_page_code); in ses_recv_diag()
118 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.h821 u8 page_code; member
836 u8 page_code; member
850 u8 page_code; member
858 u8 page_code; member
Dmvumi.h387 u8 page_code; member
Dsd.c2535 u8 page_code = buffer[offset] & 0x3F; in sd_read_cache_type() local
2538 if (page_code == 8 || page_code == 6) { in sd_read_cache_type()
2547 modepage = page_code; in sd_read_cache_type()
Dpmcraid.h552 __u8 page_code; member
Dhpsa.c243 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr,
6603 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr, in fill_cmd() argument
6625 if (page_code & VPD_PAGE) { in fill_cmd()
6627 c->Request.CDB[2] = (page_code & 0xff); in fill_cmd()
Dipr.c7164 u32 page_code, u32 len) in ipr_get_mode_page() argument
7178 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
308 rdac_pg->page_code = RDAC_PAGE_CODE_REDUNDANT_CONTROLLER + 0x40; in rdac_failover_get()
320 rdac_pg->page_code = RDAC_PAGE_CODE_REDUNDANT_CONTROLLER; in rdac_failover_get()
399 static int submit_inquiry(struct scsi_device *sdev, int page_code, in submit_inquiry() argument
413 rq->cmd[2] = page_code; in submit_inquiry()
[all …]
/drivers/nvme/host/
Dscsi.c1363 u8 *mode_page, u8 page_code) in nvme_trans_modesel_get_mp() argument
1370 switch (page_code) { in nvme_trans_modesel_get_mp()
1409 u8 page_code; in nvme_trans_modesel_data() local
1436 page_code = parm_list[index] & MODE_SELECT_PAGE_CODE_MASK; in nvme_trans_modesel_data()
1438 if ((page_code != MODE_PAGE_CACHING) && in nvme_trans_modesel_data()
1439 (page_code != MODE_PAGE_CONTROL) && in nvme_trans_modesel_data()
1440 (page_code != MODE_PAGE_POWER_CONDITION)) { in nvme_trans_modesel_data()
1454 page_code = parm_list[index] & MODE_SELECT_PAGE_CODE_MASK; in nvme_trans_modesel_data()
1457 page_code); in nvme_trans_modesel_data()
1832 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.c393 unsigned char pc, page_code; in jumpshot_handle_mode_sense() local
399 page_code = srb->cmnd[2] & 0x3F; in jumpshot_handle_mode_sense()
425 switch (page_code) { in jumpshot_handle_mode_sense()
Ddatafab.c464 unsigned char pc, page_code; in datafab_handle_mode_sense() local
475 page_code = srb->cmnd[2] & 0x3F; in datafab_handle_mode_sense()
501 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[],
2543 size_t size, __u8 page_code, unsigned char *scsi3addr, in fill_cmd() argument
2566 if (page_code != 0) { in fill_cmd()
2568 c->Request.CDB[2] = page_code; in fill_cmd()
2838 __u8 page_code, unsigned char scsi3addr[], in sendcmd_withirq() argument
2847 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/scsi/pm8001/
Dpm80xx_hwi.c858 u32 page_code; in pm80xx_set_thermal_config() local
869 page_code = THERMAL_PAGE_CODE_7H; in pm80xx_set_thermal_config()
871 page_code = THERMAL_PAGE_CODE_8H; in pm80xx_set_thermal_config()
874 (THERMAL_ENABLE << 8) | page_code; in pm80xx_set_thermal_config()
3443 u8 page_code; in mpi_set_phy_profile_resp() local
3449 page_code = (u8)((ppc_phyid & 0xFF00) >> 8); in mpi_set_phy_profile_resp()
3457 if (page_code != SAS_PHY_ANALOG_SETTINGS_PAGE) { in mpi_set_phy_profile_resp()
3460 page_code)); in mpi_set_phy_profile_resp()
4641 u32 page_code, i; in pm8001_set_phy_profile() local
4643 page_code = SAS_PHY_ANALOG_SETTINGS_PAGE; in pm8001_set_phy_profile()
/drivers/usb/gadget/function/
Df_mass_storage.c1250 int pc, page_code; in do_mode_sense() local
1260 page_code = common->cmnd[2] & 0x3f; in do_mode_sense()
1266 all_pages = (page_code == 0x3f); in do_mode_sense()
1291 if (page_code == 0x08 || all_pages) { in do_mode_sense()
/drivers/cdrom/
Dcdrom.c2001 int page_code, int page_control) in cdrom_mode_sense() argument
2008 cgc->cmd[2] = page_code | (page_control << 6); in cdrom_mode_sense()