Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/
Dpxa27x_udc.h267 #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, \
/drivers/clk/uniphier/
Dclk-uniphier.h68 #define UNIPHIER_CLK_FACTOR(_name, _idx, _parent, _mult, _div) \ argument
72 .idx = (_idx), \
81 #define UNIPHIER_CLK_GATE(_name, _idx, _parent, _reg, _bit) \ argument
85 .idx = (_idx), \
Dclk-uniphier-mio.c28 #define UNIPHIER_MIO_CLK_SD(_idx, ch) \ argument
68 UNIPHIER_CLK_GATE("sd" #ch, (_idx), "sd" #ch "-sel", 0x20 + 0x200 * (ch), 8)
/drivers/net/wireless/mediatek/mt7601u/
Dregs.h597 #define MT_SKEY_0(_bss, _idx) \ argument
598 (MT_SKEY_BASE_0 + (4 * (_bss) + _idx) * 32)
599 #define MT_SKEY_1(_bss, _idx) \ argument
600 (MT_SKEY_BASE_1 + (4 * ((_bss) & 7) + _idx) * 32)
601 #define MT_SKEY(_bss, _idx) \ argument
602 ((_bss & 8) ? MT_SKEY_1(_bss, _idx) : MT_SKEY_0(_bss, _idx))
613 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * (_bss & 1))) argument
Dinit.c473 #define CHAN2G(_idx, _freq) { \ argument
476 .hw_value = (_idx), \
497 #define CCK_RATE(_idx, _rate) { \ argument
500 .hw_value = (MT_PHY_TYPE_CCK << 8) | _idx, \
501 .hw_value_short = (MT_PHY_TYPE_CCK << 8) | (8 + _idx), \
504 #define OFDM_RATE(_idx, _rate) { \ argument
506 .hw_value = (MT_PHY_TYPE_OFDM << 8) | _idx, \
507 .hw_value_short = (MT_PHY_TYPE_OFDM << 8) | _idx, \
/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), \
/drivers/clk/nxp/
Dclk-lpc32xx.c193 #define LPC32XX_CLK_DEFINE(_idx, _name, _flags, ...) \ argument
194 [CLK_PREFIX(_idx)] = { \
1087 #define LPC32XX_DEFINE_FIXED(_idx, _rate, _flags) \ argument
1088 [CLK_PREFIX(_idx)] = { \
1098 #define LPC32XX_DEFINE_PLL(_idx, _name, _reg, _enable) \ argument
1099 [CLK_PREFIX(_idx)] = { \
1114 #define LPC32XX_DEFINE_MUX(_idx, _reg, _shift, _mask, _table, _flags) \ argument
1115 [CLK_PREFIX(_idx)] = { \
1135 #define LPC32XX_DEFINE_DIV(_idx, _reg, _shift, _width, _table, _flags) \ argument
1136 [CLK_PREFIX(_idx)] = { \
[all …]
/drivers/clk/tegra/
Dclk-tegra-periph.c148 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
155 _clk_num, _gate_flags, _clk_id, _parents##_idx, flags,\
162 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
169 _parents##_idx, 0, _lock)
176 _clk_id, _parents##_idx, 0, NULL)
183 _clk_id, _parents##_idx, flags, NULL)
190 _clk_id, _parents##_idx, 0, NULL)
197 _parents##_idx, 0, NULL)
204 _parents##_idx, 0, NULL)
210 _clk_num, 0, _clk_id, _parents##_idx, 0, NULL)
[all …]
Dclk-tegra114.c130 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
/drivers/iio/adc/
Dvf610_adc.c512 #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), \
Dlpc18xx_adc.c54 #define LPC18XX_ADC_CHAN(_idx) { \ argument
57 .channel = _idx, \
Dimx7d_adc.c146 #define IMX7D_ADC_CHAN(_idx) { \ argument
149 .channel = (_idx), \
/drivers/iio/chemical/
Datlas-ph-sensor.c123 #define ATLAS_EC_CHANNEL(_idx, _addr) \ argument
127 .channel = _idx, \
131 .scan_index = _idx + 1, \
/drivers/misc/vmw_vmci/
Dvmci_doorbell.c35 #define VMCI_DOORBELL_HASH(_idx) hash_32(_idx, VMCI_DOORBELL_INDEX_BITS) argument
/drivers/net/wireless/ath/wcn36xx/
Dmain.c30 #define CHAN2G(_freq, _idx) { \ argument
33 .hw_value = (_idx), \
37 #define CHAN5G(_freq, _idx) { \ argument
40 .hw_value = (_idx), \
/drivers/net/ethernet/brocade/bna/
Dbna.h60 #define BNA_QE_INDX_INC(_idx, _q_depth) BNA_QE_INDX_ADD(_idx, 1, _q_depth) argument
/drivers/net/ethernet/amd/xgbe/
Dxgbe.h221 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument
223 ((_idx) & ((_ring)->rdesc_count - 1)))
/drivers/iio/light/
Dcm36651.c567 #define CM36651_LIGHT_CHANNEL(_color, _idx) { \ argument
571 .address = _idx, \
Dltr501.c558 #define LTR501_INTENSITY_CHANNEL(_idx, _addr, _mod, _shared, \ argument
566 .scan_index = (_idx), \
/drivers/net/wireless/ath/carl9170/
Dmain.c89 #define CHAN(_freq, _idx) { \ argument
91 .hw_value = (_idx), \