Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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; \
/kernel/linux/linux-5.10/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)
85 _shift, _size, _u32_key_diff, _avoid_size_check) \ argument
92 .size = {.bits = _size}, \
99 #define MLXSW_AFK_ELEMENT_INST_U32(_element, _offset, _shift, _size) \ argument
101 _element, _offset, _shift, _size, 0, false)
[all …]
/kernel/linux/linux-5.10/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, \
/kernel/linux/linux-5.10/include/linux/
Dsysfs.h193 #define __BIN_ATTR(_name, _mode, _read, _write, _size) { \ argument
197 .size = _size, \
200 #define __BIN_ATTR_RO(_name, _size) { \ argument
203 .size = _size, \
206 #define __BIN_ATTR_WO(_name, _size) { \ argument
209 .size = _size, \
212 #define __BIN_ATTR_RW(_name, _size) \ argument
213 __BIN_ATTR(_name, 0644, _name##_read, _name##_write, _size)
217 #define BIN_ATTR(_name, _mode, _read, _write, _size) \ argument
219 _write, _size)
[all …]
Dioport.h153 #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \ argument
156 .end = (_start) + (_size) - 1, \
162 #define DEFINE_RES_IO_NAMED(_start, _size, _name) \ argument
163 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_IO)
164 #define DEFINE_RES_IO(_start, _size) \ argument
165 DEFINE_RES_IO_NAMED((_start), (_size), NULL)
167 #define DEFINE_RES_MEM_NAMED(_start, _size, _name) \ argument
168 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_MEM)
169 #define DEFINE_RES_MEM(_start, _size) \ argument
170 DEFINE_RES_MEM_NAMED((_start), (_size), NULL)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Da5xx_power.c171 #define PAYLOAD_SIZE(_size) ((_size) * sizeof(u32)) argument
375 uint32_t _size = cmds_size > TYPE4_MAX_PAYLOAD ? in a5xx_gpmu_ucode_init() local
379 _size); in a5xx_gpmu_ucode_init()
381 for (i = 0; i < _size; i++) in a5xx_gpmu_ucode_init()
384 offset += _size; in a5xx_gpmu_ucode_init()
385 cmds_size -= _size; in a5xx_gpmu_ucode_init()
Da6xx_gpu_state.h182 #define SHADER(_type, _size) \ argument
183 { .type = _type, .name = #_type, .size = _size }
/kernel/linux/linux-5.10/include/rdma/
Duverbs_types.h166 #define UVERBS_TYPE_ALLOC_IDR_SZ(_size, _destroy_object) \ argument
170 .obj_size = (_size) + \
171 UVERBS_BUILD_BUG_ON((_size) < \
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmemory.h88 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
89 while (_size--) { \
96 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
97 while (_size--) { \
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs-sysfs.c248 #define UFS_DESC_PARAM(_name, _puname, _duname, _size) \ argument
254 0, _duname##_DESC_PARAM##_puname, buf, _size); \
258 #define UFS_DEVICE_DESC_PARAM(_name, _uname, _size) \ argument
259 UFS_DESC_PARAM(_name, _uname, DEVICE, _size)
331 #define UFS_INTERCONNECT_DESC_PARAM(_name, _uname, _size) \ argument
332 UFS_DESC_PARAM(_name, _uname, INTERCONNECT, _size)
348 #define UFS_GEOMETRY_DESC_PARAM(_name, _uname, _size) \ argument
349 UFS_DESC_PARAM(_name, _uname, GEOMETRY, _size)
442 #define UFS_HEALTH_DESC_PARAM(_name, _uname, _size) \ argument
443 UFS_DESC_PARAM(_name, _uname, HEALTH, _size)
[all …]
/kernel/linux/linux-5.10/include/linux/usb/
Drenesas_usbhs.h114 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument
116 .bufsize = (_size), \
/kernel/linux/linux-5.10/arch/s390/kernel/
Ddiag.c145 register unsigned long _size asm("1") = size; in __diag204()
151 : "+d" (_subcode), "+d" (_size) : "d" (addr) : "memory"); in __diag204()
153 return _size; in __diag204()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dutil.h27 #define MT76_INCR(_var, _size) \ argument
28 (_var = (((_var) + 1) % (_size)))
/kernel/linux/linux-5.10/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); \
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_probe.h179 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
181 .size = _size, \
187 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
188 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, #_fmttype)
/kernel/linux/linux-5.10/scripts/
Drecordmcount.h56 #undef _size
95 # define _size 8 macro
133 # define _size 4 macro
316 mcsec.sh_addralign = _w(_size); in append_func()
317 mcsec.sh_entsize = _w(_size); in append_func()
331 mcsec.sh_addralign = _w(_size); in append_func()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
DHalPhyRf.c12 #define CALCULATE_SWINGTALBE_OFFSET(_offset, _direction, _size, _deltaThermal) \ argument
14 for (_offset = 0; _offset < _size; _offset++) {\
21 if (_offset >= _size)\
22 _offset = _size-1;\
/kernel/linux/linux-5.10/arch/mips/vdso/
Dgenvdso.c108 static void *map_vdso(const char *path, size_t *_size) in map_vdso() argument
186 *_size = stat.st_size; in map_vdso()
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/
Dsuper.rst56 - s\_log\_block\_size
57 - Block size is 2 ^ (10 + s\_log\_block\_size).
60 - s\_log\_cluster\_size
61 - Cluster size is 2 ^ (10 + s\_log\_cluster\_size) blocks if bigalloc is
62 enabled. Otherwise s\_log\_cluster\_size must equal s\_log\_block\_size.
151 - s\_inode\_size
249 - s\_desc\_size
268 elements and i\_size\_high and i\_size in the 16th and 17th elements,
/kernel/linux/linux-5.10/fs/ext4/
Dsysfs.c164 #define EXT4_ATTR_STRING(_name,_mode,_size,_struct,_elname) \ argument
168 .attr_size = _size, \
184 #define EXT4_RO_ATTR_ES_STRING(_name,_elname,_size) \ argument
185 EXT4_ATTR_STRING(_name, 0444, _size, ext4_super_block, _elname)
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddef.h215 #define CLEAR_PCI_TX_DESC_CONTENT(__pdesc, _size) \ argument
216 memset(__pdesc, 0, min_t(size_t, _size, TX_DESC_NEXT_DESC_OFFSET))
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h328 static inline void clear_pci_tx_desc_content(__le32 *__pdesc, u32 _size) in clear_pci_tx_desc_content() argument
330 if (_size > TX_DESC_NEXT_DESC_OFFSET) in clear_pci_tx_desc_content()
333 memset(__pdesc, 0, _size); in clear_pci_tx_desc_content()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfi.h408 #define bfi_msgq_num_cmd_entries(_size) \ argument
409 (((_size) + BFI_MSGQ_CMD_ENTRY_SIZE - 1) / BFI_MSGQ_CMD_ENTRY_SIZE)
/kernel/linux/linux-5.10/init/
Dmain.c270 static void * __init get_boot_config_from_initrd(u32 *_size, u32 *_csum) in get_boot_config_from_initrd() argument
306 if (_size) in get_boot_config_from_initrd()
307 *_size = size; in get_boot_config_from_initrd()
314 static void * __init get_boot_config_from_initrd(u32 *_size, u32 *_csum) in get_boot_config_from_initrd() argument

123