Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/nouveau/include/nvif/
A 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/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_acl_flex_keys.h59 .size = {.bits = _size}, \
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}, \
101 _element, _offset, _shift, _size, 0, false)
104 _shift, _size, _key_diff, \ argument
107 _element, _offset, _shift, _size, \
110 #define MLXSW_AFK_ELEMENT_INST_BUF(_element, _offset, _size) \ argument
[all …]
/linux/arch/arm/mach-mmp/
A 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/include/linux/
A Dsysfs.h205 .size = _size, \
208 #define __BIN_ATTR_RO(_name, _size) { \ argument
211 .size = _size, \
214 #define __BIN_ATTR_WO(_name, _size) { \ argument
217 .size = _size, \
220 #define __BIN_ATTR_RW(_name, _size) \ argument
225 #define BIN_ATTR(_name, _mode, _read, _write, _size) \ argument
227 _write, _size)
229 #define BIN_ATTR_RO(_name, _size) \ argument
232 #define BIN_ATTR_WO(_name, _size) \ argument
[all …]
A Dioport.h155 #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \ argument
158 .end = (_start) + (_size) - 1, \
164 #define DEFINE_RES_IO_NAMED(_start, _size, _name) \ argument
165 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_IO)
166 #define DEFINE_RES_IO(_start, _size) \ argument
167 DEFINE_RES_IO_NAMED((_start), (_size), NULL)
169 #define DEFINE_RES_MEM_NAMED(_start, _size, _name) \ argument
170 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_MEM)
171 #define DEFINE_RES_MEM(_start, _size) \ argument
172 DEFINE_RES_MEM_NAMED((_start), (_size), NULL)
/linux/drivers/gpu/drm/msm/adreno/
A 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()
A Da6xx_gpu_state.h182 #define SHADER(_type, _size) \ argument
183 { .type = _type, .name = #_type, .size = _size }
/linux/drivers/staging/nvec/
A 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/drivers/gpu/drm/nouveau/include/nvkm/core/
A 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--) { \
/linux/include/rdma/
A Duverbs_types.h171 #define UVERBS_TYPE_ALLOC_IDR_SZ(_size, _destroy_object) \ argument
175 .obj_size = (_size) + \
176 UVERBS_BUILD_BUG_ON((_size) < \
/linux/drivers/scsi/ufs/
A Dufs-sysfs.c574 0, _duname##_DESC_PARAM##_puname, buf, _size); \
578 #define UFS_DEVICE_DESC_PARAM(_name, _uname, _size) \ argument
579 UFS_DESC_PARAM(_name, _uname, DEVICE, _size)
656 UFS_DESC_PARAM(_name, _uname, INTERCONNECT, _size)
672 #define UFS_GEOMETRY_DESC_PARAM(_name, _uname, _size) \ argument
673 UFS_DESC_PARAM(_name, _uname, GEOMETRY, _size)
774 #define UFS_HEALTH_DESC_PARAM(_name, _uname, _size) \ argument
775 UFS_DESC_PARAM(_name, _uname, HEALTH, _size)
1159 lun, _duname##_DESC_PARAM##_puname, buf, _size); \
1163 #define UFS_UNIT_DESC_PARAM(_name, _uname, _size) \ argument
[all …]
/linux/include/linux/usb/
A Drenesas_usbhs.h114 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument
116 .bufsize = (_size), \
/linux/drivers/md/bcache/
A Dutil.h40 #define init_heap(heap, _size, gfp) \ argument
44 (heap)->size = (_size); \
140 #define init_fifo_exact(fifo, _size, gfp) \ argument
142 (fifo)->size = (_size); \
146 #define init_fifo(fifo, _size, gfp) \ argument
148 (fifo)->size = (_size); \
/linux/drivers/net/wireless/mediatek/mt76/
A Dutil.h27 #define MT76_INCR(_var, _size) \ argument
28 (_var = (((_var) + 1) % (_size)))
/linux/lib/zstd/common/
A Dcompiler.h110 size_t const _size = (size_t)(s); \
112 for (_pos=0; _pos<_size; _pos+=CACHELINE_SIZE) { \
/linux/kernel/trace/
A Dtrace_probe.h181 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
183 .size = _size, \
189 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
190 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, #_fmttype)
/linux/scripts/
A 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()
/linux/drivers/mfd/
A Dmt6360-core.c69 #define MT6360_ALLOC_READ_SIZE(_size) (_size + 3) argument
71 #define MT6360_ALLOC_WRITE_SIZE(_size) (_size + 4) argument
/linux/Documentation/filesystems/ext4/
A 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,
/linux/arch/mips/vdso/
A Dgenvdso.c108 static void *map_vdso(const char *path, size_t *_size) in map_vdso() argument
186 *_size = stat.st_size; in map_vdso()
/linux/fs/ext4/
A Dsysfs.c158 #define EXT4_ATTR_STRING(_name,_mode,_size,_struct,_elname) \ argument
162 .attr_size = _size, \
178 #define EXT4_RO_ATTR_ES_STRING(_name,_elname,_size) \ argument
179 EXT4_ATTR_STRING(_name, 0444, _size, ext4_super_block, _elname)
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A 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))
/linux/init/
A Dmain.c268 static void * __init get_boot_config_from_initrd(u32 *_size, u32 *_csum) in get_boot_config_from_initrd() argument
304 if (_size) in get_boot_config_from_initrd()
305 *_size = size; in get_boot_config_from_initrd()
312 static void * __init get_boot_config_from_initrd(u32 *_size, u32 *_csum) in get_boot_config_from_initrd() argument
/linux/drivers/net/ethernet/brocade/bna/
A Dbfi.h408 #define bfi_msgq_num_cmd_entries(_size) \ argument
409 (((_size) + BFI_MSGQ_CMD_ENTRY_SIZE - 1) / BFI_MSGQ_CMD_ENTRY_SIZE)

Completed in 55 milliseconds

123