Home
last modified time | relevance | path

Searched refs:_idx (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/dev/clk/starfive/
H A Djh7110_clk.h39 #define JH7110_CLK(_idx, _name, _pn, _d_max, _flags) \ argument
41 .clkdef.id = _idx, \
50 #define JH7110_GATE(_idx, _name, _pn) \ argument
51 JH7110_CLK(_idx, _name, _pn, 0, JH7110_CLK_HAS_GATE)
52 #define JH7110_MUX(_idx, _name, _pn) \ argument
53 JH7110_CLK(_idx, _name, _pn, 0, JH7110_CLK_HAS_MUX)
54 #define JH7110_DIV(_idx, _name, _pn, _d_max) \ argument
56 #define JH7110_GATEMUX(_idx, _name, _pn) \ argument
59 #define JH7110_GATEDIV(_idx, _name, _pn, _d_max) \ argument
62 #define JH7110_INV(_idx, _name, _pn) \ argument
[all …]
/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_sprom.c70 #define BHND_POWER_NVAR(_idx) \ argument
71 { BHND_NVAR_ITT2GA ## _idx, BHND_NVAR_ITT5GA ## _idx, \
72 BHND_NVAR_MAXP2GA ## _idx, BHND_NVAR_PA2GA ## _idx, \
73 BHND_NVAR_PA5GA ## _idx }
/freebsd/sys/dev/mgb/
H A Dif_mgb.h179 #define MGB_NEXT_RING_IDX(_idx) (((_idx) == MGB_DMA_RING_SIZE - 1) ? 0 : ((_idx) + 1)) argument
180 #define MGB_PREV_RING_IDX(_idx) (((_idx) == 0) ? (MGB_DMA_RING_SIZE - 1) : ((_idx) - 1)) argument
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_regs.h668 #define MT_SKEY_0(_bss, _idx) (MT_SKEY_BASE_0 + (4 * (_bss) + (_idx)) * 32) argument
669 #define MT_SKEY_1(_bss, _idx) (MT_SKEY_BASE_1 + (4 * ((_bss) & 7) + (_idx)) * 32) argument
670 #define MT_SKEY(_bss, _idx) (((_bss) & 8) ? MT_SKEY_1(_bss, _idx) : MT_SKEY_0(_bss, _idx)) argument
678 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * ((_bss) & 1))) argument
H A Dmt76.h987 #define CCK_RATE(_idx, _rate) { \ argument
990 .hw_value = (MT_PHY_TYPE_CCK << 8) | (_idx), \
991 .hw_value_short = (MT_PHY_TYPE_CCK << 8) | (4 + _idx), \
994 #define OFDM_RATE(_idx, _rate) { \ argument
996 .hw_value = (MT_PHY_TYPE_OFDM << 8) | (_idx), \
997 .hw_value_short = (MT_PHY_TYPE_OFDM << 8) | (_idx), \
H A Dmt76x02_util.c10 #define MT76x02_CCK_RATE(_idx, _rate) { \ argument
13 .hw_value = (MT_PHY_TYPE_CCK << 8) | (_idx), \
14 .hw_value_short = (MT_PHY_TYPE_CCK << 8) | (8 + (_idx)), \
H A Dmac80211.c16 #define CHAN2G(_idx, _freq) { \ argument
19 .hw_value = (_idx), \
23 #define CHAN5G(_idx, _freq) { \ argument
26 .hw_value = (_idx), \
30 #define CHAN6G(_idx, _freq) { \ argument
33 .hw_value = (_idx), \
/freebsd/sys/contrib/xen/io/
H A Dring.h231 #define RING_GET_REQUEST(_r, _idx) \ argument
232 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
234 #define RING_GET_RESPONSE(_r, _idx) \ argument
235 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
/freebsd/sys/net/route/
H A Dnhop_utils.c101 _bitmask_init_idx(void *_idx, uint32_t items) in _bitmask_init_idx() argument
104 u_long *idx = (u_long *)_idx; in _bitmask_init_idx()
/freebsd/sys/riscv/riscv/
H A Daplic.c96 #define APLIC_SRC_CFG(_idx) (0x0004 + (((_idx) - 1) * 4)) argument
97 #define APLIC_TARGET(_idx) (0x3004 + (((_idx) - 1) * 4)) argument
/freebsd/sys/sys/
H A Dqmath.h190 int _idx = (bits) - (_tmp * (base)); \
192 "0123456789abcdef"[_idx]; \
198 int _carry = 0, _idx, _nfbits = Q_NFBITS(q), _shift = 0; \
208 _idx = ((((bits) >> _shift) * (base)) + _carry) >> (_nfbits - _shift);\
211 "0123456789abcdef"[_idx]; \
H A Darb.h211 int _idx = fidx; \
220 for (; _idx > 0 && _elm != NULL; _idx--, _prevelm = _elm) \
/freebsd/sys/dev/bhnd/
H A Dbhnd_match.h136 #define BHND_MATCH_CORE_IDX(_idx) _BHND_SET_MATCH_FIELD(core_idx, _idx) argument
/freebsd/sys/ofed/include/rdma/
H A Duverbs_ioctl.h937 #define uverbs_get_const(_to, _attrs_bundle, _idx) \ argument
940 int _ret = _uverbs_get_const(&_val, _attrs_bundle, _idx, \
947 #define uverbs_get_const_default(_to, _attrs_bundle, _idx, _default) \ argument
952 _uverbs_get_const(&_val, _attrs_bundle, _idx, \
/freebsd/sys/dev/clk/rockchip/
H A Drk_cru.h50 #define GATE(_idx, _clkname, _pname, _o, _s) \ argument
52 .id = _idx, \
H A Drk3288_cru.c78 #define GATE(_idx, _clkname, _pname, _o, _s) \ argument
80 .id = _idx, \
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DGenericOptional.cpp84 ValueObjectSP GenericOptionalFrontend::GetChildAtIndex(size_t _idx) { in GetChildAtIndex() argument
/freebsd/sys/arm/allwinner/
H A Daw_gpio.c296 #define AW_GPIO_GP_CFG(_bank, _idx) 0x00 + ((_bank) * 0x24) + ((_idx) << 2) argument
298 #define AW_GPIO_GP_DRV(_bank, _idx) 0x14 + ((_bank) * 0x24) + ((_idx) << 2) argument
299 #define AW_GPIO_GP_PUL(_bank, _idx) 0x1c + ((_bank) * 0x24) + ((_idx) << 2) argument
/freebsd/sys/dev/vmware/vmci/
H A Dvmci_doorbell.c21 #define VMCI_DOORBELL_HASH(_idx) \ argument
22 vmci_hash_id((_idx), VMCI_DOORBELL_INDEX_TABLE_SIZE)
/freebsd/sys/dev/gpio/
H A Dgpiobusvar.h157 int gpio_pin_get_by_child_index(device_t _child, uint32_t _idx, gpio_pin_t *_gp);
/freebsd/sys/dev/virtio/
H A Dvirtqueue.c111 #define VQ_RING_ASSERT_VALID_IDX(_vq, _idx) \ argument
112 VQASSERT((_vq), (_idx) < (_vq)->vq_nentries, \
113 "invalid ring index: %d, max: %d", (_idx), \
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dtestmode.c29 #define REG_BAND_IDX(_list, _reg, _idx) \ argument
30 { _list.band[0] = MT_##_reg(0, _idx); \
31 _list.band[1] = MT_##_reg(1, _idx); }
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300reg.h2536 #define AR_RC0(_idx) (AR_RC0_0+(_idx)) argument
2538 #define AR_RC1(_idx) (AR_RC1_0+(_idx)) argument
2541 #define AR_CVCACHE(_idx) (AR_CVCACHE_0+(_idx)) argument
/freebsd/sys/dev/axgbe/
H A Dxgbe.h264 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument
266 ((_idx) & ((_ring)->rdesc_count - 1)))
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_clk_per.c76 #define GATE(_id, cname, plist, _idx) \ argument
83 .idx = _idx, \

12