| /drivers/gpu/drm/nouveau/include/nvif/ |
| A D | unpack.h | 6 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; \
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | core_acl_flex_keys.h | 63 .size = {.bits = _size}, \ 70 _element, _offset, _shift, _size) 72 #define MLXSW_AFK_ELEMENT_INFO_BUF(_element, _offset, _size) \ argument 74 _element, _offset, 0, _size) 89 _shift, _size, _u32_key_diff, _avoid_size_check) \ argument 96 .size = {.bits = _size}, \ 105 _element, _offset, _shift, _size, 0, false) 108 _shift, _size, _key_diff, \ argument 111 _element, _offset, _shift, _size, \ 114 #define MLXSW_AFK_ELEMENT_INST_BUF(_element, _offset, _size) \ argument [all …]
|
| /drivers/media/platform/qcom/iris/ |
| A D | iris_vpu_buffer.c | 59 return _size * num_vpp_pipes; in hfi_buffer_bin_vp9d() 98 u32 _size; in hfi_buffer_comv_h265d() local 118 _size = min_t(u32, _size, H265D_MAX_SLICE + 1); in size_h265d_bse_cmd_buf() 119 _size = 2 * _size * SIZE_H265D_BSE_CMD_PER_BUF; in size_h265d_bse_cmd_buf() 121 return _size; in size_h265d_bse_cmd_buf() 185 _size = min_t(u32, _size, H265D_MAX_SLICE + 1); in size_h265d_vpp_cmd_buf() 186 _size = ALIGN(_size, 4); in size_h265d_vpp_cmd_buf() 187 _size = 2 * _size * SIZE_H265D_VPP_CMD_PER_BUF; in size_h265d_vpp_cmd_buf() 189 _size = VPP_CMD_MAX_SIZE; in size_h265d_vpp_cmd_buf() 191 return _size; in size_h265d_vpp_cmd_buf() [all …]
|
| /drivers/gpu/drm/msm/adreno/ |
| A D | a5xx_power.c | 171 #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()
|
| /drivers/staging/nvec/ |
| A D | nvec_kbd.c | 60 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()
|
| /drivers/dpll/zl3073x/ |
| A D | regs.h | 47 #define ZL_REG_IDX(_idx, _page, _offset, _size, _items, _stride) \ argument 51 FIELD_PREP_CONST(ZL_REG_SIZE_MASK, _size) | \ 63 #define ZL_REG(_page, _offset, _size) \ argument 64 ZL_REG_IDX(0, _page, _offset, _size, 1, 0)
|
| /drivers/gpu/drm/nouveau/include/nvkm/core/ |
| A D | memory.h | 91 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \ 92 while (_size--) { \ 99 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \ 100 while (_size--) { \
|
| /drivers/md/bcache/ |
| A D | util.h | 39 #define init_heap(heap, _size, gfp) \ argument 43 (heap)->size = (_size); \ 139 #define init_fifo_exact(fifo, _size, gfp) \ argument 141 (fifo)->size = (_size); \ 145 #define init_fifo(fifo, _size, gfp) \ argument 147 (fifo)->size = (_size); \
|
| /drivers/net/wireless/mediatek/mt76/ |
| A D | util.h | 27 #define MT76_INCR(_var, _size) \ argument 28 (_var = (((_var) + 1) % (_size)))
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| A D | trx.h | 16 static inline void clear_pci_tx_desc_content(__le32 *__pdesc, u32 _size) in clear_pci_tx_desc_content() argument 19 min_t(size_t, _size, TX_DESC_NEXT_DESC_OFFSET)); in clear_pci_tx_desc_content()
|
| /drivers/ufs/core/ |
| A D | ufs-sysfs.c | 1103 0, _duname##_DESC_PARAM##_puname, buf, _size); \ 1107 #define UFS_DEVICE_DESC_PARAM(_name, _uname, _size) \ argument 1108 UFS_DESC_PARAM(_name, _uname, DEVICE, _size) 1181 UFS_DESC_PARAM(_name, _uname, INTERCONNECT, _size) 1197 #define UFS_GEOMETRY_DESC_PARAM(_name, _uname, _size) \ argument 1198 UFS_DESC_PARAM(_name, _uname, GEOMETRY, _size) 1291 #define UFS_HEALTH_DESC_PARAM(_name, _uname, _size) \ argument 1292 UFS_DESC_PARAM(_name, _uname, HEALTH, _size) 1984 lun, _duname##_DESC_PARAM##_puname, buf, _size); \ 1988 #define UFS_UNIT_DESC_PARAM(_name, _uname, _size) \ argument [all …]
|
| /drivers/hid/ |
| A D | hid-uclogic-rdesc.c | 661 #define UCLOGIC_RDESC_FRAME_BUTTONS_BYTES(_id, _size) \ argument 696 0x95, ((_size) * 8 - 52), \
|
| /drivers/mfd/ |
| A D | mt6360-core.c | 70 #define MT6360_ALLOC_READ_SIZE(_size) (_size + 3) argument 72 #define MT6360_ALLOC_WRITE_SIZE(_size) (_size + 4) argument
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| A D | trx.h | 328 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()
|
| /drivers/gpu/drm/nova/ |
| A D | gem.rs | 20 fn new(_dev: &NovaDevice, _size: usize) -> impl PinInit<Self, Error> { in new()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| A D | def.h | 215 #define CLEAR_PCI_TX_DESC_CONTENT(__pdesc, _size) \ argument 216 memset(__pdesc, 0, min_t(size_t, _size, TX_DESC_NEXT_DESC_OFFSET))
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| A D | trx.h | 389 static inline void clear_pci_tx_desc_content(__le32 *__pdesc, u32 _size) in clear_pci_tx_desc_content() argument 391 if (_size > TX_DESC_NEXT_DESC_OFFSET) in clear_pci_tx_desc_content() 394 memset(__pdesc, 0, _size); in clear_pci_tx_desc_content()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| A D | trx.h | 389 static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) in clear_pci_tx_desc_content() argument 391 if (_size > TX_DESC_NEXT_DESC_OFFSET) in clear_pci_tx_desc_content() 394 memset(__pdesc, 0, _size); in clear_pci_tx_desc_content()
|
| /drivers/net/ethernet/brocade/bna/ |
| A D | bfi.h | 408 #define bfi_msgq_num_cmd_entries(_size) \ argument 409 (((_size) + BFI_MSGQ_CMD_ENTRY_SIZE - 1) / BFI_MSGQ_CMD_ENTRY_SIZE)
|
| /drivers/gpu/drm/imagination/ |
| A D | pvr_stream_defs.c | 13 #define PVR_STREAM_DEF_SET(owner, member, _size, _array_size, _feature) \ argument 15 .size = (_size), \
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| A D | trx.h | 475 static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) in clear_pci_tx_desc_content() argument 477 if (_size > TX_DESC_NEXT_DESC_OFFSET) in clear_pci_tx_desc_content() 480 memset(__pdesc, 0, _size); in clear_pci_tx_desc_content()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| A D | trx.h | 549 static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) in clear_pci_tx_desc_content() argument 551 if (_size > TX_DESC_NEXT_DESC_OFFSET) in clear_pci_tx_desc_content() 554 memset(__pdesc, 0, _size); in clear_pci_tx_desc_content()
|
| /drivers/soc/ti/ |
| A D | knav_dma.c | 518 unsigned index, resource_size_t *_size) in pktdma_get_regs() argument 536 if (_size) in pktdma_get_regs() 537 *_size = resource_size(&res); in pktdma_get_regs()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| A D | trx.h | 329 static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) in clear_pci_tx_desc_content() argument 331 memset(__pdesc, 0, min_t(size_t, _size, TX_DESC_NEXT_DESC_OFFSET)); in clear_pci_tx_desc_content()
|
| /drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | file.h | 1032 #define iwl_tlv_array_len_with_size(_tlv_ptr, _struct_ptr, _size) \ argument 1033 _iwl_tlv_array_len((_tlv_ptr), sizeof(*(_struct_ptr)), _size)
|