Searched refs:cpld (Results 1 - 1 of 1) sorted by relevance

/openwrt/target/linux/ar71xx/files/drivers/spi/
H A Dspi-rb4xx-cpld.c27 #define DRV_NAME "spi-rb4xx-cpld"
52 static int rb4xx_cpld_write_cmd(struct rb4xx_cpld *cpld, unsigned char cmd) argument
68 err = spi_sync(cpld->spi, &m);
72 static int rb4xx_cpld_write_cfg(struct rb4xx_cpld *cpld, unsigned char config) argument
89 err = spi_sync(cpld->spi, &m);
93 static int __rb4xx_cpld_change_cfg(struct rb4xx_cpld *cpld, unsigned mask, argument
99 config = cpld->config & ~mask;
102 if ((cpld->config ^ config) & 0xff) {
103 err = rb4xx_cpld_write_cfg(cpld, config);
108 if ((cpld
288 struct rb4xx_cpld *cpld = gpio_to_cpld(chip); local
301 struct rb4xx_cpld *cpld = gpio_to_cpld(chip); local
318 struct rb4xx_cpld *cpld = gpio_to_cpld(chip); local
328 rb4xx_cpld_gpio_init(struct rb4xx_cpld *cpld, unsigned int base) argument
361 struct rb4xx_cpld *cpld; local
406 struct rb4xx_cpld *cpld; local
[all...]

Completed in 30 milliseconds