/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | firmware.h | 47 int _ver, _fwv, _ret = 0; \ 50 _ver = nvkm_longopt(_s->device->cfgopt, _option, -2); \ 51 if (_ver >= -1) { \ 53 if (_next->version == _ver) \ 62 _ver = nvkm_longopt(_s->device->cfgopt, _option, _fwv); \ 64 _fwv = (_ver >= 0) ? _ver : _next->version; \ 66 if (_ret == 0 || _ver >= 0) { \
|
/openbmc/linux/drivers/spi/ |
H A D | spi-dw.h | 25 #define __dw_spi_ver_cmp(_dws, _ip, _ver, _op) \ argument 26 (dw_spi_ip_is(_dws, _ip) && (_dws)->ver _op DW_ ## _ip ## _ ## _ver) 28 #define dw_spi_ver_is(_dws, _ip, _ver) __dw_spi_ver_cmp(_dws, _ip, _ver, ==) argument 30 #define dw_spi_ver_is_ge(_dws, _ip, _ver) __dw_spi_ver_cmp(_dws, _ip, _ver, >=) argument
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware.h | 37 #define __dw_pcie_ver_cmp(_pci, _ver, _op) \ argument 38 ((_pci)->version _op DW_PCIE_VER_ ## _ver) 40 #define dw_pcie_ver_is(_pci, _ver) __dw_pcie_ver_cmp(_pci, _ver, ==) argument 42 #define dw_pcie_ver_is_ge(_pci, _ver) __dw_pcie_ver_cmp(_pci, _ver, >=) argument 44 #define dw_pcie_ver_type_is(_pci, _ver, _type) \ argument 45 (__dw_pcie_ver_cmp(_pci, _ver, ==) && \ 48 #define dw_pcie_ver_type_is_ge(_pci, _ver, _type) \ argument 49 (__dw_pcie_ver_cmp(_pci, _ver, ==) && \
|
/openbmc/u-boot/include/ |
H A D | atf_common.h | 23 #define SET_PARAM_HEAD(_p, _type, _ver, _attr) do { \ argument 25 (_p)->h.version = (uint8_t)(_ver); \
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | core.h | 1535 #define DWC3_VER_IS(_ip, _ver) \ argument 1536 (DWC3_IP_IS(_ip) && dwc->revision == _ip##_REVISION_##_ver) 1538 #define DWC3_VER_IS_PRIOR(_ip, _ver) \ argument 1539 (DWC3_IP_IS(_ip) && dwc->revision < _ip##_REVISION_##_ver) 1547 #define DWC3_VER_TYPE_IS_WITHIN(_ip, _ver, _from, _to) \ argument 1548 (DWC3_VER_IS(_ip, _ver) && \
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | qlink.h | 12 #define QLINK_VER_MINOR(_ver) ((_ver) & QLINK_PROTO_VER_MINOR_M) argument 13 #define QLINK_VER_MAJOR(_ver) \ argument 14 (((_ver) >> QLINK_PROTO_VER_MAJOR_S) & QLINK_PROTO_VER_MAJOR_M)
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_sar.S | 7 \prefix\()_ver \imm
|
H A D | test_shift.S | 7 \prefix\()_ver \dst, \v, \imm
|
/openbmc/linux/include/linux/avf/ |
H A D | virtchnl.h | 192 #define VF_IS_V11(_ver) (((_ver)->major == 1) && ((_ver)->minor == 1)) argument
|
/openbmc/linux/net/mctp/test/ |
H A D | route-test.c | 262 #define RX_HDR(_ver, _src, _dest, _fst) \ argument 263 { .ver = _ver, .src = _src, .dest = _dest, .flags_seq_tag = _fst }
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | d3.c | 2238 #define iwl_mvm_parse_wowlan_status_common(_ver) \ argument 2240 iwl_mvm_parse_wowlan_status_common_ ## _ver(struct iwl_mvm *mvm, \ 2241 struct iwl_wowlan_status_ ##_ver *data,\
|
H A D | scan.c | 2693 #define IWL_SCAN_UMAC_HANDLER(_ver) { \ argument 2694 .version = _ver, \ 2695 .handler = iwl_mvm_scan_umac_v##_ver, \
|