Lines Matching refs:bitmask
315 u32 bitmask = nmk_gpio_get_bitmask(gpio);
319 if (nmk_chip->edge_rising & bitmask) {
322 reg |= bitmask;
324 reg &= ~bitmask;
327 if (nmk_chip->edge_falling & bitmask) {
330 reg |= bitmask;
332 reg &= ~bitmask;
343 u32 bitmask;
347 bitmask = nmk_gpio_get_bitmask(gpio);
381 u32 bitmask;
385 bitmask = nmk_gpio_get_bitmask(gpio);
402 nmk_chip->edge_rising &= ~bitmask;
404 nmk_chip->edge_rising |= bitmask;
406 nmk_chip->edge_falling &= ~bitmask;
408 nmk_chip->edge_falling |= bitmask;