/freebsd/sys/dev/bhnd/cores/pci/ |
H A D | bhnd_pcivar.h | 126 #define BHND_PCI_REG_GET(_regv, _attr) \ argument 127 _BHND_PCI_REG_GET(_regv, _attr ## _MASK, _attr ## _SHIFT) 137 #define BHND_PCI_REG_SET(_regv, _attr, _val) \ argument 138 _BHND_PCI_REG_SET(_regv, _attr ## _MASK, _attr ## _SHIFT, _val) 149 #define BHND_PCI_CMN_REG_GET(_regf, _regv, _attr) \ argument 151 BHND_PCI_COMMON_REG((_regf), _attr ## _MASK), \ 152 BHND_PCI_COMMON_REG((_regf), _attr ## _SHIFT)) 164 #define BHND_PCI_CMN_REG_SET(_regf, _regv, _attr, _val) \ argument 166 BHND_PCI_COMMON_REG((_regf), _attr ## _MASK), \ 167 BHND_PCI_COMMON_REG((_regf), _attr ## _SHIFT), \
|
H A D | bhnd_pci_hostb.c | 207 #define BPCI_REG_SET(_regv, _attr, _val) \ argument 208 BHND_PCI_REG_SET((_regv), BHND_ ## _attr, (_val)) 210 #define BPCI_REG_GET(_regv, _attr) \ argument 211 BHND_PCI_REG_GET((_regv), BHND_ ## _attr) 213 #define BPCI_CMN_REG_SET(_regv, _attr, _val) \ argument 215 BHND_ ## _attr, (_val)) 217 #define BPCI_CMN_REG_GET(_regv, _attr) \ argument 219 BHND_ ## _attr)
|
/freebsd/sys/netlink/ |
H A D | netlink_ctl.h | 60 #define NLA_NEXT(_attr) (struct nlattr *)((char *)_attr + NLA_ALIGN(_attr->nla_len)) argument 62 #define NLA_FOREACH(_attr, _start, _len) \ argument 63 for (typeof(_attr) _end = (typeof(_attr))_NLA_END(_start, _len), _attr = (_start); \ 64 ((char *)_attr < (char *)_end) && \ 65 ((char *)NLA_NEXT(_attr) <= (char *)_end); \ 66 _attr = (_len -= NLA_ALIGN(_attr->nla_len), NLA_NEXT(_attr)))
|
H A D | netlink_snl.h | 62 #define NLA_NEXT(_attr) (struct nlattr *)(void *)((char *)_attr + NLA_ALIGN(_attr->nla_len)) argument 65 #define NLA_FOREACH(_attr, _start, _len) \ argument 66 for (_attr = (struct nlattr *)(_start); \ 67 ((char *)_attr < _NLA_END(_start, _len)) && \ 68 ((char *)NLA_NEXT(_attr) <= _NLA_END(_start, _len)); \ 69 _attr = NLA_NEXT(_attr))
|
/freebsd/sys/dev/bhnd/bcma/ |
H A D | bcma_eromreg.h | 44 #define BCMA_EROM_GET_ATTR(_entry, _attr) \ argument 45 ((_entry & BCMA_EROM_ ## _attr ## _MASK) \ 46 >> BCMA_EROM_ ## _attr ## _SHIFT)
|
/freebsd/sys/dev/bhnd/siba/ |
H A D | sibareg.h | 42 #define SIBA_REG_GET(_entry, _attr) \ argument 43 ((_entry & SIBA_ ## _attr ## _MASK) \ 44 >> SIBA_ ## _attr ## _SHIFT)
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_parser.h | 81 dtrace_attribute_t _attr; /* context attributes */ member 134 #define dn_ctxattr dn_u._clause._attr /* DT_NODE_CLAUSE */
|
/freebsd/sys/dev/bhnd/tools/ |
H A D | nvram_map_gen.awk | 4036 function parse_srom_segment_attributes(offset, type, _attrs, _num_attr, _attr, 4060 _attr = _g_attrs[_i] 4062 if (sub("^&[ \t]*", "", _attr) > 0) { 4063 _mask = parse_uint_string(_attr) 4064 } else if (sub("^<<[ \t]*", "", _attr) > 0) { 4065 _shift = - parse_uint_string(_attr) 4066 } else if (sub("^>>[ \t]*", "", _attr) > 0) { 4067 _shift = parse_uint_string(_attr) 4068 } else if (sub("^=[ \t]*", "", _attr) > 0) { 4069 _value = _attr [all …]
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_pd.c | 466 #define P2PS_PD_REQ_CHECK(_val, _attr) \ in p2ps_validate_pd_req() argument 468 if ((_val) && !msg->_attr) { \ in p2ps_validate_pd_req() 469 p2p_dbg(p2p, "Not P2PS PD Request. Missing %s", #_attr); \ in p2ps_validate_pd_req() 1216 #define P2PS_PD_RESP_CHECK(_val, _attr) \ in p2p_validate_p2ps_pd_resp() argument 1218 if ((_val) && !msg->_attr) { \ in p2p_validate_p2ps_pd_resp() 1219 p2p_dbg(p2p, "P2PS PD Response missing " #_attr); \ in p2p_validate_p2ps_pd_resp()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | io.h | 409 _ioremap_attr(vm_paddr_t _phys_addr, unsigned long _size, int _attr) in _ioremap_attr() argument
|