atp               260 drivers/input/mouse/appletouch.c static int atp_geyser_init(struct atp *dev)
atp               320 drivers/input/mouse/appletouch.c 	struct atp *dev = container_of(work, struct atp, work);
atp               333 drivers/input/mouse/appletouch.c static int atp_calculate_abs(struct atp *dev, int offset, int nb_sensors,
atp               447 drivers/input/mouse/appletouch.c 	struct atp *dev = urb->context;
atp               489 drivers/input/mouse/appletouch.c static void atp_detect_size(struct atp *dev)
atp               520 drivers/input/mouse/appletouch.c 	struct atp *dev = urb->context;
atp               660 drivers/input/mouse/appletouch.c 	struct atp *dev = urb->context;
atp               798 drivers/input/mouse/appletouch.c 	struct atp *dev = input_get_drvdata(input);
atp               809 drivers/input/mouse/appletouch.c 	struct atp *dev = input_get_drvdata(input);
atp               816 drivers/input/mouse/appletouch.c static int atp_handle_geyser(struct atp *dev)
atp               832 drivers/input/mouse/appletouch.c 	struct atp *dev;
atp               858 drivers/input/mouse/appletouch.c 	dev = kzalloc(sizeof(struct atp), GFP_KERNEL);
atp               944 drivers/input/mouse/appletouch.c 	struct atp *dev = usb_get_intfdata(iface);
atp               958 drivers/input/mouse/appletouch.c static int atp_recover(struct atp *dev)
atp               974 drivers/input/mouse/appletouch.c 	struct atp *dev = usb_get_intfdata(iface);
atp               982 drivers/input/mouse/appletouch.c 	struct atp *dev = usb_get_intfdata(iface);
atp               992 drivers/input/mouse/appletouch.c 	struct atp *dev = usb_get_intfdata(iface);
atp                47 drivers/scsi/atp870u.c static inline void atp_writeb_base(struct atp_unit *atp, u8 reg, u8 val)
atp                49 drivers/scsi/atp870u.c 	outb(val, atp->baseport + reg);
atp                52 drivers/scsi/atp870u.c static inline void atp_writew_base(struct atp_unit *atp, u8 reg, u16 val)
atp                54 drivers/scsi/atp870u.c 	outw(val, atp->baseport + reg);
atp                57 drivers/scsi/atp870u.c static inline void atp_writeb_io(struct atp_unit *atp, u8 channel, u8 reg, u8 val)
atp                59 drivers/scsi/atp870u.c 	outb(val, atp->ioport[channel] + reg);
atp                62 drivers/scsi/atp870u.c static inline void atp_writew_io(struct atp_unit *atp, u8 channel, u8 reg, u16 val)
atp                64 drivers/scsi/atp870u.c 	outw(val, atp->ioport[channel] + reg);
atp                67 drivers/scsi/atp870u.c static inline void atp_writeb_pci(struct atp_unit *atp, u8 channel, u8 reg, u8 val)
atp                69 drivers/scsi/atp870u.c 	outb(val, atp->pciport[channel] + reg);
atp                72 drivers/scsi/atp870u.c static inline void atp_writel_pci(struct atp_unit *atp, u8 channel, u8 reg, u32 val)
atp                74 drivers/scsi/atp870u.c 	outl(val, atp->pciport[channel] + reg);
atp                77 drivers/scsi/atp870u.c static inline u8 atp_readb_base(struct atp_unit *atp, u8 reg)
atp                79 drivers/scsi/atp870u.c 	return inb(atp->baseport + reg);
atp                82 drivers/scsi/atp870u.c static inline u16 atp_readw_base(struct atp_unit *atp, u8 reg)
atp                84 drivers/scsi/atp870u.c 	return inw(atp->baseport + reg);
atp                87 drivers/scsi/atp870u.c static inline u32 atp_readl_base(struct atp_unit *atp, u8 reg)
atp                89 drivers/scsi/atp870u.c 	return inl(atp->baseport + reg);
atp                92 drivers/scsi/atp870u.c static inline u8 atp_readb_io(struct atp_unit *atp, u8 channel, u8 reg)
atp                94 drivers/scsi/atp870u.c 	return inb(atp->ioport[channel] + reg);
atp                97 drivers/scsi/atp870u.c static inline u16 atp_readw_io(struct atp_unit *atp, u8 channel, u8 reg)
atp                99 drivers/scsi/atp870u.c 	return inw(atp->ioport[channel] + reg);
atp               102 drivers/scsi/atp870u.c static inline u8 atp_readb_pci(struct atp_unit *atp, u8 channel, u8 reg)
atp               104 drivers/scsi/atp870u.c 	return inb(atp->pciport[channel] + reg);
atp               107 drivers/scsi/atp870u.c static inline bool is880(struct atp_unit *atp)
atp               109 drivers/scsi/atp870u.c 	return atp->pdev->device == ATP880_DEVID1 ||
atp               110 drivers/scsi/atp870u.c 	       atp->pdev->device == ATP880_DEVID2;
atp               113 drivers/scsi/atp870u.c static inline bool is885(struct atp_unit *atp)
atp               115 drivers/scsi/atp870u.c 	return atp->pdev->device == ATP885_DEVID;
atp              1240 drivers/scsi/atp870u.c static void atp_set_host_id(struct atp_unit *atp, u8 c, u8 host_id)
atp              1242 drivers/scsi/atp870u.c 	atp_writeb_io(atp, c, 0, host_id | 0x08);
atp              1243 drivers/scsi/atp870u.c 	atp_writeb_io(atp, c, 0x18, 0);
atp              1244 drivers/scsi/atp870u.c 	while ((atp_readb_io(atp, c, 0x1f) & 0x80) == 0)
atp              1246 drivers/scsi/atp870u.c 	atp_readb_io(atp, c, 0x17);
atp              1247 drivers/scsi/atp870u.c 	atp_writeb_io(atp, c, 1, 8);
atp              1248 drivers/scsi/atp870u.c 	atp_writeb_io(atp, c, 2, 0x7f);
atp              1249 drivers/scsi/atp870u.c 	atp_writeb_io(atp, c, 0x11, 0x20);
atp                48 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_attr_shortform *atp;
atp               101 fs/xfs/libxfs/xfs_inode_fork.c 		atp = (xfs_attr_shortform_t *)XFS_DFORK_APTR(dip);
atp               102 fs/xfs/libxfs/xfs_inode_fork.c 		size = be16_to_cpu(atp->hdr.totsize);