Searched refs:CY8C95X0_PIN_TO_OFFSET (Results 1 – 1 of 1) sorted by relevance
57 #define CY8C95X0_PIN_TO_OFFSET(x) (((x) >= 20) ? ((x) + 4) : (x)) macro310 return CY8C95X0_PIN_TO_OFFSET(pin) / BANK_SZ; in cypress_get_port()316 return BIT(CY8C95X0_PIN_TO_OFFSET(pin) % BANK_SZ); in cypress_get_pin_mask()1321 chip->nport = DIV_ROUND_UP(CY8C95X0_PIN_TO_OFFSET(chip->tpin), BANK_SZ); in cy8c95x0_probe()