extif 20 drivers/ssb/driver_extif.c static inline u32 extif_read32(struct ssb_extif *extif, u16 offset) extif 22 drivers/ssb/driver_extif.c return ssb_read32(extif->dev, offset); extif 25 drivers/ssb/driver_extif.c static inline void extif_write32(struct ssb_extif *extif, u16 offset, u32 value) extif 27 drivers/ssb/driver_extif.c ssb_write32(extif->dev, offset, value); extif 30 drivers/ssb/driver_extif.c static inline u32 extif_write32_masked(struct ssb_extif *extif, u16 offset, extif 34 drivers/ssb/driver_extif.c value |= extif_read32(extif, offset) & ~mask; extif 35 drivers/ssb/driver_extif.c extif_write32(extif, offset, value); extif 55 drivers/ssb/driver_extif.c int ssb_extif_serial_init(struct ssb_extif *extif, struct ssb_serial_port *ports) extif 60 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_GPIO_INTPOL, 0); extif 61 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_GPIO_INTMASK, 0); extif 71 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_GPIO_INTMASK, 2); extif 86 drivers/ssb/driver_extif.c void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) extif 91 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_PROG_CFG, SSB_EXTCFG_EN); extif 97 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_PROG_WAITCNT, tmp); extif 104 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_PROG_WAITCNT, tmp); extif 107 drivers/ssb/driver_extif.c void ssb_extif_get_clockcontrol(struct ssb_extif *extif, extif 111 drivers/ssb/driver_extif.c *n = extif_read32(extif, SSB_EXTIF_CLOCK_N); extif 112 drivers/ssb/driver_extif.c *m = extif_read32(extif, SSB_EXTIF_CLOCK_SB); extif 117 drivers/ssb/driver_extif.c struct ssb_extif *extif = bcm47xx_wdt_get_drvdata(wdt); extif 119 drivers/ssb/driver_extif.c return ssb_extif_watchdog_timer_set(extif, ticks); extif 124 drivers/ssb/driver_extif.c struct ssb_extif *extif = bcm47xx_wdt_get_drvdata(wdt); extif 127 drivers/ssb/driver_extif.c ticks = ssb_extif_watchdog_timer_set(extif, ticks); extif 132 drivers/ssb/driver_extif.c u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks) extif 136 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_WATCHDOG, ticks); extif 141 drivers/ssb/driver_extif.c void ssb_extif_init(struct ssb_extif *extif) extif 143 drivers/ssb/driver_extif.c if (!extif->dev) extif 145 drivers/ssb/driver_extif.c spin_lock_init(&extif->gpio_lock); extif 148 drivers/ssb/driver_extif.c u32 ssb_extif_gpio_in(struct ssb_extif *extif, u32 mask) extif 150 drivers/ssb/driver_extif.c return extif_read32(extif, SSB_EXTIF_GPIO_IN) & mask; extif 153 drivers/ssb/driver_extif.c u32 ssb_extif_gpio_out(struct ssb_extif *extif, u32 mask, u32 value) extif 158 drivers/ssb/driver_extif.c spin_lock_irqsave(&extif->gpio_lock, flags); extif 159 drivers/ssb/driver_extif.c res = extif_write32_masked(extif, SSB_EXTIF_GPIO_OUT(0), extif 161 drivers/ssb/driver_extif.c spin_unlock_irqrestore(&extif->gpio_lock, flags); extif 166 drivers/ssb/driver_extif.c u32 ssb_extif_gpio_outen(struct ssb_extif *extif, u32 mask, u32 value) extif 171 drivers/ssb/driver_extif.c spin_lock_irqsave(&extif->gpio_lock, flags); extif 172 drivers/ssb/driver_extif.c res = extif_write32_masked(extif, SSB_EXTIF_GPIO_OUTEN(0), extif 174 drivers/ssb/driver_extif.c spin_unlock_irqrestore(&extif->gpio_lock, flags); extif 179 drivers/ssb/driver_extif.c u32 ssb_extif_gpio_polarity(struct ssb_extif *extif, u32 mask, u32 value) extif 184 drivers/ssb/driver_extif.c spin_lock_irqsave(&extif->gpio_lock, flags); extif 185 drivers/ssb/driver_extif.c res = extif_write32_masked(extif, SSB_EXTIF_GPIO_INTPOL, mask, value); extif 186 drivers/ssb/driver_extif.c spin_unlock_irqrestore(&extif->gpio_lock, flags); extif 191 drivers/ssb/driver_extif.c u32 ssb_extif_gpio_intmask(struct ssb_extif *extif, u32 mask, u32 value) extif 196 drivers/ssb/driver_extif.c spin_lock_irqsave(&extif->gpio_lock, flags); extif 197 drivers/ssb/driver_extif.c res = extif_write32_masked(extif, SSB_EXTIF_GPIO_INTMASK, mask, value); extif 198 drivers/ssb/driver_extif.c spin_unlock_irqrestore(&extif->gpio_lock, flags); extif 263 drivers/ssb/driver_gpio.c return !!ssb_extif_gpio_in(&bus->extif, 1 << gpio); extif 271 drivers/ssb/driver_gpio.c ssb_extif_gpio_out(&bus->extif, 1 << gpio, value ? 1 << gpio : 0); extif 279 drivers/ssb/driver_gpio.c ssb_extif_gpio_outen(&bus->extif, 1 << gpio, 0); extif 288 drivers/ssb/driver_gpio.c ssb_extif_gpio_outen(&bus->extif, 1 << gpio, 1 << gpio); extif 289 drivers/ssb/driver_gpio.c ssb_extif_gpio_out(&bus->extif, 1 << gpio, value ? 1 << gpio : 0); extif 299 drivers/ssb/driver_gpio.c ssb_extif_gpio_intmask(&bus->extif, BIT(gpio), 0); extif 306 drivers/ssb/driver_gpio.c u32 val = ssb_extif_gpio_in(&bus->extif, BIT(gpio)); extif 308 drivers/ssb/driver_gpio.c ssb_extif_gpio_polarity(&bus->extif, BIT(gpio), val); extif 309 drivers/ssb/driver_gpio.c ssb_extif_gpio_intmask(&bus->extif, BIT(gpio), BIT(gpio)); extif 321 drivers/ssb/driver_gpio.c struct ssb_extif *extif = &bus->extif; extif 322 drivers/ssb/driver_gpio.c u32 val = ssb_read32(extif->dev, SSB_EXTIF_GPIO_IN); extif 323 drivers/ssb/driver_gpio.c u32 mask = ssb_read32(extif->dev, SSB_EXTIF_GPIO_INTMASK); extif 324 drivers/ssb/driver_gpio.c u32 pol = ssb_read32(extif->dev, SSB_EXTIF_GPIO_INTPOL); extif 333 drivers/ssb/driver_gpio.c ssb_extif_gpio_polarity(extif, irqs, val & irqs); extif 340 drivers/ssb/driver_gpio.c struct ssb_extif *extif = &bus->extif; extif 348 drivers/ssb/driver_gpio.c &irq_domain_simple_ops, extif); extif 361 drivers/ssb/driver_gpio.c hwirq = ssb_mips_irq(bus->extif.dev) + 2; extif 367 drivers/ssb/driver_gpio.c ssb_extif_gpio_intmask(&bus->extif, ~0, 0); extif 384 drivers/ssb/driver_gpio.c struct ssb_extif *extif = &bus->extif; extif 391 drivers/ssb/driver_gpio.c free_irq(ssb_mips_irq(bus->extif.dev) + 2, extif); extif 461 drivers/ssb/driver_gpio.c else if (ssb_extif_available(&bus->extif)) extif 469 drivers/ssb/driver_gpio.c ssb_extif_available(&bus->extif)) { extif 206 drivers/ssb/driver_mipscore.c if (ssb_extif_available(&bus->extif)) extif 207 drivers/ssb/driver_mipscore.c mcore->nr_serial_ports = ssb_extif_serial_init(&bus->extif, mcore->serial_ports); extif 273 drivers/ssb/driver_mipscore.c if (ssb_extif_available(&bus->extif)) { extif 274 drivers/ssb/driver_mipscore.c ssb_extif_get_clockcontrol(&bus->extif, &pll_type, &n, &m); extif 311 drivers/ssb/driver_mipscore.c if (ssb_extif_available(&bus->extif)) extif 312 drivers/ssb/driver_mipscore.c ssb_extif_timing_init(&bus->extif, ns); extif 29 drivers/ssb/embedded.c if (ssb_extif_available(&bus->extif)) { extif 30 drivers/ssb/embedded.c ssb_extif_watchdog_timer_set(&bus->extif, ticks); extif 47 drivers/ssb/embedded.c } else if (ssb_extif_available(&bus->extif)) { extif 48 drivers/ssb/embedded.c wdt.driver_data = &bus->extif; extif 77 drivers/ssb/embedded.c else if (ssb_extif_available(&bus->extif)) extif 78 drivers/ssb/embedded.c res = ssb_extif_gpio_in(&bus->extif, mask); extif 95 drivers/ssb/embedded.c else if (ssb_extif_available(&bus->extif)) extif 96 drivers/ssb/embedded.c res = ssb_extif_gpio_out(&bus->extif, mask, value); extif 113 drivers/ssb/embedded.c else if (ssb_extif_available(&bus->extif)) extif 114 drivers/ssb/embedded.c res = ssb_extif_gpio_outen(&bus->extif, mask, value); extif 145 drivers/ssb/embedded.c else if (ssb_extif_available(&bus->extif)) extif 146 drivers/ssb/embedded.c res = ssb_extif_gpio_intmask(&bus->extif, mask, value); extif 163 drivers/ssb/embedded.c else if (ssb_extif_available(&bus->extif)) extif 164 drivers/ssb/embedded.c res = ssb_extif_gpio_polarity(&bus->extif, mask, value); extif 660 drivers/ssb/main.c ssb_extif_init(&bus->extif); extif 946 drivers/ssb/main.c if (ssb_extif_available(&bus->extif)) extif 947 drivers/ssb/main.c ssb_extif_get_clockcontrol(&bus->extif, &plltype, extif 374 drivers/ssb/scan.c if (bus->extif.dev) { extif 378 drivers/ssb/scan.c bus->extif.dev = dev; extif 245 drivers/ssb/ssb_private.h extern void ssb_extif_init(struct ssb_extif *extif); extif 247 drivers/ssb/ssb_private.h static inline void ssb_extif_init(struct ssb_extif *extif) extif 119 drivers/video/fbdev/omap/hwa742.c struct lcd_ctrl_extif *extif; extif 131 drivers/video/fbdev/omap/hwa742.c hwa742.extif->set_bits_per_cycle(8); extif 132 drivers/video/fbdev/omap/hwa742.c hwa742.extif->write_command(®, 1); extif 133 drivers/video/fbdev/omap/hwa742.c hwa742.extif->read_data(&data, 1); extif 140 drivers/video/fbdev/omap/hwa742.c hwa742.extif->set_bits_per_cycle(8); extif 141 drivers/video/fbdev/omap/hwa742.c hwa742.extif->write_command(®, 1); extif 142 drivers/video/fbdev/omap/hwa742.c hwa742.extif->write_data(&data, 1); extif 161 drivers/video/fbdev/omap/hwa742.c hwa742.extif->set_bits_per_cycle(8); extif 164 drivers/video/fbdev/omap/hwa742.c hwa742.extif->write_command(&cmd, 1); extif 166 drivers/video/fbdev/omap/hwa742.c hwa742.extif->write_data(tmp, 8); extif 198 drivers/video/fbdev/omap/hwa742.c hwa742.extif->enable_tearsync(1, 0); extif 203 drivers/video/fbdev/omap/hwa742.c hwa742.extif->enable_tearsync(1, 0); extif 209 drivers/video/fbdev/omap/hwa742.c hwa742.extif->enable_tearsync(1, 0); extif 213 drivers/video/fbdev/omap/hwa742.c hwa742.extif->enable_tearsync(1, y + 1); extif 220 drivers/video/fbdev/omap/hwa742.c hwa742.extif->enable_tearsync(0, 0); extif 389 drivers/video/fbdev/omap/hwa742.c hwa742.extif->set_bits_per_cycle(16); extif 392 drivers/video/fbdev/omap/hwa742.c hwa742.extif->transfer_area(w, h, request_complete, req); extif 665 drivers/video/fbdev/omap/hwa742.c return hwa742.extif->convert_timings(t); extif 716 drivers/video/fbdev/omap/hwa742.c return hwa742.extif->convert_timings(t); extif 724 drivers/video/fbdev/omap/hwa742.c hwa742.extif->get_clk_info(&hwa742.extif_clk_period, &max_clk_div); extif 801 drivers/video/fbdev/omap/hwa742.c if (hwa742.extif->get_max_tx_rate != NULL) { extif 807 drivers/video/fbdev/omap/hwa742.c unsigned long max_tx_rate = hwa742.extif->get_max_tx_rate(); extif 881 drivers/video/fbdev/omap/hwa742.c return hwa742.extif->setup_tearsync(1, hs, vs, extif 934 drivers/video/fbdev/omap/hwa742.c hwa742.extif = fbdev->ext_if; extif 946 drivers/video/fbdev/omap/hwa742.c if ((r = hwa742.extif->init(fbdev)) < 0) extif 952 drivers/video/fbdev/omap/hwa742.c hwa742.extif->set_timings(&hwa742.reg_timings); extif 958 drivers/video/fbdev/omap/hwa742.c hwa742.extif->set_timings(&hwa742.reg_timings); extif 982 drivers/video/fbdev/omap/hwa742.c hwa742.max_transmit_size = hwa742.extif->max_transmit_size; extif 1014 drivers/video/fbdev/omap/hwa742.c hwa742.extif->cleanup(); extif 1024 drivers/video/fbdev/omap/hwa742.c hwa742.extif->cleanup(); extif 476 include/linux/ssb/ssb.h struct ssb_extif extif; extif 166 include/linux/ssb/ssb_driver_extif.h static inline bool ssb_extif_available(struct ssb_extif *extif) extif 168 include/linux/ssb/ssb_driver_extif.h return (extif->dev != NULL); extif 171 include/linux/ssb/ssb_driver_extif.h extern void ssb_extif_get_clockcontrol(struct ssb_extif *extif, extif 174 include/linux/ssb/ssb_driver_extif.h extern void ssb_extif_timing_init(struct ssb_extif *extif, extif 177 include/linux/ssb/ssb_driver_extif.h extern u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks); extif 180 include/linux/ssb/ssb_driver_extif.h u32 ssb_extif_gpio_in(struct ssb_extif *extif, u32 mask); extif 181 include/linux/ssb/ssb_driver_extif.h u32 ssb_extif_gpio_out(struct ssb_extif *extif, u32 mask, u32 value); extif 182 include/linux/ssb/ssb_driver_extif.h u32 ssb_extif_gpio_outen(struct ssb_extif *extif, u32 mask, u32 value); extif 183 include/linux/ssb/ssb_driver_extif.h u32 ssb_extif_gpio_polarity(struct ssb_extif *extif, u32 mask, u32 value); extif 184 include/linux/ssb/ssb_driver_extif.h u32 ssb_extif_gpio_intmask(struct ssb_extif *extif, u32 mask, u32 value); extif 187 include/linux/ssb/ssb_driver_extif.h extern int ssb_extif_serial_init(struct ssb_extif *extif, extif 198 include/linux/ssb/ssb_driver_extif.h static inline bool ssb_extif_available(struct ssb_extif *extif) extif 204 include/linux/ssb/ssb_driver_extif.h void ssb_extif_get_clockcontrol(struct ssb_extif *extif, extif 210 include/linux/ssb/ssb_driver_extif.h void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) extif 215 include/linux/ssb/ssb_driver_extif.h u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks) extif 220 include/linux/ssb/ssb_driver_extif.h static inline u32 ssb_extif_gpio_in(struct ssb_extif *extif, u32 mask) extif 225 include/linux/ssb/ssb_driver_extif.h static inline u32 ssb_extif_gpio_out(struct ssb_extif *extif, u32 mask, extif 231 include/linux/ssb/ssb_driver_extif.h static inline u32 ssb_extif_gpio_outen(struct ssb_extif *extif, u32 mask, extif 237 include/linux/ssb/ssb_driver_extif.h static inline u32 ssb_extif_gpio_polarity(struct ssb_extif *extif, u32 mask, extif 243 include/linux/ssb/ssb_driver_extif.h static inline u32 ssb_extif_gpio_intmask(struct ssb_extif *extif, u32 mask, extif 250 include/linux/ssb/ssb_driver_extif.h static inline int ssb_extif_serial_init(struct ssb_extif *extif,