Lines Matching refs:cf_copro_bankmap
68 u8 *cf_copro_bankmap; member
344 if (!copro_ops || !gpio->cf_copro_bankmap) in aspeed_gpio_copro_request()
346 if (!gpio->cf_copro_bankmap[offset >> 3]) in aspeed_gpio_copro_request()
368 if (!copro_ops || !gpio->cf_copro_bankmap) in aspeed_gpio_copro_release()
370 if (!gpio->cf_copro_bankmap[offset >> 3]) in aspeed_gpio_copro_release()
1022 if (!gpio->cf_copro_bankmap) in aspeed_gpio_copro_grab_gpio()
1023 gpio->cf_copro_bankmap = kzalloc(gpio->chip.ngpio >> 3, GFP_KERNEL); in aspeed_gpio_copro_grab_gpio()
1024 if (!gpio->cf_copro_bankmap) in aspeed_gpio_copro_grab_gpio()
1033 if (gpio->cf_copro_bankmap[bindex] == 0xff) { in aspeed_gpio_copro_grab_gpio()
1037 gpio->cf_copro_bankmap[bindex]++; in aspeed_gpio_copro_grab_gpio()
1040 if (gpio->cf_copro_bankmap[bindex] == 1) in aspeed_gpio_copro_grab_gpio()
1068 if (!gpio->cf_copro_bankmap) in aspeed_gpio_copro_release_gpio()
1078 if (gpio->cf_copro_bankmap[bindex] == 0) { in aspeed_gpio_copro_release_gpio()
1082 gpio->cf_copro_bankmap[bindex]--; in aspeed_gpio_copro_release_gpio()
1085 if (gpio->cf_copro_bankmap[bindex] == 0) in aspeed_gpio_copro_release_gpio()