Home
last modified time | relevance | path

Searched refs:PORT_REG (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/pinctrl/
Dpinctrl-pic32.h14 #define PORT_REG 0x20 macro
Dpinctrl-pic32.c1828 return !!(readl(bank->reg_base + PORT_REG) & BIT(offset)); in pic32_gpio_get()
1838 writel(mask, bank->reg_base + PIC32_SET(PORT_REG)); in pic32_gpio_set()
1840 writel(mask, bank->reg_base + PIC32_CLR(PORT_REG)); in pic32_gpio_set()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4950 int_cause_reg = PORT_REG(port, XGMAC_PORT_INT_CAUSE_A); in xgmac_intr_handler()
4966 t4_write_reg(adap, PORT_REG(port, XGMAC_PORT_INT_CAUSE_A), v); in xgmac_intr_handler()
6351 (is_t4(adap->params.chip) ? PORT_REG(idx, MPS_PORT_STAT_##name##_L) : \ in t4_get_port_stats()
6448 PORT_REG(idx, MPS_PORT_STAT_LB_PORT_##name##_L) : \ in t4_get_lb_stats()
9215 PORT_REG(port, XGMAC_PORT_CFG_A) : in t4_shutdown_adapter()
Dt4_regs.h59 #define PORT_REG(idx, reg) (PORT_BASE(idx) + (reg)) macro