/linux-4.4.14/tools/perf/tests/ |
D | fdarray.c | 116 #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.4.14/include/xen/interface/io/ |
D | ring.h | 181 #define RING_GET_REQUEST(_r, _idx) \ argument 182 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req)) 193 #define RING_COPY_REQUEST(_r, _idx, _req) do { \ argument 195 *(_req) = *(volatile typeof(_req))RING_GET_REQUEST(_r, _idx); \ 198 #define RING_GET_RESPONSE(_r, _idx) \ argument 199 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | pxa27x_udc.h | 267 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument 270 .name = "ep" #_idx, \ 271 .idx = _idx, .enabled = 0, \ 276 #define PXA_EP_BULK(_idx, addr, dir, config, iface, alt) \ argument 277 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_BULK, BULK_FIFO_SIZE, \ 279 #define PXA_EP_ISO(_idx, addr, dir, config, iface, alt) \ argument 280 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_ISOC, ISO_FIFO_SIZE, \ 282 #define PXA_EP_INT(_idx, addr, dir, config, iface, alt) \ argument 283 PXA_EP_DEF(_idx, addr, dir, USB_ENDPOINT_XFER_INT, INT_FIFO_SIZE, \
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | regs.h | 601 #define MT_SKEY_0(_bss, _idx) \ argument 602 (MT_SKEY_BASE_0 + (4 * (_bss) + _idx) * 32) 603 #define MT_SKEY_1(_bss, _idx) \ argument 604 (MT_SKEY_BASE_1 + (4 * ((_bss) & 7) + _idx) * 32) 605 #define MT_SKEY(_bss, _idx) \ argument 606 ((_bss & 8) ? MT_SKEY_1(_bss, _idx) : MT_SKEY_0(_bss, _idx)) 617 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * (_bss & 1))) argument
|
D | init.c | 471 #define CHAN2G(_idx, _freq) { \ argument 474 .hw_value = (_idx), \ 495 #define CCK_RATE(_idx, _rate) { \ argument 498 .hw_value = (MT_PHY_TYPE_CCK << 8) | _idx, \ 499 .hw_value_short = (MT_PHY_TYPE_CCK << 8) | (8 + _idx), \ 502 #define OFDM_RATE(_idx, _rate) { \ argument 504 .hw_value = (MT_PHY_TYPE_OFDM << 8) | _idx, \ 505 .hw_value_short = (MT_PHY_TYPE_OFDM << 8) | _idx, \
|
/linux-4.4.14/include/linux/gpio/ |
D | machine.h | 50 #define GPIO_LOOKUP_IDX(_chip_label, _chip_hwnum, _con_id, _idx, _flags) \ argument 55 .idx = _idx, \
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | common-init.c | 21 #define CHAN2G(_freq, _idx) { \ argument 24 .hw_value = (_idx), \ 28 #define CHAN5G(_freq, _idx) { \ argument 31 .hw_value = (_idx), \
|
/linux-4.4.14/drivers/clk/tegra/ |
D | clk-tegra-periph.c | 134 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\ 141 _clk_num, _gate_flags, _clk_id, _parents##_idx, flags,\ 148 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\ 155 _parents##_idx, 0, _lock) 162 _clk_id, _parents##_idx, 0, NULL) 169 _clk_id, _parents##_idx, flags, NULL) 176 _clk_id, _parents##_idx, 0, NULL) 183 _parents##_idx, 0, NULL) 189 _clk_num, 0, _clk_id, _parents##_idx, 0, NULL) 196 _clk_id, _parents##_idx, 0, NULL) [all …]
|
D | clk-tegra114.c | 156 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
|
/linux-4.4.14/include/linux/ |
D | memcontrol.h | 730 #define for_each_memcg_cache_index(_idx) \ argument 731 for ((_idx) = 0; (_idx) < memcg_nr_cache_ids; (_idx)++) 831 #define for_each_memcg_cache_index(_idx) \ argument
|
/linux-4.4.14/drivers/iio/adc/ |
D | vf610_adc.c | 512 #define VF610_ADC_CHAN(_idx, _chan_type) { \ argument 515 .channel = (_idx), \ 520 .scan_index = (_idx), \ 528 #define VF610_ADC_TEMPERATURE_CHAN(_idx, _chan_type) { \ argument 530 .channel = (_idx), \ 532 .scan_index = (_idx), \
|
/linux-4.4.14/arch/ia64/kernel/ |
D | head.S | 48 #define SAVE_BREAK_REGS(ptr, _idx, _breg, _dest)\ argument 50 mov _idx=0;; \ 52 SAVE_FROM_REG(_breg[_idx], ptr, _dest);; \ 53 add _idx=1,_idx;; \ 56 #define RESTORE_BREAK_REGS(ptr, _idx, _breg, _tmp, _lbl)\ argument 58 mov _idx=0;; \ 59 _lbl: RESTORE_REG(_breg[_idx], ptr, _tmp);; \ 60 add _idx=1, _idx;; \
|
D | mca_drv.h | 63 ({ int __idx = peidx_##name##_idx(p, n); \
|
/linux-4.4.14/fs/adfs/ |
D | dir_f.c | 73 #define bufoff(_bh,_idx) \ argument 74 ({ int _buf = _idx >> blocksize_bits; \ 75 int _off = _idx - (_buf << blocksize_bits);\
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_doorbell.c | 35 #define VMCI_DOORBELL_HASH(_idx) hash_32(_idx, VMCI_DOORBELL_INDEX_BITS) argument
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 28 #define CHAN2G(_freq, _idx) { \ argument 31 .hw_value = (_idx), \ 35 #define CHAN5G(_freq, _idx) { \ argument 38 .hw_value = (_idx), \
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 221 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument 223 ((_idx) & ((_ring)->rdesc_count - 1)))
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bna.h | 60 #define BNA_QE_INDX_INC(_idx, _q_depth) BNA_QE_INDX_ADD(_idx, 1, _q_depth) argument
|
/linux-4.4.14/arch/x86/include/asm/ |
D | percpu.h | 592 #define early_per_cpu_map(_name, _idx) (_name##_early_map[_idx]) argument
|
/linux-4.4.14/drivers/iio/light/ |
D | cm36651.c | 567 #define CM36651_LIGHT_CHANNEL(_color, _idx) { \ argument 571 .address = _idx, \
|
D | ltr501.c | 558 #define LTR501_INTENSITY_CHANNEL(_idx, _addr, _mod, _shared, \ argument 566 .scan_index = (_idx), \
|
/linux-4.4.14/net/mac80211/ |
D | rc80211_minstrel.c | 58 #define SAMPLE_TBL(_mi, _idx, _col) \ argument 59 _mi->sample_table[(_idx * SAMPLE_COLUMNS) + _col]
|
/linux-4.4.14/sound/pci/hda/ |
D | patch_realtek.c | 192 #define UPDATE_COEFEX(_nid, _idx, _mask, _val) \ argument 193 { .nid = (_nid), .idx = (_idx), .mask = (_mask), .val = (_val) } 194 #define WRITE_COEFEX(_nid, _idx, _val) UPDATE_COEFEX(_nid, _idx, -1, _val) argument 195 #define WRITE_COEF(_idx, _val) WRITE_COEFEX(0x20, _idx, _val) argument 196 #define UPDATE_COEF(_idx, _mask, _val) UPDATE_COEFEX(0x20, _idx, _mask, _val) argument
|
/linux-4.4.14/Documentation/ |
D | ntb.txt | 110 * b2b\_mw\_idx - If the peer ntb is to be accessed via a memory window, then use
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | main.c | 89 #define CHAN(_freq, _idx) { \ argument 91 .hw_value = (_idx), \
|
/linux-4.4.14/net/ipv6/ |
D | ip6mr.c | 93 #define MIF_EXISTS(_mrt, _idx) ((_mrt)->vif6_table[_idx].dev != NULL) argument
|
/linux-4.4.14/net/ipv4/ |
D | ipmr.c | 110 #define VIF_EXISTS(_mrt, _idx) ((_mrt)->vif_table[_idx].dev != NULL) argument
|