Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_common.h725 #define KSZ_SPI_OP_FLAG_MASK(opcode, swp, regbits, regpad) \ argument
726 swab##swp((opcode) << ((regbits) + (regpad)))
728 #define KSZ_REGMAP_ENTRY(width, swp, regbits, regpad, regalign) \ argument
734 .pad_bits = (regpad), \
739 regbits, regpad), \
742 regbits, regpad), \
749 #define KSZ_REGMAP_TABLE(ksz, swp, regbits, regpad, regalign) \ argument
751 [KSZ_REGMAP_8] = KSZ_REGMAP_ENTRY(8, swp, (regbits), (regpad), (regalign)), \
752 [KSZ_REGMAP_16] = KSZ_REGMAP_ENTRY(16, swp, (regbits), (regpad), (regalign)), \
753 [KSZ_REGMAP_32] = KSZ_REGMAP_ENTRY(32, swp, (regbits), (regpad), (regalign)), \