Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/tests/
Dfdarray.c116 #define FDA_CHECK(_idx, _fd, _revents) \ in test__fdarray__add() argument
117 if (fda->entries[_idx].fd != _fd) { \ in test__fdarray__add()
119 __LINE__, _idx, fda->entries[1].fd, _fd); \ in test__fdarray__add()
122 if (fda->entries[_idx].events != (_revents)) { \ in test__fdarray__add()
124 __LINE__, _idx, fda->entries[_idx].fd, _revents); \ in test__fdarray__add()
128 #define FDA_ADD(_idx, _fd, _revents, _nr) \ in test__fdarray__add() argument
139 FDA_CHECK(_idx, _fd, _revents) in test__fdarray__add()
/linux-4.1.27/drivers/usb/gadget/udc/
Dpxa27x_udc.h257 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument
260 .name = "ep" #_idx, \
261 .idx = _idx, .enabled = 0, \
266 #define PXA_EP_BULK(_idx, addr, dir, config, iface, alt) \ argument
267 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_BULK, BULK_FIFO_SIZE, \
269 #define PXA_EP_ISO(_idx, addr, dir, config, iface, alt) \ argument
270 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_ISOC, ISO_FIFO_SIZE, \
272 #define PXA_EP_INT(_idx, addr, dir, config, iface, alt) \ argument
273 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_INT, INT_FIFO_SIZE, \
/linux-4.1.27/include/linux/gpio/
Dmachine.h50 #define GPIO_LOOKUP_IDX(_chip_label, _chip_hwnum, _con_id, _idx, _flags) \ argument
55 .idx = _idx, \
/linux-4.1.27/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-4.1.27/include/xen/interface/io/
Dring.h181 #define RING_GET_REQUEST(_r, _idx) \ argument
182 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
184 #define RING_GET_RESPONSE(_r, _idx) \ argument
185 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
/linux-4.1.27/drivers/clk/tegra/
Dclk-tegra-periph.c135 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
142 _clk_num, _gate_flags, _clk_id, _parents##_idx, flags,\
149 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
156 _parents##_idx, 0, _lock)
163 _clk_id, _parents##_idx, 0, NULL)
170 _clk_id, _parents##_idx, flags, NULL)
177 _clk_id, _parents##_idx, 0, NULL)
184 _parents##_idx, 0, NULL)
190 _clk_num, 0, _clk_id, _parents##_idx, 0, NULL)
197 _clk_id, _parents##_idx, 0, NULL)
[all …]
Dclk-tegra114.c158 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
/linux-4.1.27/include/linux/
Dmemcontrol.h410 #define for_each_memcg_cache_index(_idx) \ argument
411 for ((_idx) = 0; (_idx) < memcg_nr_cache_ids; (_idx)++)
552 #define for_each_memcg_cache_index(_idx) \ argument
/linux-4.1.27/drivers/iio/adc/
Dvf610_adc.c151 #define VF610_ADC_CHAN(_idx, _chan_type) { \ argument
154 .channel = (_idx), \
160 #define VF610_ADC_TEMPERATURE_CHAN(_idx, _chan_type) { \ argument
162 .channel = (_idx), \
/linux-4.1.27/fs/adfs/
Ddir_f.c73 #define bufoff(_bh,_idx) \ argument
74 ({ int _buf = _idx >> blocksize_bits; \
75 int _off = _idx - (_buf << blocksize_bits);\
/linux-4.1.27/arch/ia64/kernel/
Dhead.S49 #define SAVE_BREAK_REGS(ptr, _idx, _breg, _dest)\ argument
51 mov _idx=0;; \
53 SAVE_FROM_REG(_breg[_idx], ptr, _dest);; \
54 add _idx=1,_idx;; \
57 #define RESTORE_BREAK_REGS(ptr, _idx, _breg, _tmp, _lbl)\ argument
59 mov _idx=0;; \
60 _lbl: RESTORE_REG(_breg[_idx], ptr, _tmp);; \
61 add _idx=1, _idx;; \
Dmca_drv.h63 ({ int __idx = peidx_##name##_idx(p, n); \
/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_doorbell.c35 #define VMCI_DOORBELL_HASH(_idx) hash_32(_idx, VMCI_DOORBELL_INDEX_BITS) argument
/linux-4.1.27/drivers/iio/light/
Dltr501.c91 #define LTR501_INTENSITY_CHANNEL(_idx, _addr, _mod, _shared) { \ argument
98 .scan_index = (_idx), \
Dcm36651.c567 #define CM36651_LIGHT_CHANNEL(_color, _idx) { \ argument
571 .address = _idx, \
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe.h220 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument
222 ((_idx) & ((_ring)->rdesc_count - 1)))
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Dmain.c28 #define CHAN2G(_freq, _idx) { \ argument
31 .hw_value = (_idx), \
35 #define CHAN5G(_freq, _idx) { \ argument
38 .hw_value = (_idx), \
/linux-4.1.27/arch/x86/include/asm/
Dpercpu.h592 #define early_per_cpu_map(_name, _idx) (_name##_early_map[_idx]) argument
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbna.h142 #define BNA_QE_INDX_INC(_idx, _q_depth) BNA_QE_INDX_ADD(_idx, 1, _q_depth) argument
/linux-4.1.27/net/mac80211/
Drc80211_minstrel.c58 #define SAMPLE_TBL(_mi, _idx, _col) \ argument
59 _mi->sample_table[(_idx * SAMPLE_COLUMNS) + _col]
/linux-4.1.27/sound/pci/hda/
Dpatch_realtek.c187 #define UPDATE_COEFEX(_nid, _idx, _mask, _val) \ argument
188 { .nid = (_nid), .idx = (_idx), .mask = (_mask), .val = (_val) }
189 #define WRITE_COEFEX(_nid, _idx, _val) UPDATE_COEFEX(_nid, _idx, -1, _val) argument
190 #define WRITE_COEF(_idx, _val) WRITE_COEFEX(0x20, _idx, _val) argument
191 #define UPDATE_COEF(_idx, _mask, _val) UPDATE_COEFEX(0x20, _idx, _mask, _val) argument
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dmain.c89 #define CHAN(_freq, _idx) { \ argument
91 .hw_value = (_idx), \
/linux-4.1.27/net/ipv6/
Dip6mr.c93 #define MIF_EXISTS(_mrt, _idx) ((_mrt)->vif6_table[_idx].dev != NULL) argument
/linux-4.1.27/net/ipv4/
Dipmr.c110 #define VIF_EXISTS(_mrt, _idx) ((_mrt)->vif_table[_idx].dev != NULL) argument