| /freebsd/sys/dev/bhnd/cores/pci/ |
| H A D | bhnd_pcivar.h | 125 #define BHND_PCI_REG_GET(_regv, _attr) \ argument 126 _BHND_PCI_REG_GET(_regv, _attr ## _MASK, _attr ## _SHIFT) 136 #define BHND_PCI_REG_SET(_regv, _attr, _val) \ argument 137 _BHND_PCI_REG_SET(_regv, _attr ## _MASK, _attr ## _SHIFT, _val) 148 #define BHND_PCI_CMN_REG_GET(_regf, _regv, _attr) \ argument 150 BHND_PCI_COMMON_REG((_regf), _attr ## _MASK), \ 151 BHND_PCI_COMMON_REG((_regf), _attr ## _SHIFT)) 163 #define BHND_PCI_CMN_REG_SET(_regf, _regv, _attr, _val) \ argument 165 BHND_PCI_COMMON_REG((_regf), _attr ## _MASK), \ 166 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 | 63 #define NLA_NEXT(_attr) (struct nlattr *)(void *)((char *)_attr + NLA_ALIGN(_attr->nla_len)) argument 66 #define NLA_FOREACH(_attr, _start, _len) \ argument 67 for (_attr = (struct nlattr *)(_start); \ 68 ((char *)_attr < _NLA_END(_start, _len)) && \ 69 ((char *)NLA_NEXT(_attr) <= _NLA_END(_start, _len)); \ 70 _attr = NLA_NEXT(_attr)) 72 #define NLA_NEXT_CONST(_attr) (const struct nlattr *)(const void *) \ argument 73 ((const char *)_attr + NLA_ALIGN(_attr->nla_len)) 77 #define NLA_FOREACH_CONST(_attr, _start, _len) \ argument 78 for (_attr = (const struct nlattr *)(_start); \ [all …]
|
| H A D | netlink_snl_route_parsers.h | 259 #define _SNL_VF_ARG(_attr, _field) ((const void *)(uintptr_t)( \ argument 260 ((uint32_t)(_attr) << 16) | offsetof(struct snl_parsed_vf, _field)))
|
| /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 | 560 #define P2PS_PD_REQ_CHECK(_val, _attr) \ in p2ps_validate_pd_req() argument 562 if ((_val) && !msg->_attr) { \ in p2ps_validate_pd_req() 563 p2p_dbg(p2p, "Not P2PS PD Request. Missing %s", #_attr); \ in p2ps_validate_pd_req() 1546 #define P2PS_PD_RESP_CHECK(_val, _attr) \ in p2p_validate_p2ps_pd_resp() argument 1548 if ((_val) && !msg->_attr) { \ in p2p_validate_p2ps_pd_resp() 1549 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 | 406 _ioremap_attr(vm_paddr_t _phys_addr, unsigned long _size, int _attr) in _ioremap_attr() argument
|