Searched refs:gscr (Results 1 – 3 of 3) sorted by relevance
/drivers/ata/ |
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 …]
|
D | libata-transport.c | 568 ata_dev->gscr[i], in show_ata_dev_gscr() 576 static DEVICE_ATTR(gscr, S_IRUGO, show_ata_dev_gscr, NULL); 777 SETUP_DEV_ATTRIBUTE(gscr); in ata_attach_transport()
|
D | sata_sil24.c | 915 u32 *gscr = ap->link.device->gscr; in sil24_pmp_attach() local 920 if (sata_pmp_gscr_vendor(gscr) == 0x11ab && in sil24_pmp_attach() 921 sata_pmp_gscr_devid(gscr) == 0x4140) { in sil24_pmp_attach()
|