/Linux-v5.4/arch/arm/mach-pxa/include/mach/ |
D | hardware.h | 106 unsigned int _id = (id) & 0xf3f0; \ 107 _id == 0x2120; \ 112 unsigned int _id = (id) & 0xf3ff; \ 113 _id <= 0x2105; \ 118 unsigned int _id = (id) & 0xffff; \ 119 _id == 0x2d06; \ 124 unsigned int _id = (id) & 0xf300; \ 125 _id == 0x2100; \ 137 unsigned int _id = (id) >> 4 & 0xfff; \ 138 _id == 0x411; \ [all …]
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | perf_event_server.h | 149 #define EVENT_VAR(_id, _suffix) event_attr_##_id##_suffix argument 150 #define EVENT_PTR(_id, _suffix) &EVENT_VAR(_id, _suffix).attr.attr argument 152 #define EVENT_ATTR(_name, _id, _suffix) \ argument 153 PMU_EVENT_ATTR(_name, EVENT_VAR(_id, _suffix), _id, \ 156 #define GENERIC_EVENT_ATTR(_name, _id) EVENT_ATTR(_name, _id, _g) argument 157 #define GENERIC_EVENT_PTR(_id) EVENT_PTR(_id, _g) argument 159 #define CACHE_EVENT_ATTR(_name, _id) EVENT_ATTR(_name, _id, _c) argument 160 #define CACHE_EVENT_PTR(_id) EVENT_PTR(_id, _c) argument 162 #define POWER_EVENT_ATTR(_name, _id) EVENT_ATTR(_name, _id, _p) argument 163 #define POWER_EVENT_PTR(_id) EVENT_PTR(_id, _p) argument
|
/Linux-v5.4/include/linux/ |
D | mod_devicetable.h | 419 #define BCMA_CORE(_manuf, _id, _rev, _class) \ argument 420 { .manuf = _manuf, .id = _id, .rev = _rev, .class = _class, } 591 #define MDIO_ID_ARGS(_id) \ argument 592 (_id)>>31, ((_id)>>30) & 1, ((_id)>>29) & 1, ((_id)>>28) & 1, \ 593 ((_id)>>27) & 1, ((_id)>>26) & 1, ((_id)>>25) & 1, ((_id)>>24) & 1, \ 594 ((_id)>>23) & 1, ((_id)>>22) & 1, ((_id)>>21) & 1, ((_id)>>20) & 1, \ 595 ((_id)>>19) & 1, ((_id)>>18) & 1, ((_id)>>17) & 1, ((_id)>>16) & 1, \ 596 ((_id)>>15) & 1, ((_id)>>14) & 1, ((_id)>>13) & 1, ((_id)>>12) & 1, \ 597 ((_id)>>11) & 1, ((_id)>>10) & 1, ((_id)>>9) & 1, ((_id)>>8) & 1, \ 598 ((_id)>>7) & 1, ((_id)>>6) & 1, ((_id)>>5) & 1, ((_id)>>4) & 1, \ [all …]
|
/Linux-v5.4/arch/arm/mach-imx/devices/ |
D | platform-imx-uart.c | 9 #define imx_imx_uart_3irq_data_entry(soc, _id, _hwid, _size) \ argument 10 [_id] = { \ 11 .id = _id, \ 19 #define imx_imx_uart_1irq_data_entry(soc, _id, _hwid, _size) \ argument 20 [_id] = { \ 21 .id = _id, \ 29 #define imx21_imx_uart_data_entry(_id, _hwid) \ argument 30 imx_imx_uart_1irq_data_entry(MX21, _id, _hwid, SZ_4K) 40 #define imx27_imx_uart_data_entry(_id, _hwid) \ argument 41 imx_imx_uart_1irq_data_entry(MX27, _id, _hwid, SZ_4K) [all …]
|
D | platform-imx-i2c.c | 9 #define imx_imx_i2c_data_entry_single(soc, _devid, _id, _hwid, _size) \ argument 12 .id = _id, \ 18 #define imx_imx_i2c_data_entry(soc, _devid, _id, _hwid, _size) \ argument 19 [_id] = imx_imx_i2c_data_entry_single(soc, _devid, _id, _hwid, _size) 28 #define imx27_imx_i2c_data_entry(_id, _hwid) \ argument 29 imx_imx_i2c_data_entry(MX27, "imx21-i2c", _id, _hwid, SZ_4K) 37 #define imx31_imx_i2c_data_entry(_id, _hwid) \ argument 38 imx_imx_i2c_data_entry(MX31, "imx21-i2c", _id, _hwid, SZ_4K) 47 #define imx35_imx_i2c_data_entry(_id, _hwid) \ argument 48 imx_imx_i2c_data_entry(MX35, "imx21-i2c", _id, _hwid, SZ_4K)
|
D | platform-mxc-mmc.c | 11 #define imx_mxc_mmc_data_entry_single(soc, _devid, _id, _hwid, _size) \ argument 14 .id = _id, \ 20 #define imx_mxc_mmc_data_entry(soc, _devid, _id, _hwid, _size) \ argument 21 [_id] = imx_mxc_mmc_data_entry_single(soc, _devid, _id, _hwid, _size) 25 #define imx21_mxc_mmc_data_entry(_id, _hwid) \ argument 26 imx_mxc_mmc_data_entry(MX21, "imx21-mmc", _id, _hwid, SZ_4K) 34 #define imx27_mxc_mmc_data_entry(_id, _hwid) \ argument 35 imx_mxc_mmc_data_entry(MX27, "imx21-mmc", _id, _hwid, SZ_4K) 43 #define imx31_mxc_mmc_data_entry(_id, _hwid) \ argument 44 imx_mxc_mmc_data_entry(MX31, "imx31-mmc", _id, _hwid, SZ_16K)
|
D | platform-imx-ssi.c | 9 #define imx_imx_ssi_data_entry(soc, _id, _hwid, _size) \ argument 10 [_id] = { \ 11 .id = _id, \ 23 #define imx21_imx_ssi_data_entry(_id, _hwid) \ argument 24 imx_imx_ssi_data_entry(MX21, _id, _hwid, SZ_4K) 32 #define imx27_imx_ssi_data_entry(_id, _hwid) \ argument 33 imx_imx_ssi_data_entry(MX27, _id, _hwid, SZ_4K) 41 #define imx31_imx_ssi_data_entry(_id, _hwid) \ argument 42 imx_imx_ssi_data_entry(MX31, _id, _hwid, SZ_4K) 50 #define imx35_imx_ssi_data_entry(_id, _hwid) \ argument [all …]
|
D | platform-spi_imx.c | 9 #define imx_spi_imx_data_entry_single(soc, type, _devid, _id, hwid, _size) \ argument 12 .id = _id, \ 23 #define imx21_cspi_data_entry(_id, _hwid) \ argument 24 imx_spi_imx_data_entry(MX21, CSPI, "imx21-cspi", _id, _hwid, SZ_4K) 32 #define imx27_cspi_data_entry(_id, _hwid) \ argument 33 imx_spi_imx_data_entry(MX27, CSPI, "imx27-cspi", _id, _hwid, SZ_4K) 42 #define imx31_cspi_data_entry(_id, _hwid) \ argument 43 imx_spi_imx_data_entry(MX31, CSPI, "imx31-cspi", _id, _hwid, SZ_4K) 52 #define imx35_cspi_data_entry(_id, _hwid) \ argument 53 imx_spi_imx_data_entry(MX35, CSPI, "imx35-cspi", _id, _hwid, SZ_4K)
|
D | platform-flexcan.c | 8 #define imx_flexcan_data_entry_single(soc, _id, _hwid, _size) \ argument 10 .id = _id, \ 16 #define imx_flexcan_data_entry(soc, _id, _hwid, _size) \ argument 17 [_id] = imx_flexcan_data_entry_single(soc, _id, _hwid, _size) 21 #define imx35_flexcan_data_entry(_id, _hwid) \ argument 22 imx_flexcan_data_entry(MX35, _id, _hwid, SZ_16K)
|
D | platform-imx2-wdt.c | 11 #define imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size) \ argument 13 .id = _id, \ 17 #define imx_imx2_wdt_data_entry(soc, _id, _hwid, _size) \ argument 18 [_id] = imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size)
|
/Linux-v5.4/drivers/clk/samsung/ |
D | clk.h | 42 #define ALIAS(_id, dname, a) \ argument 44 .id = _id, \ 67 #define FRATE(_id, cname, pname, f, frate) \ argument 69 .id = _id, \ 94 #define FFACTOR(_id, cname, pname, m, d, f) \ argument 96 .id = _id, \ 128 #define __MUX(_id, cname, pnames, o, s, w, f, mf) \ argument 130 .id = _id, \ 141 #define MUX(_id, cname, pnames, o, s, w) \ argument 142 __MUX(_id, cname, pnames, o, s, w, 0, 0) [all …]
|
/Linux-v5.4/drivers/clk/renesas/ |
D | rcar-gen3-cpg.h | 34 #define DEF_GEN3_SD(_name, _id, _parent, _offset) \ argument 35 DEF_BASE(_name, _id, CLK_TYPE_GEN3_SD, _parent, .offset = _offset) 37 #define DEF_GEN3_MDSEL(_name, _id, _md, _parent0, _div0, _parent1, _div1) \ argument 38 DEF_BASE(_name, _id, CLK_TYPE_GEN3_MDSEL, \ 42 #define DEF_GEN3_PE(_name, _id, _parent_sscg, _div_sscg, _parent_clean, \ argument 44 DEF_GEN3_MDSEL(_name, _id, 12, _parent_sscg, _div_sscg, \ 47 #define DEF_GEN3_OSC(_name, _id, _parent, _div) \ argument 48 DEF_BASE(_name, _id, CLK_TYPE_GEN3_OSC, _parent, .div = _div) 50 #define DEF_GEN3_RCKSEL(_name, _id, _parent0, _div0, _parent1, _div1) \ argument 51 DEF_BASE(_name, _id, CLK_TYPE_GEN3_RCKSEL, \ [all …]
|
D | renesas-cpg-mssr.h | 44 #define DEF_TYPE(_name, _id, _type...) \ argument 45 { .name = _name, .id = _id, .type = _type } 46 #define DEF_BASE(_name, _id, _type, _parent...) \ argument 47 DEF_TYPE(_name, _id, _type, .parent = _parent) 49 #define DEF_INPUT(_name, _id) \ argument 50 DEF_TYPE(_name, _id, CLK_TYPE_IN) 51 #define DEF_FIXED(_name, _id, _parent, _div, _mult) \ argument 52 DEF_BASE(_name, _id, CLK_TYPE_FF, _parent, .div = _div, .mult = _mult) 53 #define DEF_DIV6P1(_name, _id, _parent, _offset) \ argument 54 DEF_BASE(_name, _id, CLK_TYPE_DIV6P1, _parent, .offset = _offset) [all …]
|
/Linux-v5.4/drivers/clk/pistachio/ |
D | clk.h | 19 #define GATE(_id, _name, _pname, _reg, _shift) \ argument 21 .id = _id, \ 39 #define MUX(_id, _name, _pnames, _reg, _shift) \ argument 41 .id = _id, \ 59 #define DIV(_id, _name, _pname, _reg, _width) \ argument 61 .id = _id, \ 69 #define DIV_F(_id, _name, _pname, _reg, _width, _div_flags) \ argument 71 .id = _id, \ 86 #define FIXED_FACTOR(_id, _name, _pname, _div) \ argument 88 .id = _id, \ [all …]
|
/Linux-v5.4/drivers/clk/rockchip/ |
D | clk.h | 295 #define PLL(_type, _id, _name, _pnames, _flags, _con, _mode, _mshift, \ argument 298 .id = _id, \ 425 #define COMPOSITE(_id, cname, pnames, f, mo, ms, mw, mf, ds, dw,\ argument 428 .id = _id, \ 446 #define COMPOSITE_DIV_OFFSET(_id, cname, pnames, f, mo, ms, mw, \ argument 449 .id = _id, \ 468 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ argument 471 .id = _id, \ 486 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ argument 489 .id = _id, \ [all …]
|
/Linux-v5.4/drivers/clk/mediatek/ |
D | clk-mtk.h | 29 #define FIXED_CLK(_id, _name, _parent, _rate) { \ argument 30 .id = _id, \ 47 #define FACTOR(_id, _name, _parent, _mult, _div) { \ argument 48 .id = _id, \ 81 #define MUX_GATE_FLAGS_2(_id, _name, _parents, _reg, _shift, \ argument 83 .id = _id, \ 101 #define MUX_GATE_FLAGS(_id, _name, _parents, _reg, _shift, _width, \ argument 103 MUX_GATE_FLAGS_2(_id, _name, _parents, _reg, \ 110 #define MUX_GATE(_id, _name, _parents, _reg, _shift, _width, _gate) \ argument 111 MUX_GATE_FLAGS(_id, _name, _parents, _reg, _shift, _width, \ [all …]
|
D | clk-mt8183-ipu_conn.c | 44 #define GATE_IPU_CONN(_id, _name, _parent, _shift) \ argument 45 GATE_MTK(_id, _name, _parent, &ipu_conn_cg_regs, _shift, \ 48 #define GATE_IPU_CONN_APB(_id, _name, _parent, _shift) \ argument 49 GATE_MTK(_id, _name, _parent, &ipu_conn_apb_cg_regs, _shift, \ 52 #define GATE_IPU_CONN_AXI_I(_id, _name, _parent, _shift) \ argument 53 GATE_MTK(_id, _name, _parent, &ipu_conn_axi_cg_regs, _shift, \ 56 #define GATE_IPU_CONN_AXI1_I(_id, _name, _parent, _shift) \ argument 57 GATE_MTK(_id, _name, _parent, &ipu_conn_axi1_cg_regs, _shift, \ 60 #define GATE_IPU_CONN_AXI2_I(_id, _name, _parent, _shift) \ argument 61 GATE_MTK(_id, _name, _parent, &ipu_conn_axi2_cg_regs, _shift, \
|
D | clk-mt2701-aud.c | 18 #define GATE_AUDIO0(_id, _name, _parent, _shift) { \ argument 19 .id = _id, \ 27 #define GATE_AUDIO1(_id, _name, _parent, _shift) { \ argument 28 .id = _id, \ 36 #define GATE_AUDIO2(_id, _name, _parent, _shift) { \ argument 37 .id = _id, \ 45 #define GATE_AUDIO3(_id, _name, _parent, _shift) { \ argument 46 .id = _id, \
|
D | clk-mt8516.c | 467 #define DIV_ADJ(_id, _name, _parent, _reg, _shift, _width) { \ argument 468 .id = _id, \ 527 #define GATE_TOP1(_id, _name, _parent, _shift) { \ argument 528 .id = _id, \ 536 #define GATE_TOP2(_id, _name, _parent, _shift) { \ argument 537 .id = _id, \ 545 #define GATE_TOP2_I(_id, _name, _parent, _shift) { \ argument 546 .id = _id, \ 554 #define GATE_TOP3(_id, _name, _parent, _shift) { \ argument 555 .id = _id, \ [all …]
|
/Linux-v5.4/include/rdma/ |
D | uverbs_std_types.h | 46 #define _uobj_check_id(_id) ((_id) * typecheck(u32, _id)) argument 51 #define uobj_get_read(_type, _id, _attrs) \ argument 53 _uobj_check_id(_id), UVERBS_LOOKUP_READ, \ 67 #define uobj_get_obj_read(_object, _type, _id, _attrs) \ argument 69 uobj_get_read(_type, _id, _attrs))) 71 #define uobj_get_write(_type, _id, _attrs) \ argument 73 _uobj_check_id(_id), UVERBS_LOOKUP_WRITE, \ 78 #define uobj_perform_destroy(_type, _id, _attrs) \ argument 80 _uobj_check_id(_id), _attrs) 85 #define uobj_get_destroy(_type, _id, _attrs) \ argument [all …]
|
/Linux-v5.4/drivers/clk/zte/ |
D | clk.h | 60 #define GATE(_id, _name, _parent, _reg, _bit, _flag, _gflags) \ argument 72 .id = _id, \ 80 #define FFACTOR(_id, _name, _parent, _mult, _div, _flag) \ argument 90 .id = _id, \ 98 #define MUX_F(_id, _name, _parent, _reg, _shift, _width, _flag, _mflag) \ argument 111 .id = _id, \ 114 #define MUX(_id, _name, _parent, _reg, _shift, _width) \ argument 115 MUX_F(_id, _name, _parent, _reg, _shift, _width, 0, 0) 122 #define DIV_T(_id, _name, _parent, _reg, _shift, _width, _flag, _table) \ argument 136 .id = _id, \ [all …]
|
/Linux-v5.4/drivers/regulator/ |
D | hi6421-regulator.c | 129 #define HI6421_LDO(_id, _match, v_table, vreg, vmask, ereg, emask, \ argument 131 [HI6421_##_id] = { \ 133 .name = #_id, \ 138 .id = HI6421_##_id, \ 168 #define HI6421_LDO_LINEAR(_id, _match, _min_uV, n_volt, vstep, vreg, vmask,\ argument 170 [HI6421_##_id] = { \ 172 .name = #_id, \ 177 .id = HI6421_##_id, \ 208 #define HI6421_LDO_LINEAR_RANGE(_id, _match, n_volt, volt_ranges, vreg, vmask,\ argument 210 [HI6421_##_id] = { \ [all …]
|
D | mt6311-regulator.c | 49 #define MT6311_BUCK(_id) \ argument 51 .name = #_id,\ 53 .of_match = of_match_ptr(#_id),\ 56 .id = MT6311_ID_##_id,\ 67 #define MT6311_LDO(_id) \ argument 69 .name = #_id,\ 71 .of_match = of_match_ptr(#_id),\ 74 .id = MT6311_ID_##_id,\
|
D | max8925-regulator.c | 155 #define MAX8925_SDV(_id, min, max, step) \ argument 158 .name = "SDV" #_id, \ 159 .of_match = of_match_ptr("SDV" #_id), \ 163 .id = MAX8925_ID_SD##_id, \ 169 .vol_reg = MAX8925_SDV##_id, \ 170 .enable_reg = MAX8925_SDCTL##_id, \ 173 #define MAX8925_LDO(_id, min, max, step) \ argument 176 .name = "LDO" #_id, \ 177 .of_match = of_match_ptr("LDO" #_id), \ 181 .id = MAX8925_ID_LDO##_id, \ [all …]
|
/Linux-v5.4/arch/arm/mach-mmp/ |
D | devices.h | 20 #define PXA168_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ argument 24 .id = _id, \ 31 #define PXA910_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ argument 35 .id = _id, \ 42 #define MMP2_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ argument 46 .id = _id, \
|