Lines Matching defs:props
39 const struct aspeed_bank_props *props;
259 static inline bool is_bank_props_sentinel(const struct aspeed_bank_props *props)
261 return !(props->input || props->output);
267 const struct aspeed_bank_props *props = gpio->config->props;
269 while (!is_bank_props_sentinel(props)) {
270 if (props->bank == GPIO_BANK(offset))
271 return props;
272 props++;
280 const struct aspeed_bank_props *props = find_bank_props(gpio, offset);
285 (!props || ((props->input | props->output) & GPIO_BIT(offset)));
290 const struct aspeed_bank_props *props = find_bank_props(gpio, offset);
292 return !props || (props->input & GPIO_BIT(offset));
300 const struct aspeed_bank_props *props = find_bank_props(gpio, offset);
302 return !props || (props->output & GPIO_BIT(offset));
691 const struct aspeed_bank_props *props = gpio->config->props;
693 while (!is_bank_props_sentinel(props)) {
695 const unsigned long int input = props->input;
699 unsigned int i = props->bank * 32 + offset;
707 props++;
1101 { .nr_gpios = 220, .props = ast2400_bank_props, };
1113 { .nr_gpios = 232, .props = ast2500_bank_props, };
1129 { .nr_gpios = 208, .props = ast2600_bank_props, };