Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ata/
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 …]
Dlibata-transport.c556 ata_dev->gscr[i], in show_ata_dev_gscr()
564 static DEVICE_ATTR(gscr, S_IRUGO, show_ata_dev_gscr, NULL);
759 SETUP_DEV_ATTRIBUTE(gscr); in ata_attach_transport()
Dsata_sil24.c912 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()
/kernel/linux/linux-5.10/include/linux/
Data.h1135 #define sata_pmp_gscr_vendor(gscr) ((gscr)[SATA_PMP_GSCR_PROD_ID] & 0xffff) argument
1136 #define sata_pmp_gscr_devid(gscr) ((gscr)[SATA_PMP_GSCR_PROD_ID] >> 16) argument
1137 #define sata_pmp_gscr_rev(gscr) (((gscr)[SATA_PMP_GSCR_REV] >> 8) & 0xff) argument
1138 #define sata_pmp_gscr_ports(gscr) ((gscr)[SATA_PMP_GSCR_PORT_INFO] & 0xf) argument
Dlibata.h717 u32 gscr[SATA_PMP_GSCR_DWORDS]; /* PMP GSCR block */ member
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dmpc52xx_pci.c78 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()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-ata75 What: /sys/class/ata_device/devX[.Y].Z/gscr
89 gscr: (RO) Cached result of the dump of PM GSCR