Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_twt.h172 #define GET_TWT_CONTROL_NDP_PAGING_INDICATOR(_buf) \ argument
173 LE_BITS_TO_1BYTE(_buf, 0, 1)
175 #define GET_TWT_CONTROL_RESPONDER_PM_MODE(_buf) \ argument
176 LE_BITS_TO_1BYTE(_buf, 1, 1)
178 #define GET_TWT_CONTROL_NEGOTIATION_TYPE(_buf) \ argument
179 LE_BITS_TO_1BYTE(_buf, 2, 2)
181 #define GET_TWT_CONTROL_TWT_INFORMATION_FRAME_DISABLE(_buf) \ argument
182 LE_BITS_TO_1BYTE(_buf, 4, 1)
184 #define GET_TWT_CONTROL_WAKE_DURATION_UNIT(_buf) \ argument
185 LE_BITS_TO_1BYTE(_buf, 5, 1)
[all …]
H A Dphl_debug.h172 #define debug_dump_data(_buf, _buf_len, _prefix) argument
174 #define rt_alloc_dbg_buf(_phl, _buf, _buf_size, _file_name, _line_num, \ argument
176 #define rt_free_dbg_buf(_phl, _buf, _buf_size, _file_name, _line_num, \ argument
H A Dphl_wpp.h209 typedef struct xstr { char * _buf; size_t _len; } xstr_t; member
213 xs._buf = (char *)p; in log_xstr()
218 #define WPP_LOGHEXDUMP(x) WPP_LOGPAIR(2, &((x)._len)) WPP_LOGPAIR((x)._len, (x)._buf)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_twt.h172 #define GET_TWT_CONTROL_NDP_PAGING_INDICATOR(_buf) \ argument
173 LE_BITS_TO_1BYTE(_buf, 0, 1)
175 #define GET_TWT_CONTROL_RESPONDER_PM_MODE(_buf) \ argument
176 LE_BITS_TO_1BYTE(_buf, 1, 1)
178 #define GET_TWT_CONTROL_NEGOTIATION_TYPE(_buf) \ argument
179 LE_BITS_TO_1BYTE(_buf, 2, 2)
181 #define GET_TWT_CONTROL_TWT_INFORMATION_FRAME_DISABLE(_buf) \ argument
182 LE_BITS_TO_1BYTE(_buf, 4, 1)
184 #define GET_TWT_CONTROL_WAKE_DURATION_UNIT(_buf) \ argument
185 LE_BITS_TO_1BYTE(_buf, 5, 1)
[all …]
H A Dphl_debug.h172 #define debug_dump_data(_buf, _buf_len, _prefix) argument
174 #define rt_alloc_dbg_buf(_phl, _buf, _buf_size, _file_name, _line_num, \ argument
176 #define rt_free_dbg_buf(_phl, _buf, _buf_size, _file_name, _line_num, \ argument
H A Dphl_wpp.h209 typedef struct xstr { char * _buf; size_t _len; } xstr_t; member
213 xs._buf = (char *)p; in log_xstr()
218 #define WPP_LOGHEXDUMP(x) WPP_LOGPAIR(2, &((x)._len)) WPP_LOGPAIR((x)._len, (x)._buf)
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dmcdi.h200 #define _MCDI_PTR(_buf, _offset) \ argument
201 ((u8 *)(_buf) + (_offset))
202 #define MCDI_PTR(_buf, _field) \ argument
203 _MCDI_PTR(_buf, MC_CMD_ ## _field ## _OFST)
206 #define _MCDI_DWORD(_buf, _field) \ argument
207 ((_buf) + (_MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _OFST, 4) >> 2))
209 #define MCDI_BYTE(_buf, _field) \ argument
211 *MCDI_PTR(_buf, _field))
212 #define MCDI_WORD(_buf, _field) \ argument
214 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dv4l2_buffer_proxy.h40 return _buf; in get_buf()
44 _buf.timestamp = time; in set_timestamp()
48 _buf.timecode = code; in set_timecode()
52 _buf.sequence = sequence; in set_sequence()
91 xcam_mem_clear (_buf.timestamp); in reset()
92 xcam_mem_clear (_buf.timecode); in reset()
93 _buf.sequence = 0; in reset()
116 struct v4l2_buffer _buf; variable
H A Dv4l2_buffer_proxy.cpp28 _buf = buf; in V4l2Buffer()
40 if (_buf.memory == V4L2_MEMORY_DMABUF) in map()
46 if (_buf.type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE || in map()
47 _buf.type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) in map()
48 return (uint8_t *)_buf.m.planes[0].m.userptr; in map()
50 return (uint8_t *)(_buf.m.userptr); in map()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmendian.h167 uint16 *_buf = (uint16 *)(buf); \
170 *_buf = bcmswap16(*_buf); \
171 _buf++; \
176 uint32 *_buf = (uint32 *)(buf); \
179 *_buf = bcmswap32(*_buf); \
180 _buf++; \
185 uint64 *_buf = (uint64 *)(buf); \
188 *_buf = bcmswap64(*_buf); \
189 _buf++; \
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmendian.h167 uint16 *_buf = (uint16 *)(buf); \
170 *_buf = bcmswap16(*_buf); \
171 _buf++; \
176 uint32 *_buf = (uint32 *)(buf); \
179 *_buf = bcmswap32(*_buf); \
180 _buf++; \
185 uint64 *_buf = (uint64 *)(buf); \
188 *_buf = bcmswap64(*_buf); \
189 _buf++; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmendian.h167 uint16 *_buf = (uint16 *)(buf); \
170 *_buf = bcmswap16(*_buf); \
171 _buf++; \
176 uint32 *_buf = (uint32 *)(buf); \
179 *_buf = bcmswap32(*_buf); \
180 _buf++; \
185 uint64 *_buf = (uint64 *)(buf); \
188 *_buf = bcmswap64(*_buf); \
189 _buf++; \
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmendian.h200 uint16 *_buf = (uint16 *)(buf); \
203 *_buf = bcmswap16(*_buf); \
204 _buf++; \
209 uint32 *_buf = (uint32 *)(buf); \
212 *_buf = bcmswap32(*_buf); \
213 _buf++; \
218 uint64 *_buf = (uint64 *)(buf); \
221 *_buf = bcmswap64(*_buf); \
222 _buf++; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmendian.h200 uint16 *_buf = (uint16 *)(buf); \
203 *_buf = bcmswap16(*_buf); \
204 _buf++; \
209 uint32 *_buf = (uint32 *)(buf); \
212 *_buf = bcmswap32(*_buf); \
213 _buf++; \
218 uint64 *_buf = (uint64 *)(buf); \
221 *_buf = bcmswap64(*_buf); \
222 _buf++; \
/OK3568_Linux_fs/kernel/fs/adfs/
H A Ddir_f.c47 ({ int _buf = idx >> blocksize_bits; \
48 int _off = idx - (_buf << blocksize_bits);\
49 *(u8 *)(bh[_buf]->b_data + _off); \
53 ({ int _buf = idx >> blocksize_bits; \
54 int _off = idx - (_buf << blocksize_bits);\
55 *(__le32 *)(bh[_buf]->b_data + _off); \
59 ({ int _buf = _idx >> blocksize_bits; \
60 int _off = _idx - (_buf << blocksize_bits);\
61 (void *)(_bh[_buf]->b_data + _off); \
/OK3568_Linux_fs/kernel/sound/drivers/opl4/
H A Dopl4_proc.c40 struct file *file, char __user *_buf, in snd_opl4_mem_proc_read() argument
50 if (copy_to_user(_buf, buf, count)) { in snd_opl4_mem_proc_read()
61 const char __user *_buf, in snd_opl4_mem_proc_write() argument
70 if (copy_from_user(buf, _buf, count)) { in snd_opl4_mem_proc_write()
/OK3568_Linux_fs/kernel/net/rfkill/
H A Drfkill-wlan.c739 static ssize_t wifi_power_show(struct class *cls, struct class_attribute *attr, char *_buf) in wifi_power_show() argument
741 return sprintf(_buf, "%d\n", wifi_power_state); in wifi_power_show()
744 static ssize_t wifi_power_store(struct class *cls, struct class_attribute *attr, const char *_buf, … in wifi_power_store() argument
748 if (kstrtol(_buf, 10, &poweren) < 0) in wifi_power_store()
763 static ssize_t wifi_bt_vbat_show(struct class *cls, struct class_attribute *attr, char *_buf) in wifi_bt_vbat_show() argument
765 return sprintf(_buf, "%d\n", wifi_bt_vbat_state); in wifi_bt_vbat_show()
768 static ssize_t wifi_bt_vbat_store(struct class *cls, struct class_attribute *attr, const char *_buf in wifi_bt_vbat_store() argument
772 if (kstrtol(_buf, 10, &vbat) < 0) in wifi_bt_vbat_store()
787 …_carddetect_store(struct class *cls, struct class_attribute *attr, const char *_buf, size_t _count) in wifi_set_carddetect_store() argument
791 if (kstrtol(_buf, 10, &val) < 0) in wifi_set_carddetect_store()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dformats_i.c345 size_t lsx_read_ ## type ## _buf( \
363 size_t lsx_read_ ## type ## _buf( \
385 if (lsx_read_ ## type ## _buf(ft, datum, (size_t)1) == 1) \
423 nr = lsx_read_##f##_buf(ft, va_arg(ap, type *), r); \ in lsx_read_fields()
475 size_t lsx_write_ ## type ## _buf( \
494 size_t lsx_write_ ## type ## _buf( \
517 return lsx_write_ ## type ## _buf(ft, &datum, (size_t)1) == 1 ? SOX_SUCCESS : SOX_EOF; \ in WRITE_FUNC()
523 return lsx_write_ ## type ## _buf(ft, &datum, (size_t)1) == 1 ? SOX_SUCCESS : SOX_EOF; \
529 return lsx_write_ ## type ## _buf(ft, &datum, (size_t)1) == 1 ? SOX_SUCCESS : SOX_EOF; \
/OK3568_Linux_fs/kernel/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c55 #define ACPI_AML_DO(_fd, _op, _buf, _ret) \ argument
57 _ret = acpi_aml_##_op(_fd, &acpi_aml_##_buf##_crc); \
60 "%s %s pipe closed.\n", #_buf, #_op); \
64 #define ACPI_AML_BATCH_DO(_fd, _op, _buf, _ret) \ argument
66 _ret = acpi_aml_##_op##_batch_##_buf(_fd, \
67 &acpi_aml_##_buf##_crc); \
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/cairo/cairo/
H A DCVE-2020-35492.patch37 - m = r->_buf;
46 - m = r->_buf;
55 - m = r->_buf;
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H A Dwmi.h201 #define WMI_CMD_BUF(_wmi_cmd, _buf) \ argument
204 (u8 *) _buf, sizeof(*_buf), \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmendian.h151 uint16 *_buf = (uint16 *)(buf); \
154 *_buf = bcmswap16(*_buf); \
155 _buf++; \
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/
H A Dfilemap.py336 self._buf = array.array('B', [0] * self._buf_size)
360 struct.pack_into(_FIEMAP_FORMAT, self._buf, 0, block * self.block_size,
365 fcntl.ioctl(self._f_image, _FIEMAP_IOCTL, self._buf, 1)
382 return struct.unpack(_FIEMAP_FORMAT, self._buf[:_FIEMAP_SIZE])
404 self._buf[offset : offset + _FIEMAP_EXTENT_SIZE])
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/signal/
H A Dsig_sc_double_restart.c53 register void *_buf asm("r4") = buf; in raw_read()
66 : "+r"(_fd), "+r"(nr), "+r"(_buf), "+r"(_count) in raw_read()
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dmxcmmc.c280 static int mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_pull() argument
283 u32 *buf = _buf; in mxcmci_pull()
309 static int mxcmci_push(struct mxcmci_host *host, const void *_buf, int bytes) in mxcmci_push() argument
312 const u32 *buf = _buf; in mxcmci_push()

123