| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | libata-pmp.c | 223 static int sata_pmp_read_gscr(struct ata_device *dev, u32 *gscr) in sata_pmp_read_gscr() argument 232 err_mask = sata_pmp_read(dev->link, reg, &gscr[reg]); in sata_pmp_read_gscr() 243 static const char *sata_pmp_spec_rev_str(const u32 *gscr) in sata_pmp_spec_rev_str() argument 245 u32 rev = gscr[SATA_PMP_GSCR_REV]; in sata_pmp_spec_rev_str() 261 u32 *gscr = dev->gscr; in sata_pmp_configure() local 262 u16 vendor = sata_pmp_gscr_vendor(gscr); in sata_pmp_configure() 263 u16 devid = sata_pmp_gscr_devid(gscr); in sata_pmp_configure() 268 nr_ports = sata_pmp_gscr_ports(gscr); in sata_pmp_configure() 277 (gscr[SATA_PMP_GSCR_FEAT] & SATA_PMP_FEAT_NOTIFY)) in sata_pmp_configure() 316 sata_pmp_spec_rev_str(gscr), vendor, devid, in sata_pmp_configure() [all …]
|
| H A D | libata-transport.c | 561 ata_dev->gscr[i], in show_ata_dev_gscr() 569 static DEVICE_ATTR(gscr, S_IRUGO, show_ata_dev_gscr, NULL); 770 SETUP_DEV_ATTRIBUTE(gscr); in ata_attach_transport()
|
| H A D | sata_sil24.c | 912 u32 *gscr = ap->link.device->gscr; in sil24_pmp_attach() local 917 if (sata_pmp_gscr_vendor(gscr) == 0x11ab && in sil24_pmp_attach() 918 sata_pmp_gscr_devid(gscr) == 0x4140) { in sil24_pmp_attach()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | libata.h | 643 #define sata_pmp_gscr_vendor(gscr) ((gscr)[SATA_PMP_GSCR_PROD_ID] & 0xffff) argument 644 #define sata_pmp_gscr_devid(gscr) ((gscr)[SATA_PMP_GSCR_PROD_ID] >> 16) argument 645 #define sata_pmp_gscr_rev(gscr) (((gscr)[SATA_PMP_GSCR_REV] >> 8) & 0xff) argument 646 #define sata_pmp_gscr_ports(gscr) ((gscr)[SATA_PMP_GSCR_PORT_INFO] & 0xf) argument
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | ata.h | 1138 #define sata_pmp_gscr_vendor(gscr) ((gscr)[SATA_PMP_GSCR_PROD_ID] & 0xffff) argument 1139 #define sata_pmp_gscr_devid(gscr) ((gscr)[SATA_PMP_GSCR_PROD_ID] >> 16) argument 1140 #define sata_pmp_gscr_rev(gscr) (((gscr)[SATA_PMP_GSCR_REV] >> 8) & 0xff) argument 1141 #define sata_pmp_gscr_ports(gscr) ((gscr)[SATA_PMP_GSCR_PORT_INFO] & 0xf) argument
|
| H A D | libata.h | 717 u32 gscr[SATA_PMP_GSCR_DWORDS]; /* PMP GSCR block */ member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/52xx/ |
| H A D | mpc52xx_pci.c | 78 u32 gscr; /* PCI + 0x60 */ member 320 tmp = in_be32(&pci_regs->gscr); in mpc52xx_pci_setup() 326 out_be32(&pci_regs->gscr, tmp | MPC52xx_PCI_GSCR_PR); in mpc52xx_pci_setup() 331 out_be32(&pci_regs->gscr, tmp & ~MPC52xx_PCI_GSCR_PR); in mpc52xx_pci_setup()
|
| /OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf5445x/ |
| H A D | pci.c | 63 setbits_be32(&pci->gscr, PCI_GSCR_PR); in pci_mcf5445x_init() 122 clrbits_be32(&pci->gscr, PCI_GSCR_PR); in pci_mcf5445x_init()
|
| /OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf547x_8x/ |
| H A D | pci.c | 89 setbits_be32(&pci->gscr, PCI_GSCR_PR); in pci_mcf547x_8x_init() 124 clrbits_be32(&pci->gscr, PCI_GSCR_PR); in pci_mcf547x_8x_init()
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-ata | 75 What: /sys/class/ata_device/devX[.Y].Z/gscr 89 gscr: (RO) Cached result of the dump of PM GSCR
|
| /OK3568_Linux_fs/u-boot/drivers/ata/ |
| H A D | sata_dwc.h | 380 u32 gscr[SATA_PMP_GSCR_DWORDS]; member
|
| /OK3568_Linux_fs/u-boot/arch/m68k/include/asm/ |
| H A D | immap_547x_8x.h | 229 u32 gscr; /* 0x60 Global Status / Control */ member
|
| H A D | immap_5445x.h | 265 u32 gscr; /* 0x60 Global Status / Control Register */ member
|