Lines Matching +defs:val +defs:socket
84 static inline u32 cb_readl(struct yenta_socket *socket, unsigned reg) in cb_readl()
86 u32 val = readl(socket->base + reg); in cb_readl() local
91 static inline void cb_writel(struct yenta_socket *socket, unsigned reg, u32 val) in cb_writel()
98 static inline u8 config_readb(struct yenta_socket *socket, unsigned offset) in config_readb()
100 u8 val; in config_readb() local
106 static inline u16 config_readw(struct yenta_socket *socket, unsigned offset) in config_readw()
108 u16 val; in config_readw() local
114 static inline u32 config_readl(struct yenta_socket *socket, unsigned offset) in config_readl()
116 u32 val; in config_readl() local
122 static inline void config_writeb(struct yenta_socket *socket, unsigned offset, u8 val) in config_writeb()
128 static inline void config_writew(struct yenta_socket *socket, unsigned offset, u16 val) in config_writew()
134 static inline void config_writel(struct yenta_socket *socket, unsigned offset, u32 val) in config_writel()
140 static inline u8 exca_readb(struct yenta_socket *socket, unsigned reg) in exca_readb()
142 u8 val = readb(socket->base + 0x800 + reg); in exca_readb() local
158 static inline void exca_writeb(struct yenta_socket *socket, unsigned reg, u8 val) in exca_writeb()
165 static void exca_writew(struct yenta_socket *socket, unsigned reg, u16 val) in exca_writew()
178 struct yenta_socket *socket = dev_get_drvdata(yentadev); in show_yenta_registers() local
183 unsigned val; in show_yenta_registers() local
192 unsigned char val; in show_yenta_registers() local
215 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in yenta_get_status() local
216 unsigned int val; in yenta_get_status() local
248 static void yenta_set_power(struct yenta_socket *socket, socket_state_t *state) in yenta_set_power()
332 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in yenta_set_socket() local
407 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in yenta_set_io_map() local
444 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in yenta_set_mem_map() local
511 struct yenta_socket *socket = (struct yenta_socket *) dev_id; in yenta_interrupt() local
542 struct yenta_socket *socket = from_timer(socket, t, poll_timer); in yenta_interrupt_wrapper() local
549 static void yenta_clear_maps(struct yenta_socket *socket) in yenta_clear_maps()
568 static void yenta_interrogate(struct yenta_socket *socket) in yenta_interrogate()
582 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in yenta_sock_init() local
603 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in yenta_sock_suspend() local
672 static int yenta_search_res(struct yenta_socket *socket, struct resource *res, in yenta_search_res()
692 static int yenta_allocate_res(struct yenta_socket *socket, int nr, unsigned type, int addr_start, i… in yenta_allocate_res()
750 static void yenta_free_res(struct yenta_socket *socket, int nr) in yenta_free_res()
765 static void yenta_allocate_resources(struct yenta_socket *socket) in yenta_allocate_resources()
788 static void yenta_free_resources(struct yenta_socket *socket) in yenta_free_resources()
926 static unsigned int yenta_probe_irq(struct yenta_socket *socket, u32 isa_irq_mask) in yenta_probe_irq()
929 unsigned long val; in yenta_probe_irq() local
968 struct yenta_socket *socket = (struct yenta_socket *) dev_id; in yenta_probe_handler() local
986 static int yenta_probe_cb_irq(struct yenta_socket *socket) in yenta_probe_cb_irq()
1028 static void yenta_get_socket_capabilities(struct yenta_socket *socket, u32 isa_irq_mask) in yenta_get_socket_capabilities()
1043 static void yenta_config_init(struct yenta_socket *socket) in yenta_config_init()
1160 struct yenta_socket *socket; in yenta_probe() local
1306 struct yenta_socket *socket = pci_get_drvdata(pdev); in yenta_dev_suspend_noirq() local
1325 struct yenta_socket *socket = pci_get_drvdata(pdev); in yenta_dev_resume_noirq() local