Lines Matching refs:data32
521 uint32_t data32; in geos_gpio_store() local
527 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_store()
529 data32 |= 1 << gattr->offset; in geos_gpio_store()
530 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
532 data32 &= ~(1 << gattr->offset); in geos_gpio_store()
533 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
546 uint32_t data32; in geos_gpio_show() local
548 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_show()
549 data32 = (data32 >> gattr->offset) & 1; in geos_gpio_show()
551 return sprintf(buf, "%d\n", data32); in geos_gpio_show()
559 uint32_t data32; in hardware_show() local
561 data32 = ioread32(card->config_regs + GPIO_STATUS); in hardware_show()
565 data32 = data32 & 0x1F; in hardware_show()
569 data32 = (data32 >> 5) & 0x0F; in hardware_show()
572 return sprintf(buf, "%d\n", data32); in hardware_show()
1196 uint32_t data32; in fpga_probe() local
1246 data32 = ioread32(card->config_regs + FPGA_VER); in fpga_probe()
1247 fpga_ver = (data32 & 0x0000FFFF); in fpga_probe()
1248 major_ver = ((data32 & 0xFF000000) >> 24); in fpga_probe()
1249 minor_ver = ((data32 & 0x00FF0000) >> 16); in fpga_probe()
1272 data32 = ioread32(card->config_regs + PORTS); in fpga_probe()
1273 card->nr_ports = (data32 & 0x000000FF); in fpga_probe()