Home
last modified time | relevance | path

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

1234

/linux-6.12.1/drivers/clk/starfive/
Dclk-starfive-jh71x0.h32 #define JH71X0_GATE(_idx, _name, _flags, _parent) \ argument
33 [_idx] = { \
40 #define JH71X0__DIV(_idx, _name, _max, _parent) \ argument
41 [_idx] = { \
48 #define JH71X0_GDIV(_idx, _name, _flags, _max, _parent) \ argument
49 [_idx] = { \
56 #define JH71X0_FDIV(_idx, _name, _parent) \ argument
57 [_idx] = { \
64 #define JH71X0__MUX(_idx, _name, _flags, _nparents, ...) \ argument
65 [_idx] = { \
[all …]
Dclk-starfive-jh7110-pll.c111 #define _JH7110_PLL(_idx, _name, _presets) \ argument
112 [_idx] = { \
117 .pd = JH7110_PLL##_idx##_PD_OFFSET, \
118 .fbdiv = JH7110_PLL##_idx##_FBDIV_OFFSET, \
119 .frac = JH7110_PLL##_idx##_FRAC_OFFSET, \
120 .prediv = JH7110_PLL##_idx##_PREDIV_OFFSET, \
123 .dacpd = JH7110_PLL##_idx##_DACPD_MASK, \
124 .dsmpd = JH7110_PLL##_idx##_DSMPD_MASK, \
125 .fbdiv = JH7110_PLL##_idx##_FBDIV_MASK, \
128 .dacpd = JH7110_PLL##_idx##_DACPD_SHIFT, \
[all …]
/linux-6.12.1/include/linux/
Dgeneric-radix-tree.h182 #define __genradix_idx_to_offset(_radix, _idx) \ argument
183 __idx_to_offset(_idx, __genradix_obj_size(_radix))
204 #define genradix_ptr_inlined(_radix, _idx) \ argument
207 __genradix_idx_to_offset(_radix, _idx)))
218 #define genradix_ptr(_radix, _idx) \ argument
221 __genradix_idx_to_offset(_radix, _idx)))
226 #define genradix_ptr_alloc_inlined(_radix, _idx, _gfp) \ argument
229 __genradix_idx_to_offset(_radix, _idx)) ?: \
231 __genradix_idx_to_offset(_radix, _idx), \
234 #define genradix_ptr_alloc_preallocated_inlined(_radix, _idx, _new_node, _gfp)\ argument
[all …]
Dlinear_range.h37 #define LINEAR_RANGE_IDX(_idx, _min, _min_sel, _max_sel, _step) \ argument
38 [_idx] = LINEAR_RANGE(_min, _min_sel, _max_sel, _step)
Dmin_heap.h131 #define min_heap_sift_up(_heap, _idx, _func, _args) \ argument
132 __min_heap_sift_up((min_heap_char *)_heap, __minheap_obj_size(_heap), _idx, _func, _args)
233 #define min_heap_del(_heap, _idx, _func, _args) \ argument
234 __min_heap_del((min_heap_char *)_heap, __minheap_obj_size(_heap), _idx, _func, _args)
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_ptp.h293 #define GLTSYN_AUX_OUT(_chan, _idx) (GLTSYN_AUX_OUT_0(_idx) + ((_chan) * 8)) argument
294 #define GLTSYN_AUX_IN(_chan, _idx) (GLTSYN_AUX_IN_0(_idx) + ((_chan) * 8)) argument
295 #define GLTSYN_CLKO(_chan, _idx) (GLTSYN_CLKO_0(_idx) + ((_chan) * 8)) argument
296 #define GLTSYN_TGT_L(_chan, _idx) (GLTSYN_TGT_L_0(_idx) + ((_chan) * 16)) argument
297 #define GLTSYN_TGT_H(_chan, _idx) (GLTSYN_TGT_H_0(_idx) + ((_chan) * 16)) argument
298 #define GLTSYN_EVNT_L(_chan, _idx) (GLTSYN_EVNT_L_0(_idx) + ((_chan) * 16)) argument
299 #define GLTSYN_EVNT_H(_chan, _idx) (GLTSYN_EVNT_H_0(_idx) + ((_chan) * 16)) argument
/linux-6.12.1/drivers/clk/renesas/
Drcar-gen4-cpg.h49 #define DEF_GEN4_PLL_F8_25(_name, _idx, _id, _parent) \ argument
50 DEF_BASE(_name, _id, CLK_TYPE_GEN4_PLL_F8_25, _parent, .offset = _idx)
52 #define DEF_GEN4_PLL_V8_25(_name, _idx, _id, _parent) \ argument
53 DEF_BASE(_name, _id, CLK_TYPE_GEN4_PLL_V8_25, _parent, .offset = _idx)
55 #define DEF_GEN4_PLL_F9_24(_name, _idx, _id, _parent) \ argument
56 DEF_BASE(_name, _id, CLK_TYPE_GEN4_PLL_F9_24, _parent, .offset = _idx)
58 #define DEF_GEN4_PLL_V9_24(_name, _idx, _id, _parent) \ argument
59 DEF_BASE(_name, _id, CLK_TYPE_GEN4_PLL_V9_24, _parent, .offset = _idx)
/linux-6.12.1/tools/perf/tests/
Dfdarray.c102 #define FDA_CHECK(_idx, _fd, _revents) \ in test__fdarray__add() argument
103 if (fda->entries[_idx].fd != _fd) { \ in test__fdarray__add()
105 __LINE__, _idx, fda->entries[1].fd, _fd); \ in test__fdarray__add()
108 if (fda->entries[_idx].events != (_revents)) { \ in test__fdarray__add()
110 __LINE__, _idx, fda->entries[_idx].fd, _revents); \ in test__fdarray__add()
114 #define FDA_ADD(_idx, _fd, _revents, _nr) \ in test__fdarray__add() argument
125 FDA_CHECK(_idx, _fd, _revents) in test__fdarray__add()
/linux-6.12.1/drivers/clk/uniphier/
Dclk-uniphier.h69 #define UNIPHIER_CLK_CPUGEAR(_name, _idx, _regbase, _mask, \ argument
74 .idx = (_idx), \
83 #define UNIPHIER_CLK_FACTOR(_name, _idx, _parent, _mult, _div) \ argument
87 .idx = (_idx), \
95 #define UNIPHIER_CLK_GATE(_name, _idx, _parent, _reg, _bit) \ argument
99 .idx = (_idx), \
Dclk-uniphier-mio.c21 #define UNIPHIER_MIO_CLK_SD(_idx, ch) \ argument
61 UNIPHIER_CLK_GATE("sd" #ch, (_idx), "sd" #ch "-sel", 0x20 + 0x200 * (ch), 8)
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/
Dpmu.h44 #define FIXED_PMC_GLOBAL_CTRL_ENABLE(_idx) BIT_ULL((32 + (_idx))) argument
51 #define FIXED_PMC_CTRL(_idx, _val) ((_val) << ((_idx) * FIXED_PMC_NR_BITS)) argument
/linux-6.12.1/drivers/usb/gadget/udc/
Dpxa27x_udc.h263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument
266 .name = "ep" #_idx, \
267 .idx = _idx, .enabled = 0, \
272 #define PXA_EP_BULK(_idx, addr, dir, config, iface, alt) \ argument
273 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_BULK, BULK_FIFO_SIZE, \
275 #define PXA_EP_ISO(_idx, addr, dir, config, iface, alt) \ argument
276 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_ISOC, ISO_FIFO_SIZE, \
278 #define PXA_EP_INT(_idx, addr, dir, config, iface, alt) \ argument
279 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_INT, INT_FIFO_SIZE, \
/linux-6.12.1/include/rdma/
Duverbs_ioctl.h956 #define uverbs_get_const_signed(_to, _attrs_bundle, _idx) \ argument
960 _uverbs_get_const_signed(&_val, _attrs_bundle, _idx, \
967 #define uverbs_get_const_unsigned(_to, _attrs_bundle, _idx) \ argument
971 _uverbs_get_const_unsigned(&_val, _attrs_bundle, _idx, \
977 #define uverbs_get_const_default_signed(_to, _attrs_bundle, _idx, _default) \ argument
982 _uverbs_get_const_signed(&_val, _attrs_bundle, _idx, \
989 #define uverbs_get_const_default_unsigned(_to, _attrs_bundle, _idx, _default) \ argument
994 _uverbs_get_const_unsigned(&_val, _attrs_bundle, _idx, \
1000 #define uverbs_get_const(_to, _attrs_bundle, _idx) \ argument
1002 uverbs_get_const_signed(_to, _attrs_bundle, _idx) : \
[all …]
/linux-6.12.1/drivers/net/wireless/mediatek/mt7601u/
Dregs.h592 #define MT_SKEY_0(_bss, _idx) \ argument
593 (MT_SKEY_BASE_0 + (4 * (_bss) + _idx) * 32)
594 #define MT_SKEY_1(_bss, _idx) \ argument
595 (MT_SKEY_BASE_1 + (4 * ((_bss) & 7) + _idx) * 32)
596 #define MT_SKEY(_bss, _idx) \ argument
597 ((_bss & 8) ? MT_SKEY_1(_bss, _idx) : MT_SKEY_0(_bss, _idx))
608 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * (_bss & 1))) argument
Dinit.c465 #define CHAN2G(_idx, _freq) { \ argument
468 .hw_value = (_idx), \
489 #define CCK_RATE(_idx, _rate) { \ argument
492 .hw_value = (MT_PHY_TYPE_CCK << 8) | _idx, \
493 .hw_value_short = (MT_PHY_TYPE_CCK << 8) | (8 + _idx), \
496 #define OFDM_RATE(_idx, _rate) { \ argument
498 .hw_value = (MT_PHY_TYPE_OFDM << 8) | _idx, \
499 .hw_value_short = (MT_PHY_TYPE_OFDM << 8) | _idx, \
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
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
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Ddebugfs_htt_stats.h17 #define ATH12K_HTT_STATS_RESET_BITMAP32_OFFSET(_idx) ((_idx) & 0x1f) argument
18 #define ATH12K_HTT_STATS_RESET_BITMAP64_OFFSET(_idx) ((_idx) & 0x3f) argument
19 #define ATH12K_HTT_STATS_RESET_BITMAP32_BIT(_idx) (1 << \ argument
20 ATH12K_HTT_STATS_RESET_BITMAP32_OFFSET(_idx))
21 #define ATH12K_HTT_STATS_RESET_BITMAP64_BIT(_idx) (1 << \ argument
22 ATH12K_HTT_STATS_RESET_BITMAP64_OFFSET(_idx))
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Dcommon-init.c21 #define CHAN2G(_freq, _idx) { \ argument
24 .hw_value = (_idx), \
28 #define CHAN5G(_freq, _idx) { \ argument
31 .hw_value = (_idx), \
/linux-6.12.1/drivers/clk/nxp/
Dclk-lpc32xx.c189 #define LPC32XX_CLK_DEFINE(_idx, _name, _flags, ...) \ argument
190 [CLK_PREFIX(_idx)] = { \
1083 #define LPC32XX_DEFINE_FIXED(_idx, _rate) \ argument
1084 [CLK_PREFIX(_idx)] = { \
1093 #define LPC32XX_DEFINE_PLL(_idx, _name, _reg, _enable) \ argument
1094 [CLK_PREFIX(_idx)] = { \
1109 #define LPC32XX_DEFINE_MUX(_idx, _reg, _shift, _mask, _table, _flags) \ argument
1110 [CLK_PREFIX(_idx)] = { \
1130 #define LPC32XX_DEFINE_DIV(_idx, _reg, _shift, _width, _table, _flags) \ argument
1131 [CLK_PREFIX(_idx)] = { \
[all …]
/linux-6.12.1/drivers/clk/tegra/
Dclk-tegra-periph.c136 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
143 _clk_num, _gate_flags, _clk_id, _parents##_idx, flags,\
150 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
157 _parents##_idx, 0, _lock)
163 _parents##_idx, 0, NULL)
170 _clk_id, _parents##_idx, 0, NULL)
177 _clk_id, _parents##_idx, flags, NULL)
184 _clk_id, _parents##_idx, 0, NULL)
191 _parents##_idx, 0, NULL)
198 _parents##_idx, 0, NULL)
[all …]
/linux-6.12.1/drivers/perf/
Dapple_m1_cpu_pmu.c212 #define PMU_READ_COUNTER(_idx) \ argument
213 case _idx: return read_sysreg_s(SYS_IMP_APL_PMC## _idx ##_EL1)
215 #define PMU_WRITE_COUNTER(_val, _idx) \ argument
216 case _idx: \
217 write_sysreg_s(_val, SYS_IMP_APL_PMC## _idx ##_EL1); \
/linux-6.12.1/fs/bcachefs/
Dbtree_iter.h95 #define trans_for_each_path_idx_from(_paths_allocated, _nr, _idx, _start)\ argument
96 for (_idx = _start; \
97 (_idx = find_next_bit(_paths_allocated, _nr, _idx)) < _nr; \
98 _idx++)
128 #define trans_for_each_path_from(_trans, _path, _idx, _start) \ argument
129 for (_idx = _start; \
130 (_path = __trans_next_path((_trans), &_idx)); \
131 _idx++)
133 #define trans_for_each_path(_trans, _path, _idx) \ argument
134 trans_for_each_path_from(_trans, _path, _idx, 1)
Dbtree_node_scan.c446 #define for_each_found_btree_node_in_range(_f, _search, _idx) \ argument
447 for (size_t _idx = eytzinger0_find_gt((_f)->nodes.data, (_f)->nodes.nr, \
450 _idx < (_f)->nodes.nr && \
451 (_f)->nodes.data[_idx].btree_id == _search.btree_id && \
452 (_f)->nodes.data[_idx].level == _search.level && \
453 bpos_lt((_f)->nodes.data[_idx].min_key, _search.max_key); \
454 _idx = eytzinger0_next(_idx, (_f)->nodes.nr))
/linux-6.12.1/include/linux/gpio/
Dmachine.h89 #define GPIO_LOOKUP_IDX(_key, _chip_hwnum, _con_id, _idx, _flags) \ argument
94 .idx = _idx, \
/linux-6.12.1/drivers/iio/adc/
Dmt6360-adc.c227 #define MT6360_ADC_CHAN(_idx, _type) { \ argument
229 .channel = MT6360_CHAN_##_idx, \
230 .scan_index = MT6360_CHAN_##_idx, \
231 .datasheet_name = #_idx, \

1234