Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/tools/
H A Dgen-sysreg.awk65 function parse_bitdef(reg, field, bitdef, _bits)
67 if (bitdef ~ /^[0-9]+$/) {
68 msb = bitdef
69 lsb = bitdef
70 } else if (split(bitdef, _bits, ":") == 2) {
74 fatal("invalid bit-range definition '" bitdef "'")
81 fatal(reg "." field " invalid high bit in '" bitdef "'")
83 fatal(reg "." field " invalid low bit in '" bitdef "'")
85 fatal(reg "." field " invalid bit-range '" bitdef "'")
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def100.c61 #define ef100_pci_get_bar_bits(efx, entry_location, bitdef) \ argument
63 ESF_GZ_CFGBAR_ ## bitdef ## _LBN, \
64 ESF_GZ_CFGBAR_ ## bitdef ## _WIDTH)
272 #define ef100_pci_get_config_bits(efx, entry_location, bitdef, result) \ argument
274 ESF_GZ_VSEC_ ## bitdef ## _LBN, \
275 ESF_GZ_VSEC_ ## bitdef ## _WIDTH, result)