Home
last modified time | relevance | path

Searched refs:gscr (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/ata/
H A Dlibata-pmp.c223 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 Dlibata-transport.c466 ata_dev->gscr[i], in show_ata_dev_gscr()
474 static DEVICE_ATTR(gscr, S_IRUGO, show_ata_dev_gscr, NULL);
805 SETUP_DEV_ATTRIBUTE(gscr); in ata_attach_transport()
H A Dsata_sil24.c911 u32 *gscr = ap->link.device->gscr; in sil24_pmp_attach() local
916 if (sata_pmp_gscr_vendor(gscr) == 0x11ab && in sil24_pmp_attach()
917 sata_pmp_gscr_devid(gscr) == 0x4140) { in sil24_pmp_attach()
/linux/include/linux/
H A Data.h1046 #define sata_pmp_gscr_vendor(gscr) ((gscr)[SATA_PMP_GSCR_PROD_ID] & 0xffff) argument
1047 #define sata_pmp_gscr_devid(gscr) ((gscr)[SATA_PMP_GSCR_PROD_ID] >> 16) argument
1048 #define sata_pmp_gscr_rev(gscr) (((gscr)[SATA_PMP_GSCR_REV] >> 8) & 0xff) argument
1049 #define sata_pmp_gscr_ports(gscr) ((gscr)[SATA_PMP_GSCR_PORT_INFO] & 0xf) argument
H A Dlibata.h761 u32 gscr[SATA_PMP_GSCR_DWORDS]; /* PMP GSCR block */ member
/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pci.c79 u32 gscr; /* PCI + 0x60 */ member
313 tmp = in_be32(&pci_regs->gscr); in mpc52xx_pci_setup()
319 out_be32(&pci_regs->gscr, tmp | MPC52xx_PCI_GSCR_PR); in mpc52xx_pci_setup()
324 out_be32(&pci_regs->gscr, tmp & ~MPC52xx_PCI_GSCR_PR); in mpc52xx_pci_setup()
/linux/Documentation/ABI/testing/
H A Dsysfs-ata75 What: /sys/class/ata_device/devX[.Y].Z/gscr
89 gscr: (RO) Cached result of the dump of PM GSCR