Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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
227 _write, _size)
229 #define BIN_ATTR_RO(_name, _size) \ argument
232 #define BIN_ATTR_WO(_name, _size) \ argument
235 #define BIN_ATTR_RW(_name, _size) \ argument
[all …]
A Dioport.h157 #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \ argument
160 .end = (_start) + (_size) - 1, \
166 #define DEFINE_RES_IO_NAMED(_start, _size, _name) \ argument
168 #define DEFINE_RES_IO(_start, _size) \ argument
169 DEFINE_RES_IO_NAMED((_start), (_size), NULL)
171 #define DEFINE_RES_MEM_NAMED(_start, _size, _name) \ argument
173 #define DEFINE_RES_MEM(_start, _size) \ argument
174 DEFINE_RES_MEM_NAMED((_start), (_size), NULL)
176 #define DEFINE_RES_REG_NAMED(_start, _size, _name) \ argument
178 #define DEFINE_RES_REG(_start, _size) \ argument
[all …]
/linux-6.3-rc2/tools/testing/memblock/tests/
A Dcommon.h86 #define ASSERT_MEM_EQ(_seen, _expected, _size) do { \ argument
87 for (int _i = 0; _i < (_size); _i++) { \
98 #define ASSERT_MEM_NE(_seen, _expected, _size) do { \ argument
99 for (int _i = 0; _i < (_size); _i++) { \
/linux-6.3-rc2/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-6.3-rc2/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.h188 #define SHADER(_type, _size) \ argument
189 { .type = _type, .name = #_type, .size = _size }
/linux-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/
A Dmemory.h90 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
91 while (_size--) { \
98 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
99 while (_size--) { \
/linux-6.3-rc2/include/linux/usb/
A Drenesas_usbhs.h114 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument
116 .bufsize = (_size), \
/linux-6.3-rc2/arch/riscv/include/asm/
A Derrata_list.h120 #define ALT_CMO_OP(_op, _start, _size, _cachesize) \ argument
142 "r"((unsigned long)(_start) + (_size)) \
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dutil.h27 #define MT76_INCR(_var, _size) \ argument
28 (_var = (((_var) + 1) % (_size)))
/linux-6.3-rc2/lib/zstd/common/
A Dcompiler.h100 size_t const _size = (size_t)(s); \
102 for (_pos=0; _pos<_size; _pos+=CACHELINE_SIZE) { \
/linux-6.3-rc2/drivers/ufs/core/
A Dufs-sysfs.c655 0, _duname##_DESC_PARAM##_puname, buf, _size); \
659 #define UFS_DEVICE_DESC_PARAM(_name, _uname, _size) \ argument
660 UFS_DESC_PARAM(_name, _uname, DEVICE, _size)
737 UFS_DESC_PARAM(_name, _uname, INTERCONNECT, _size)
753 #define UFS_GEOMETRY_DESC_PARAM(_name, _uname, _size) \ argument
754 UFS_DESC_PARAM(_name, _uname, GEOMETRY, _size)
855 #define UFS_HEALTH_DESC_PARAM(_name, _uname, _size) \ argument
856 UFS_DESC_PARAM(_name, _uname, HEALTH, _size)
1240 lun, _duname##_DESC_PARAM##_puname, buf, _size); \
1244 #define UFS_UNIT_DESC_PARAM(_name, _uname, _size) \ argument
[all …]
/linux-6.3-rc2/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-6.3-rc2/kernel/trace/
A Dtrace_probe.h183 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, str, _fmttype) \ argument
185 .size = _size, \
194 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
195 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, 0, #_fmttype)
/linux-6.3-rc2/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-6.3-rc2/drivers/hid/
A Dhid-uclogic-rdesc.c660 #define UCLOGIC_RDESC_FRAME_BUTTONS_BYTES(_id, _size) \ argument
695 0x95, ((_size) * 8 - 45), \
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/rust/kernel/
A Dallocator.rs40 fn __rust_dealloc(ptr: *mut u8, _size: usize, _align: usize) { in __rust_dealloc()
/linux-6.3-rc2/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-6.3-rc2/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()

Completed in 49 milliseconds

123