Lines Matching refs:props
41 const struct aspeed_bank_props *props;
261 static inline bool is_bank_props_sentinel(const struct aspeed_bank_props *props)
263 return !(props->input || props->output);
269 const struct aspeed_bank_props *props = gpio->config->props;
271 while (!is_bank_props_sentinel(props)) {
272 if (props->bank == GPIO_BANK(offset))
273 return props;
274 props++;
282 const struct aspeed_bank_props *props = find_bank_props(gpio, offset);
287 (!props || ((props->input | props->output) & GPIO_BIT(offset)));
292 const struct aspeed_bank_props *props = find_bank_props(gpio, offset);
294 return !props || (props->input & GPIO_BIT(offset));
302 const struct aspeed_bank_props *props = find_bank_props(gpio, offset);
304 return !props || (props->output & GPIO_BIT(offset));
698 const struct aspeed_bank_props *props = gpio->config->props;
700 while (!is_bank_props_sentinel(props)) {
702 const unsigned long int input = props->input;
706 unsigned int i = props->bank * 32 + offset;
714 props++;
1132 { .nr_gpios = 220, .props = ast2400_bank_props, };
1144 { .nr_gpios = 232, .props = ast2500_bank_props, };
1160 { .nr_gpios = 208, .props = ast2600_bank_props, };