Lines Matching refs:atp_unit

44 static void send_s870(struct atp_unit *dev,unsigned char c);
45 static void atp_is(struct atp_unit *dev, unsigned char c, bool wide_chip,
48 static inline void atp_writeb_base(struct atp_unit *atp, u8 reg, u8 val) in atp_writeb_base()
53 static inline void atp_writew_base(struct atp_unit *atp, u8 reg, u16 val) in atp_writew_base()
58 static inline void atp_writeb_io(struct atp_unit *atp, u8 channel, u8 reg, u8 val) in atp_writeb_io()
63 static inline void atp_writew_io(struct atp_unit *atp, u8 channel, u8 reg, u16 val) in atp_writew_io()
68 static inline void atp_writeb_pci(struct atp_unit *atp, u8 channel, u8 reg, u8 val) in atp_writeb_pci()
73 static inline void atp_writel_pci(struct atp_unit *atp, u8 channel, u8 reg, u32 val) in atp_writel_pci()
78 static inline u8 atp_readb_base(struct atp_unit *atp, u8 reg) in atp_readb_base()
83 static inline u16 atp_readw_base(struct atp_unit *atp, u8 reg) in atp_readw_base()
88 static inline u32 atp_readl_base(struct atp_unit *atp, u8 reg) in atp_readl_base()
93 static inline u8 atp_readb_io(struct atp_unit *atp, u8 channel, u8 reg) in atp_readb_io()
98 static inline u16 atp_readw_io(struct atp_unit *atp, u8 channel, u8 reg) in atp_readw_io()
103 static inline u8 atp_readb_pci(struct atp_unit *atp, u8 channel, u8 reg) in atp_readb_pci()
108 static inline bool is880(struct atp_unit *atp) in is880()
114 static inline bool is885(struct atp_unit *atp) in is885()
131 struct atp_unit *dev = (struct atp_unit *)&host->hostdata; in atp870u_intr_handle()
625 struct atp_unit *dev; in atp870u_queuecommand_lck()
641 dev = (struct atp_unit *)&host->hostdata; in atp870u_queuecommand_lck()
710 static void send_s870(struct atp_unit *dev, unsigned char c) in DEF_SCSI_QCMD()
981 static unsigned char fun_scam(struct atp_unit *dev, unsigned short int *val) in fun_scam()
1021 struct atp_unit *dev = (struct atp_unit *)&host->hostdata; in tscam()
1238 struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata; in atp870u_free_tables()
1254 struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata; in atp870u_init_tables()
1293 static void atp_set_host_id(struct atp_unit *atp, u8 c, u8 host_id) in atp_set_host_id()
1307 struct atp_unit *atpdev = shost_priv(shpnt); in atp870_init()
1359 struct atp_unit *atpdev = shost_priv(shpnt); in atp880_init()
1445 struct atp_unit *atpdev = shost_priv(shpnt); in atp885_init()
1558 struct atp_unit *atpdev; in atp870u_probe()
1582 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit)); in atp870u_probe()
1647 struct atp_unit *dev; in atp870u_abort()
1651 dev = (struct atp_unit *)&host->hostdata; in atp870u_abort()
1717 struct atp_unit *devext = pci_get_drvdata(pdev); in atp870u_remove()
1771 static void atp_is(struct atp_unit *dev, unsigned char c, bool wide_chip, in atp_is()