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