Searched refs:he_dev (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/atm/ |
D | he.c | 118 #define hprintk(fmt,args...) printk(KERN_ERR DEV_LABEL "%d: " fmt, he_dev->number , ##args) 122 #define HPRINTK(fmt,args...) printk(KERN_DEBUG DEV_LABEL "%d: " fmt, he_dev->number , ##args) 143 static void he_stop(struct he_dev *dev); 147 static u8 read_prom_byte(struct he_dev *he_dev, int addr); 151 struct he_dev *he_devs = NULL; 178 he_writel_internal(struct he_dev *he_dev, unsigned val, unsigned addr, in he_writel_internal() argument 181 he_writel(he_dev, val, CON_DAT); in he_writel_internal() 182 (void) he_readl(he_dev, CON_DAT); /* flush posted writes */ in he_writel_internal() 183 he_writel(he_dev, flags | CON_CTL_WRITE | CON_CTL_ADDR(addr), CON_CTL); in he_writel_internal() 184 while (he_readl(he_dev, CON_CTL) & CON_CTL_BUSY); in he_writel_internal() [all …]
|
D | he.h | 265 struct he_dev { struct 355 struct he_dev *next; argument 396 #define HE_DEV(dev) ((struct he_dev *) (dev)->dev_data)
|