Lines Matching refs:config_regs
46 unsigned short *config_regs; /* pointer to definition below */ member
57 unsigned short config_regs[8]; member
66 .config_regs = {0x23, 0x24, 0x25, 0x26, 0x27, 0x29, 0x2a, 0x2b},
71 .config_regs = {0x00, 0x2c, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x32},
76 .config_regs = {0x33, 0x34, 0x35, 0x36, 0x37, 0x00, 0x39, 0x3a},
81 .config_regs = {0x3b, 0x00, 0x3d, 0x00, 0x6e, 0x6f, 0x72, 0x73},
86 .config_regs = {0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46},
91 .config_regs = {0x47, 0x48, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59},
147 if (block->config_regs[offset] == 0) /* GPIO is not available */ in sch311x_gpio_request()
150 if (!request_region(block->runtime_reg + block->config_regs[offset], in sch311x_gpio_request()
153 block->runtime_reg + block->config_regs[offset]); in sch311x_gpio_request()
163 if (block->config_regs[offset] == 0) /* GPIO is not available */ in sch311x_gpio_free()
166 release_region(block->runtime_reg + block->config_regs[offset], 1); in sch311x_gpio_free()
208 block->config_regs[offset]); in sch311x_gpio_direction_in()
222 block->config_regs[offset]); in sch311x_gpio_direction_out()
266 block->config_regs = sch311x_gpio_blocks[i].config_regs; in sch311x_gpio_probe()