Home
last modified time | relevance | path

Searched refs:code (Results 1 - 25 of 115) sorted by relevance

12345

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/debug/backend/
H A Dmali_kbase_debug_ktrace_jm.h32 * @code: trace code
39 * @info_val: generic information about @code to add to the trace
44 enum kbase_ktrace_code code,
50 #define KBASE_KTRACE_RBUF_ADD_JM(kbdev, code, kctx, katom, gpu_addr, flags, \
52 kbasep_ktrace_add_jm(kbdev, KBASE_KTRACE_CODE(code), kctx, katom, \
57 #define KBASE_KTRACE_RBUF_ADD_JM(kbdev, code, kctx, katom, gpu_addr, flags, \
61 CSTD_NOP(code);\
80 #define KBASE_KTRACE_FTRACE_ADD_JM_SLOT(kbdev, code, kctx, katom, gpu_addr, \
82 trace_mali_##code(kct
[all...]
H A Dmali_kbase_debug_ktrace_csf.h32 * @code: trace code
36 * @info_val: generic information about @code to add to the trace
42 enum kbase_ktrace_code code, struct kbase_queue_group *group,
50 * @code: trace code
62 enum kbase_ktrace_code code,
66 #define KBASE_KTRACE_RBUF_ADD_CSF(kbdev, code, group, queue, flags, info_val) \
67 kbasep_ktrace_add_csf(kbdev, KBASE_KTRACE_CODE(code), group, queue, \
70 #define KBASE_KTRACE_RBUF_ADD_CSF_KCPU(kbdev, code, queu
[all...]
H A Dmali_kbase_debug_ktrace_defs_csf.h72 * @kcpu.code: Identifies the event, refer to enum kbase_ktrace_code.
77 * Refer to the KPU specific code in enum kbase_ktrace_code in
80 * @gpu.code: Identifies the event, refer to enum kbase_ktrace_code.
99 kbase_ktrace_code_t code; member
106 kbase_ktrace_code_t code; member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/debug/backend/
H A Dmali_kbase_debug_ktrace_jm.h33 * @code: trace code
40 * @info_val: generic information about @code to add to the trace
44 void kbasep_ktrace_add_jm(struct kbase_device *kbdev, enum kbase_ktrace_code code, struct kbase_context *kctx,
48 #define KBASE_KTRACE_RBUF_ADD_JM(kbdev, code, kctx, katom, gpu_addr, flags, refcount, jobslot, info_val) \
49 kbasep_ktrace_add_jm(kbdev, KBASE_KTRACE_CODE(code), kctx, katom, gpu_addr, flags, refcount, jobslot, info_val)
53 #define KBASE_KTRACE_RBUF_ADD_JM(kbdev, code, kctx, katom, gpu_addr, flags, refcount, jobslot, info_val) \
56 CSTD_NOP(code); \
75 #define KBASE_KTRACE_FTRACE_ADD_JM_SLOT(kbdev, code, kctx, katom, gpu_addr, jobslot) trace_mali_##code(kct
[all...]
H A Dmali_kbase_debug_ktrace_csf.h34 * @code: trace code
38 * @info_val: generic information about @code to add to the trace
43 void kbasep_ktrace_add_csf(struct kbase_device *kbdev, enum kbase_ktrace_code code, struct kbase_queue_group *group,
46 #define KBASE_KTRACE_RBUF_ADD_CSF(kbdev, code, group, queue, flags, info_val) \
47 kbasep_ktrace_add_csf(kbdev, KBASE_KTRACE_CODE(code), group, queue, flags, info_val)
51 #define KBASE_KTRACE_RBUF_ADD_CSF(kbdev, code, group, queue, flags, info_val) \
54 CSTD_NOP(code); \
72 #define KBASE_KTRACE_FTRACE_ADD_CSF(kbdev, code, group, queue, info_val) \
73 trace_mali_##code(kbde
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dfilter.h7 * 1. Redistributions of source code must retain the above copyright
49 u16_t code; /* compiler code */ member
61 #define LSF_CLASS(code) ((code) & 0x07)
72 #define LSF_SIZE(code) ((code) & 0x18)
76 #define LSF_MODE(code) ((code) & 0xe0)
85 #define LSF_OP(code) ((cod
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/debug/
H A Dmali_kbase_debug_ktrace.h52 * Return: 0 if successful or a negative error code on failure.
87 * @code: ktrace code
90 * @info_val: generic information about @code to add to the trace
94 void kbasep_ktrace_add(struct kbase_device *kbdev, enum kbase_ktrace_code code,
114 #define KBASE_KTRACE_RBUF_ADD(kbdev, code, kctx, info_val) \
115 kbasep_ktrace_add(kbdev, KBASE_KTRACE_CODE(code), kctx, 0, \
126 #define KBASE_KTRACE_RBUF_ADD(kbdev, code, kctx, info_val) \
129 CSTD_NOP(code); \
152 #define KBASE_KTRACE_FTRACE_ADD(kbdev, code, kct
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/debug/
H A Dmali_kbase_debug_ktrace.h87 * @code: ktrace code
90 * @info_val: generic information about @code to add to the trace
94 void kbasep_ktrace_add(struct kbase_device *kbdev, enum kbase_ktrace_code code, struct kbase_context *kctx,
113 #define KBASE_KTRACE_RBUF_ADD(kbdev, code, kctx, info_val) \
114 kbasep_ktrace_add(kbdev, KBASE_KTRACE_CODE(code), kctx, 0, info_val)
122 #define KBASE_KTRACE_RBUF_ADD(kbdev, code, kctx, info_val) \
125 CSTD_NOP(code); \
148 #define KBASE_KTRACE_FTRACE_ADD(kbdev, code, kctx, info_val) trace_mali_##code(kct
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase.h115 * Return: 0 on success or error code
207 /** Returns the name associated with a Mali exception code
213 * @param[in] exception_code exception code
214 * @return name associated with the exception code
360 #define KBASE_TRACE_ADD_SLOT(kbdev, code, ctx, katom, gpu_addr, jobslot) \
361 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, KBASE_TRACE_FLAG_JOBSLOT, 0, jobslot, 0)
371 #define KBASE_TRACE_ADD_SLOT_INFO(kbdev, code, ctx, katom, gpu_addr, jobslot, info_val) \
372 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, KBASE_TRACE_FLAG_JOBSLOT, 0, jobslot, \
383 #define KBASE_TRACE_ADD_REFCOUNT(kbdev, code, ctx, katom, gpu_addr, refcount) \
384 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ct
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase.h124 * Return: 0 on success or error code
227 /** Returns the name associated with a Mali exception code
233 * @param[in] exception_code exception code
234 * @return name associated with the exception code
382 #define KBASE_TRACE_ADD_SLOT(kbdev, code, ctx, katom, gpu_addr, jobslot) \
383 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, \
394 #define KBASE_TRACE_ADD_SLOT_INFO(kbdev, code, ctx, katom, gpu_addr, jobslot, info_val) \
395 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ctx, katom, gpu_addr, \
406 #define KBASE_TRACE_ADD_REFCOUNT(kbdev, code, ctx, katom, gpu_addr, refcount) \
407 kbasep_trace_add(kbdev, KBASE_TRACE_CODE(code), ct
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_linux_trace.h135 /* Fault status and exception code helpers
139 * bits 0:1 masked off code, and used for the level
149 * for __print_symbolic() whilst also being able to use them outside trace code
153 #define KBASE_MMU_FAULT_CODE_EXCEPTION_NAME_PRINT(code) \
154 (!KBASE_MMU_FAULT_CODE_VALID(code) ? "UNKNOWN,level=" : \
155 __print_symbolic(((code) & ~3u), \
157 #define KBASE_MMU_FAULT_CODE_LEVEL(code) \
158 (((((code) & ~0x3u) == 0xC4) ? 4 : 0) + ((code) & 0x3u))
184 #define KBASE_MMU_FAULT_CODE_VALID(code) \
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_linux_trace.h90 /* Fault status and exception code helpers
94 * bits 0:1 masked off code, and used for the level
104 * for __print_symbolic() whilst also being able to use them outside trace code
108 #define KBASE_MMU_FAULT_CODE_EXCEPTION_NAME_PRINT(code) \
109 (!KBASE_MMU_FAULT_CODE_VALID(code) ? "UNKNOWN,level=" \
110 : __print_symbolic(((code) & ~3u), KBASE_MMU_FAULT_CODE_SYMBOLIC_STRINGS))
111 #define KBASE_MMU_FAULT_CODE_LEVEL(code) (((((code) & ~0x3u) == 0xC4) ? 4 : 0) + ((code)&0x3u))
129 #define KBASE_MMU_FAULT_CODE_VALID(code) \
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/hid/
H A Dhid-input.c74 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode()
138 ke->keycode = usage->type == EV_KEY ? usage->code : KEY_RESERVED; in hidinput_getkeycode()
156 *old_keycode = usage->type == EV_KEY ? usage->code : KEY_RESERVED; in hidinput_setkeycode()
157 usage->code = ke->keycode; in hidinput_setkeycode()
160 set_bit(usage->code, dev->keybit); in hidinput_setkeycode()
161 dbg_hid("Assigned keycode %d to HID usage code %x\n", usage->code, usage->hid); in hidinput_setkeycode()
180 * @code: axis code
192 __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code) in hidinput_calc_abs_res() argument
542 int max = 0, code; hidinput_configure_usage() local
1725 int code; hidinput_handle_scroll() local
1910 hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field) hidinput_find_field() argument
2023 hidinput_input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) hidinput_input_event() argument
[all...]
/device/qemu/riscv32_virt/liteos_m/board/ui/
H A Dinput_dev.cpp64 if (pkgs[i]->code == REL_X) in ReportEventPkgCallback()
66 else if (pkgs[i]->code == REL_Y) in ReportEventPkgCallback()
69 if (pkgs[i]->code == ABS_X) in ReportEventPkgCallback()
71 else if (pkgs[i]->code == ABS_Y) in ReportEventPkgCallback()
74 if (pkgs[i]->code == BTN_MOUSE || pkgs[i]->code == BTN_TOUCH) { in ReportEventPkgCallback()
81 if (pkgs[i]->code == SYN_REPORT) { in ReportEventPkgCallback()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
H A Dpdu.h134 /* Determines the class of response code C */
140 * code. This function returns @c NULL if not found.
142 * @param code The response code for which the literal phrase should be
148 const char *coap_response_phrase(unsigned char code);
173 #if 0 /* these response codes do not have a valid code any more */
289 uint8_t code; /**< request method (value 1--10) or response code (value 40-255) */ member
312 #define COAP_PDU_IS_EMPTY(pdu) ((pdu)->code == 0)
313 #define COAP_PDU_IS_REQUEST(pdu) (!COAP_PDU_IS_EMPTY(pdu) && (pdu)->code < 3
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/thermal/
H A Drockchip_thermal.c117 * @get_trim_code: get the trim code by otp value
118 * @trim_temp: get trim temp by trim code
141 int (*get_trim_code)(struct platform_device *pdev, int code, int trim_base);
284 * struct tsadc_table - code to temperature conversion table
285 * @code: the value of adc channel
288 * code to temperature mapping of the temperature sensor is a piece wise linear
289 * curve.Any temperature, code faling between to 2 give temperatures can be
294 u32 code; member
416 /* Return mask code data when the temp is over table range */ in rk_tsadcv2_temp_to_code()
423 return table->id[mid].code; in rk_tsadcv2_temp_to_code()
457 rk_tsadcv2_code_to_temp(const struct chip_tsadc_table *table, u32 code, int *temp) rk_tsadcv2_code_to_temp() argument
829 rk_tsadcv1_get_trim_code(struct platform_device *pdev, int code, int trim_base) rk_tsadcv1_get_trim_code() argument
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/prot/
H A Dicmp.h13 * 1. Redistributions of source code must retain the above copyright notice,
71 PACK_STRUCT_FLD_8(u8_t code);
81 /* Compatibility defines, old versions used to combine type and code to an u16_t */
83 #define ICMPH_CODE(hdr) ((hdr)->code)
85 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c))
H A Dnd6.h13 * 1. Redistributions of source code must retain the above copyright notice,
55 PACK_STRUCT_FLD_8(u8_t code);
73 PACK_STRUCT_FLD_8(u8_t code);
95 PACK_STRUCT_FLD_8(u8_t code);
133 PACK_STRUCT_FLD_8(u8_t code);
154 PACK_STRUCT_FLD_8(u8_t code);
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Ddev.c16 * - Redistributions of source code must retain the above
413 u32 i, width, height, code; in _set_pipeline_default_fmt() local
422 code = fmt.format.code; in _set_pipeline_default_fmt()
438 if ((code & RKISP_MEDIA_BUS_FMT_MASK) == RKISP_MEDIA_BUS_FMT_BAYER) { in _set_pipeline_default_fmt()
439 fmt.format.code = MEDIA_BUS_FMT_YUYV8_2X8; in _set_pipeline_default_fmt()
459 code = dev->active_sensor->fmt[1].format.code; in _set_pipeline_default_fmt()
460 rkisp_set_stream_def_fmt(dev, RKISP_STREAM_DMATX0, width, height, rkisp_mbus_pixelcode_to_v4l2(code)); in _set_pipeline_default_fmt()
464 code in _set_pipeline_default_fmt()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Ddev.c16 * - Redistributions of source code must retain the above
381 u32 i, width, height, code; in _set_pipeline_default_fmt() local
389 code = fmt.format.code; in _set_pipeline_default_fmt()
405 if ((code & RKISP_MEDIA_BUS_FMT_MASK) == RKISP_MEDIA_BUS_FMT_BAYER) in _set_pipeline_default_fmt()
406 fmt.format.code = MEDIA_BUS_FMT_YUYV8_2X8; in _set_pipeline_default_fmt()
427 code = dev->active_sensor->fmt[1].format.code; in _set_pipeline_default_fmt()
429 width, height, rkisp_mbus_pixelcode_to_v4l2(code)); in _set_pipeline_default_fmt()
433 code in _set_pipeline_default_fmt()
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/rockchip/
H A Dcpu.h47 static inline void rockchip_set_cpu(unsigned long code) in rockchip_set_cpu() argument
49 if (!code) { in rockchip_set_cpu()
54 rockchip_soc_id |= (code << ROCKCHIP_CPU_SHIFT) & ROCKCHIP_CPU_MASK; in rockchip_set_cpu()
69 static inline void rockchip_set_cpu(unsigned long code) in rockchip_set_cpu() argument
/device/soc/rockchip/rk3588/kernel/include/linux/rockchip/
H A Dcpu.h49 static inline void rockchip_set_cpu(unsigned long code) in rockchip_set_cpu() argument
51 if (!code) in rockchip_set_cpu()
55 rockchip_soc_id |= (code << ROCKCHIP_CPU_SHIFT) & ROCKCHIP_CPU_MASK; in rockchip_set_cpu()
73 static inline void rockchip_set_cpu(unsigned long code) in rockchip_set_cpu() argument
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dbinder.h65 unsigned int code, bool pending_async),
66 TP_ARGS(caller_task, binder_proc_task, binder_th_task, node_debug_id, code, pending_async));
69 struct task_struct *binder_th_task, unsigned int code,
71 TP_ARGS(caller_task, binder_proc_task, binder_th_task, code, pending_async, sync));
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_kernel_common.h39 * - MALI_DEBUG_CODE( X ) The code inside the macro is only compiled in Debug builds.
52 * Fundamental error macro. Reports an error code. This is abstracted to allow us to
72 * from this function with the supplied error code. This is a macro so that we can override it
89 * as an error code. This effectively acts as a guard clause, and propagates
111 * which this macro appears. This is most usually used to execute some clean-up code before
154 #define MALI_DEBUG_CODE(code) (code)
207 #define MALI_DEBUG_CODE(code)
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_kernel_common.h29 * - MALI_DEBUG_CODE( X ) The code inside the macro is only compiled in Debug builds.
42 * Fundamental error macro. Reports an error code. This is abstracted to allow us to
62 * from this function with the supplied error code. This is a macro so that we can override it
75 * as an error code. This effectively acts as a guard clause, and propagates
96 * which this macro appears. This is most usually used to execute some clean-up code before
133 #define MALI_DEBUG_CODE(code) code
160 #define MALI_DEBUG_CODE(code)

Completed in 13 milliseconds

12345