Home
last modified time | relevance | path

Searched refs:_size (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvif/
Dunpack.h6 void **_data = (d); __u32 *_size = (s); int _ret = (r); \
7 if (_ret == -ENOSYS && *_size == sizeof(m)) { \
9 *_size = _ret = 0; \
15 void **_data = (d); __u32 *_size = (s); \
17 if (_ret == -ENOSYS && *_size >= sizeof(m) && \
20 *_size = *_size - sizeof(m); \
22 _ret = *_size ? -E2BIG : 0; \
24 *_size = 0; \
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.h52 #define MLXSW_AFK_ELEMENT_INFO(_type, _element, _offset, _shift, _size) \ argument
59 .size = {.bits = _size}, \
64 #define MLXSW_AFK_ELEMENT_INFO_U32(_element, _offset, _shift, _size) \ argument
66 _element, _offset, _shift, _size)
68 #define MLXSW_AFK_ELEMENT_INFO_BUF(_element, _offset, _size) \ argument
70 _element, _offset, 0, _size)
117 _shift, _size, _u32_key_diff, _avoid_size_check) \ argument
124 .size = {.bits = _size}, \
131 #define MLXSW_AFK_ELEMENT_INST_U32(_element, _offset, _shift, _size) \ argument
133 _element, _offset, _shift, _size, 0, false)
[all …]
/Linux-v5.4/arch/arm/mach-mmp/
Ddevices.h20 #define PXA168_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ argument
27 .size = _size, \
31 #define PXA910_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ argument
38 .size = _size, \
42 #define MMP2_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ argument
49 .size = _size, \
/Linux-v5.4/include/linux/
Dsysfs.h186 #define __BIN_ATTR(_name, _mode, _read, _write, _size) { \ argument
190 .size = _size, \
193 #define __BIN_ATTR_RO(_name, _size) { \ argument
196 .size = _size, \
199 #define __BIN_ATTR_WO(_name, _size) { \ argument
202 .size = _size, \
205 #define __BIN_ATTR_RW(_name, _size) \ argument
206 __BIN_ATTR(_name, 0644, _name##_read, _name##_write, _size)
210 #define BIN_ATTR(_name, _mode, _read, _write, _size) \ argument
212 _write, _size)
[all …]
Dioport.h148 #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \ argument
151 .end = (_start) + (_size) - 1, \
157 #define DEFINE_RES_IO_NAMED(_start, _size, _name) \ argument
158 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_IO)
159 #define DEFINE_RES_IO(_start, _size) \ argument
160 DEFINE_RES_IO_NAMED((_start), (_size), NULL)
162 #define DEFINE_RES_MEM_NAMED(_start, _size, _name) \ argument
163 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_MEM)
164 #define DEFINE_RES_MEM(_start, _size) \ argument
165 DEFINE_RES_MEM_NAMED((_start), (_size), NULL)
/Linux-v5.4/arch/arm/mach-imx/devices/
Dplatform-flexcan.c8 #define imx_flexcan_data_entry_single(soc, _id, _hwid, _size) \ argument
12 .iosize = _size, \
16 #define imx_flexcan_data_entry(soc, _id, _hwid, _size) \ argument
17 [_id] = imx_flexcan_data_entry_single(soc, _id, _hwid, _size)
Dplatform-imx2-wdt.c11 #define imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size) \ argument
15 .iosize = _size, \
17 #define imx_imx2_wdt_data_entry(soc, _id, _hwid, _size) \ argument
18 [_id] = imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size)
Dplatform-mxc_nand.c11 #define imx_mxc_nand_data_entry_single(soc, _devid, _size) \ argument
15 .iosize = _size, \
19 #define imx_mxc_nandv3_data_entry_single(soc, _devid, _size) \ argument
24 .iosize = _size, \
Dplatform-imx-i2c.c9 #define imx_imx_i2c_data_entry_single(soc, _devid, _id, _hwid, _size) \ argument
14 .iosize = _size, \
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)
Dplatform-mxc-mmc.c11 #define imx_mxc_mmc_data_entry_single(soc, _devid, _id, _hwid, _size) \ argument
16 .iosize = _size, \
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)
Dplatform-imx-uart.c9 #define imx_imx_uart_3irq_data_entry(soc, _id, _hwid, _size) \ argument
13 .iosize = _size, \
19 #define imx_imx_uart_1irq_data_entry(soc, _id, _hwid, _size) \ argument
23 .iosize = _size, \
Dplatform-pata_imx.c5 #define imx_pata_imx_data_entry_single(soc, _size) \ argument
8 .iosize = _size, \
Dplatform-imx-fb.c11 #define imx_imx_fb_data_entry_single(soc, _devid, _size) \ argument
15 .iosize = _size, \
Dplatform-imx-keypad.c9 #define imx_imx_keypad_data_entry_single(soc, _size) \ argument
12 .iosize = _size, \
Dplatform-spi_imx.c9 #define imx_spi_imx_data_entry_single(soc, type, _devid, _id, hwid, _size) \ argument
14 .iosize = _size, \
Dplatform-imx-ssi.c9 #define imx_imx_ssi_data_entry(soc, _id, _hwid, _size) \ argument
13 .iosize = _size, \
/Linux-v5.4/drivers/staging/nvec/
Dnvec_kbd.c60 int _size = (msg[0] & (3 << 5)) >> 5; in nvec_keys_notifier() local
63 if (_size == NVEC_VAR_SIZE) in nvec_keys_notifier()
66 if (_size == NVEC_3BYTES) in nvec_keys_notifier()
72 if (code_tabs[_size][code] == KEY_CAPSLOCK && state) in nvec_keys_notifier()
75 input_report_key(keys_dev.input, code_tabs[_size][code], in nvec_keys_notifier()
/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Da5xx_power.c171 #define PAYLOAD_SIZE(_size) ((_size) * sizeof(u32)) argument
368 uint32_t _size = cmds_size > TYPE4_MAX_PAYLOAD ? in a5xx_gpmu_ucode_init() local
372 _size); in a5xx_gpmu_ucode_init()
374 for (i = 0; i < _size; i++) in a5xx_gpmu_ucode_init()
377 offset += _size; in a5xx_gpmu_ucode_init()
378 cmds_size -= _size; in a5xx_gpmu_ucode_init()
/Linux-v5.4/drivers/scsi/ufs/
Dufs-sysfs.c255 #define UFS_DESC_PARAM(_name, _puname, _duname, _size) \ argument
261 0, _duname##_DESC_PARAM##_puname, buf, _size); \
265 #define UFS_DEVICE_DESC_PARAM(_name, _uname, _size) \ argument
266 UFS_DESC_PARAM(_name, _uname, DEVICE, _size)
330 #define UFS_INTERCONNECT_DESC_PARAM(_name, _uname, _size) \ argument
331 UFS_DESC_PARAM(_name, _uname, INTERCONNECT, _size)
347 #define UFS_GEOMETRY_DESC_PARAM(_name, _uname, _size) \ argument
348 UFS_DESC_PARAM(_name, _uname, GEOMETRY, _size)
430 #define UFS_HEALTH_DESC_PARAM(_name, _uname, _size) \ argument
431 UFS_DESC_PARAM(_name, _uname, HEALTH, _size)
[all …]
/Linux-v5.4/include/rdma/
Duverbs_types.h182 #define UVERBS_TYPE_ALLOC_IDR_SZ(_size, _destroy_object) \ argument
186 .obj_size = (_size) + \
187 UVERBS_BUILD_BUG_ON((_size) < \
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dutil.h14 #define MT76_INCR(_var, _size) \ argument
15 (_var = (((_var) + 1) % (_size)))
/Linux-v5.4/include/linux/usb/
Drenesas_usbhs.h114 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument
116 .bufsize = (_size), \
/Linux-v5.4/arch/s390/kernel/
Ddiag.c156 register unsigned long _size asm("1") = size; in __diag204()
162 : "+d" (_subcode), "+d" (_size) : "d" (addr) : "memory"); in __diag204()
164 return _size; in __diag204()
/Linux-v5.4/scripts/
Drecordmcount.h51 #undef _size
85 # define _size 8 macro
118 # define _size 4 macro
231 mcsec.sh_addralign = _w(_size); in append_func()
232 mcsec.sh_entsize = _w(_size); in append_func()
246 mcsec.sh_addralign = _w(_size); in append_func()
/Linux-v5.4/drivers/md/bcache/
Dutil.h42 #define init_heap(heap, _size, gfp) \ argument
46 (heap)->size = (_size); \
142 #define init_fifo_exact(fifo, _size, gfp) \ argument
144 (fifo)->size = (_size); \
148 #define init_fifo(fifo, _size, gfp) \ argument
150 (fifo)->size = (_size); \

123