Searched refs:he_dev (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/atm/ |
D | he.c | 88 #define hprintk(fmt,args...) printk(KERN_ERR DEV_LABEL "%d: " fmt, he_dev->number , ##args) 91 #define HPRINTK(fmt,args...) printk(KERN_DEBUG DEV_LABEL "%d: " fmt, he_dev->number , ##args) 106 static void he_stop(struct he_dev *dev); 110 static u8 read_prom_byte(struct he_dev *he_dev, int addr); 114 static struct he_dev *he_devs; 182 he_writel_internal(struct he_dev *he_dev, unsigned val, unsigned addr, in he_writel_internal() argument 185 he_writel(he_dev, val, CON_DAT); in he_writel_internal() 186 (void) he_readl(he_dev, CON_DAT); /* flush posted writes */ in he_writel_internal() 187 he_writel(he_dev, flags | CON_CTL_WRITE | CON_CTL_ADDR(addr), CON_CTL); in he_writel_internal() 188 while (he_readl(he_dev, CON_CTL) & CON_CTL_BUSY); in he_writel_internal() [all …]
|
D | he.h | 252 struct he_dev { struct 314 struct he_dev *next; argument 345 #define HE_DEV(dev) ((struct he_dev *) (dev)->dev_data)
|