Searched refs:clps711x_pdir (Results 1 – 1 of 1) sorted by relevance
46 #define clps711x_pdir(x) clps711x_pdirs[x->base / 8] macro75 tmp = readb(clps711x_pdir(chip)) & ~(1 << offset); in gpio_clps711x_dir_in()76 writeb(tmp, clps711x_pdir(chip)); in gpio_clps711x_dir_in()90 tmp = readb(clps711x_pdir(chip)) | (1 << offset); in gpio_clps711x_dir_out()91 writeb(tmp, clps711x_pdir(chip)); in gpio_clps711x_dir_out()108 tmp = readb(clps711x_pdir(chip)) | (1 << offset); in gpio_clps711x_dir_in_inv()109 writeb(tmp, clps711x_pdir(chip)); in gpio_clps711x_dir_in_inv()123 tmp = readb(clps711x_pdir(chip)) & ~(1 << offset); in gpio_clps711x_dir_out_inv()124 writeb(tmp, clps711x_pdir(chip)); in gpio_clps711x_dir_out_inv()