Searched refs:page_code (Results 1 - 18 of 18) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/extras/scsi_id/
H A Dscsi_id.h36 int page_code, char *serial, char *serial_short, int len);
41 enum page_code { enum
H A Dscsi_id.c65 static enum page_code default_page_code;
534 static int per_dev_options(struct sysfs_device *dev_scsi, int *good_bad, int *page_code) argument
542 *page_code = default_page_code;
568 *page_code = PAGE_80;
570 *page_code = PAGE_83;
572 *page_code = PAGE_83_PRE_SPC3;
684 int page_code; local
723 retval = per_dev_options(dev_scsi, &good_dev, &page_code);
724 dbg("per dev options: good %d; page code 0x%x", good_dev, page_code);
728 } else if (scsi_get_serial(dev_scsi, maj_min_dev, page_code,
[all...]
H A Dscsi_serial.c752 int page_code, char *serial, char *serial_short, int len)
768 if (page_code == PAGE_80) {
776 } else if (page_code == PAGE_83) {
784 } else if (page_code == PAGE_83_PRE_SPC3) {
809 } else if (page_code != 0x00) {
810 info("%s: unsupported page code 0x%d", dev_scsi->kernel, page_code);
751 scsi_get_serial(struct sysfs_device *dev_scsi, const char *devname, int page_code, char *serial, char *serial_short, int len) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dosst.h133 unsigned page_code :6; /* Page Code - Should be 0xf */ member in struct:__anon6881
135 unsigned page_code :6; /* Page Code - Should be 0xf */
176 unsigned page_code :6; /* Page Code - Should be 0x11 */ member in struct:__anon6882
178 unsigned page_code :6; /* Page Code - Should be 0x11 */
212 unsigned page_code :6; /* Page code - Should be 0x2a */ member in struct:__anon6883
214 unsigned page_code :6; /* Page code - Should be 0x2a */
302 unsigned page_code :6; /* Page code - Should be 0x30 */ member in struct:__anon6884
304 unsigned page_code :6; /* Page code - Should be 0x30 */
340 unsigned page_code :6; /* Page code - Should be 0x2b */ member in struct:__anon6885
342 unsigned page_code
[all...]
H A Dipr.h624 u8 page_code; member in struct:ipr_inquiry_page3
639 u8 page_code; member in struct:ipr_inquiry_cap
653 u8 page_code; member in struct:ipr_inquiry_page0
H A Dipr.c5571 * @page_code: page code to find
5578 u32 page_code, u32 len)
5592 if (IPR_GET_MODE_PAGE_CODE(mode_hdr) == page_code) {
5577 ipr_get_mode_page(struct ipr_mode_pages *mode_pages, u32 page_code, u32 len) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/
H A Ddatafab.c408 unsigned char pc, page_code; local
419 page_code = srb->cmnd[2] & 0x3F;
445 switch (page_code) {
H A Djumpshot.c340 unsigned char pc, page_code; local
346 page_code = srb->cmnd[2] & 0x3F;
372 switch (page_code) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-cd.h194 __u8 page_code : 6; member in struct:atapi_capabilities_page
196 __u8 page_code : 6; member in struct:atapi_capabilities_page
H A Dide-floppy.c110 unsigned page_code :6; /* Page code - Should be 0x1b */ member in struct:__anon4435
116 unsigned page_code :6; /* Page code - Should be 0x1b */
148 unsigned page_code :6; /* Page code - Should be 0x5 */ member in struct:__anon4436
154 unsigned page_code :6; /* Page code - Should be 0x5 */
1100 static void idefloppy_create_mode_sense_cmd (idefloppy_pc_t *pc, u8 page_code, u8 type) argument
1107 pc->c[2] = page_code + (type << 6);
1109 switch (page_code) {
H A Dide-tape.c382 unsigned page_code :6; /* Page code - Should be 0x2a */ member in struct:__anon4444
423 unsigned page_code :6; /* Page code - Should be 0x30 */ member in struct:__anon4445
916 unsigned page_code :6; /* Page Code - Should be 0xf */ member in struct:__anon4452
935 unsigned page_code :6; /* Page Code - Should be 0x11 */ member in struct:__anon4453
1899 static void idetape_create_mode_sense_cmd (idetape_pc_t *pc, u8 page_code) argument
1903 if (page_code != IDETAPE_BLOCK_DESCRIPTOR)
1905 pc->c[2] = page_code;
1915 if (page_code == IDETAPE_BLOCK_DESCRIPTOR)
1917 else if (page_code == IDETAPE_CAPABILITIES_PAGE)
4172 printk(KERN_INFO "ide-tape: Page code - %d\n",capabilities->page_code);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dcdrom.h1010 int page_code, int page_control);
1068 __u8 page_code : 6; member in struct:__anon9685
1082 __u8 page_code : 6;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dcciss.c167 __u8 page_code, unsigned char *scsi3addr, int cmd_type);
170 __u8 page_code, int cmd_type);
1649 unsigned int log_unit, __u8 page_code,
1688 if (page_code != 0) {
1690 c->Request.CDB[2] = page_code;
1809 unsigned int log_unit, __u8 page_code, int cmd_type)
1821 log_unit, page_code, NULL, cmd_type);
2155 __u8 page_code, unsigned char *scsi3addr, int cmd_type)
2169 log_unit, page_code, scsi3addr, cmd_type);
1646 fill_cmd(CommandList_struct *c, __u8 cmd, int ctlr, void *buff, size_t size, unsigned int use_unit_num, unsigned int log_unit, __u8 page_code, unsigned char *scsi3addr, int cmd_type) argument
1804 sendcmd_withirq(__u8 cmd, int ctlr, void *buff, size_t size, unsigned int use_unit_num, unsigned int log_unit, __u8 page_code, int cmd_type) argument
2151 sendcmd(__u8 cmd, int ctlr, void *buff, size_t size, unsigned int use_unit_num, unsigned int log_unit, __u8 page_code, unsigned char *scsi3addr, int cmd_type) argument
H A Dpktcdvd.c1645 static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int page_control) argument
1650 cgc->cmd[2] = page_code | (page_control << 6);
H A Dacsi.c194 unsigned char page_code; member in struct:__anon4104
H A Dcciss_scsi.c57 __u8 page_code,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/gadget/
H A Dfile_storage.c2070 int pc, page_code; local
2080 page_code = fsg->cmnd[2] & 0x3f;
2086 all_pages = (page_code == 0x3f);
2107 if (page_code == 0x08 || all_pages) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cdrom/
H A Dcdrom.c1917 int page_code, int page_control)
1924 cgc->cmd[2] = page_code | (page_control << 6);
1915 cdrom_mode_sense(struct cdrom_device_info *cdi, struct packet_command *cgc, int page_code, int page_control) argument

Completed in 227 milliseconds