/third_party/libinput/tools/ |
H A D | libinput-debug-events.c | 318 enum libinput_key_state state; in print_key_event() local 323 state = libinput_event_keyboard_get_key_state(k); in print_key_event() 336 state == LIBINPUT_KEY_STATE_PRESSED ? "pressed" : "released"); in print_key_event() 370 enum libinput_button_state state; in print_pointer_button_event() local 379 state = libinput_event_pointer_get_button_state(p); in print_pointer_button_event() 383 state == LIBINPUT_BUTTON_STATE_PRESSED ? "pressed" : "released", in print_pointer_button_event() 459 enum libinput_tablet_tool_tip_state state; in print_tablet_tip_event() local 465 state = libinput_event_tablet_tool_get_tip_state(t); in print_tablet_tip_event() 466 printq(" %s\n", state == LIBINPUT_TABLET_TOOL_TIP_DOWN ? "down" : "up"); in print_tablet_tip_event() 473 enum libinput_button_state state; in print_tablet_button_event() local 554 enum libinput_tablet_tool_proximity_state state; print_proximity_event() local 725 enum libinput_button_state state; print_tablet_pad_button_event() local 801 enum libinput_key_state state; print_tablet_pad_key_event() local 826 enum libinput_switch_state state; print_switch_event() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_bmap.c | 1112 "Offset 0x%llx, start block 0x%llx, block count 0x%llx state 0x%x", in xfs_bmap_complain_bad_rec() 1418 int i; /* temp state */ in xfs_bmap_add_extent_delay_real() 1423 uint32_t state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_delay_real() local 1458 state |= BMAP_LEFT_FILLING; in xfs_bmap_add_extent_delay_real() 1460 state |= BMAP_RIGHT_FILLING; in xfs_bmap_add_extent_delay_real() 1467 state |= BMAP_LEFT_VALID; in xfs_bmap_add_extent_delay_real() 1469 state |= BMAP_LEFT_DELAY; in xfs_bmap_add_extent_delay_real() 1472 if ((state & BMAP_LEFT_VALID) && !(state & BMAP_LEFT_DELAY) && in xfs_bmap_add_extent_delay_real() 1477 state | in xfs_bmap_add_extent_delay_real() 1974 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_add_extent_unwritten_real() local 2503 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_add_extent_hole_delay() local 2650 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_add_extent_hole_real() local 4813 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_del_extent_delay() local 4938 uint32_t state = BMAP_COWFORK; xfs_bmap_del_extent_cow() local 5027 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_del_extent_real() local [all...] |
/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-pca9532.c | 123 data->leds[i].state == PCA9532_PWM0+pwm) { in pca9532_calcpwm() 169 reg = reg | (led->state << LED_SHIFT(led->id)); in pca9532_setled() 181 led->state = PCA9532_OFF; in pca9532_set_brightness() 183 led->state = PCA9532_ON; in pca9532_set_brightness() 185 led->state = PCA9532_PWM0; /* Thecus: hardcode one pwm */ in pca9532_set_brightness() 190 if (led->state == PCA9532_PWM0) in pca9532_set_brightness() 217 if (led->state == PCA9532_PWM0) in pca9532_set_blink() 288 led->state = PCA9532_ON; in pca9532_gpio_set_value() 290 led->state = PCA9532_OFF; in pca9532_gpio_set_value() 382 if (pled->state in pca9532_configure() 474 const char *state; pca9532_of_populate_pdata() local [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-ocores.c | 44 int state; /* see STATE_ */ member 171 if ((i2c->state == STATE_DONE) || (i2c->state == STATE_ERROR)) { in ocores_process() 180 i2c->state = STATE_ERROR; in ocores_process() 185 if ((i2c->state == STATE_START) || (i2c->state == STATE_WRITE)) { in ocores_process() 186 i2c->state = in ocores_process() 190 i2c->state = STATE_ERROR; in ocores_process() 210 i2c->state = STATE_START; in ocores_process() 216 i2c->state in ocores_process() [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | file.c | 205 * @state: state in dfa 208 * TODO: convert from dfa + state to permission entry, do computation conversion 213 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms() argument 224 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms() 225 perms.audit = map_old_perms(dfa_user_audit(dfa, state)); in aa_compute_fperms() 226 perms.quiet = map_old_perms(dfa_user_quiet(dfa, state)); in aa_compute_fperms() 227 perms.xindex = dfa_user_xindex(dfa, state); in aa_compute_fperms() 229 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms() 230 perms.audit = map_old_perms(dfa_other_audit(dfa, state)); in aa_compute_fperms() 259 unsigned int state; aa_str_perms() local 365 unsigned int state; profile_path_link() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_hvs.c | 165 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_lut_load() 187 struct drm_color_lut *lut = crtc->state->gamma_lut->data; in vc4_hvs_update_gamma_lut() 188 u32 length = drm_color_lut_size(crtc->state->gamma_lut); in vc4_hvs_update_gamma_lut() 256 struct vc4_crtc_state *vc4_crtc_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_init_channel() 330 struct drm_crtc_state *state) in vc4_hvs_atomic_check() 332 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_hvs_atomic_check() 344 if (hweight32(state->connector_mask) > 1) in vc4_hvs_atomic_check() 347 drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, state) in vc4_hvs_atomic_check() 367 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_update_dlist() 369 if (crtc->state in vc4_hvs_update_dlist() 329 vc4_hvs_atomic_check(struct drm_crtc *crtc, struct drm_crtc_state *state) vc4_hvs_atomic_check() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 65 /* Tracking state for tolerating errors */ 77 enum pvr2_buffer_state state; member 102 "buffer%s%s %p state=%s id=%d status=%d stream=%p purb=%p sig=0x%x", in pvr2_buffer_describe() 106 (bp ? pvr2_buffer_state_decode(bp->state) : "(invalid)"), in pvr2_buffer_describe() 121 switch (bp->state) { in pvr2_buffer_remove() 145 pvr2_buffer_state_decode(bp->state), *bcnt, *cnt); in pvr2_buffer_remove() 146 bp->state = pvr2_buffer_state_none; in pvr2_buffer_remove() 158 pvr2_buffer_state_decode(bp->state), in pvr2_buffer_set_none() 175 pvr2_buffer_state_decode(bp->state), in pvr2_buffer_set_ready() 181 bp->state in pvr2_buffer_set_ready() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 65 /* Tracking state for tolerating errors */ 77 enum pvr2_buffer_state state; member 102 "buffer%s%s %p state=%s id=%d status=%d stream=%p purb=%p sig=0x%x", in pvr2_buffer_describe() 106 (bp ? pvr2_buffer_state_decode(bp->state) : "(invalid)"), in pvr2_buffer_describe() 121 switch (bp->state) { in pvr2_buffer_remove() 145 pvr2_buffer_state_decode(bp->state), *bcnt, *cnt); in pvr2_buffer_remove() 146 bp->state = pvr2_buffer_state_none; in pvr2_buffer_remove() 158 pvr2_buffer_state_decode(bp->state), in pvr2_buffer_set_none() 175 pvr2_buffer_state_decode(bp->state), in pvr2_buffer_set_ready() 181 bp->state in pvr2_buffer_set_ready() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_rx.c | 24 static int mlx5e_query_rq_state(struct mlx5_core_dev *dev, u32 rqn, u8 *state) in mlx5e_query_rq_state() argument 40 *state = MLX5_GET(rqc, rqc, state); in mlx5e_query_rq_state() 83 u8 state; in mlx5e_rx_reporter_err_icosq_cqe_recover() local 92 if (test_bit(MLX5E_RQ_STATE_ENABLED, &icosq->channel->xskrq.state)) in mlx5e_rx_reporter_err_icosq_cqe_recover() 96 err = mlx5_core_query_sq_state(mdev, icosq->sqn, &state); in mlx5e_rx_reporter_err_icosq_cqe_recover() 98 netdev_err(dev, "Failed to query ICOSQ 0x%x state. err = %d\n", in mlx5e_rx_reporter_err_icosq_cqe_recover() 103 if (state != MLX5_SQC_STATE_ERR) in mlx5e_rx_reporter_err_icosq_cqe_recover() 128 clear_bit(MLX5E_SQ_STATE_RECOVERING, &icosq->state); in mlx5e_rx_reporter_err_icosq_cqe_recover() 145 clear_bit(MLX5E_SQ_STATE_RECOVERING, &icosq->state); in mlx5e_rx_reporter_err_icosq_cqe_recover() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-ocores.c | 44 int state; /* see STATE_ */ member 170 if ((i2c->state == STATE_DONE) || (i2c->state == STATE_ERROR)) { in ocores_process() 179 i2c->state = STATE_ERROR; in ocores_process() 184 if ((i2c->state == STATE_START) || (i2c->state == STATE_WRITE)) { in ocores_process() 185 i2c->state = in ocores_process() 189 i2c->state = STATE_ERROR; in ocores_process() 209 i2c->state = STATE_START; in ocores_process() 215 i2c->state in ocores_process() [all...] |
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-pca9532.c | 121 data->leds[i].state == PCA9532_PWM0+pwm) { in pca9532_calcpwm() 167 reg = reg | (led->state << LED_SHIFT(led->id)); in pca9532_setled() 179 led->state = PCA9532_OFF; in pca9532_set_brightness() 181 led->state = PCA9532_ON; in pca9532_set_brightness() 183 led->state = PCA9532_PWM0; /* Thecus: hardcode one pwm */ in pca9532_set_brightness() 188 if (led->state == PCA9532_PWM0) in pca9532_set_brightness() 215 if (led->state == PCA9532_PWM0) in pca9532_set_blink() 286 led->state = PCA9532_ON; in pca9532_gpio_set_value() 288 led->state = PCA9532_OFF; in pca9532_gpio_set_value() 375 if (pled->state in pca9532_configure() 467 const char *state; pca9532_of_populate_pdata() local [all...] |
/third_party/curl/lib/ |
H A D | asyn-thread.c | 99 * URL-state specific environment ('resolver' member of the UrlState 114 * URL-state specific environment ('resolver' member of the UrlState 124 * Called from curl_easy_duphandle() to duplicate resolver URL state-specific 140 destroy_async_data(&data->state.async); in Curl_resolver_cancel() 193 return &(data->state.async.tdata->tsd); in conn_thread_sync_data() 605 struct Curl_async *asp = &data->state.async; in init_resolve_thread() 607 data->state.async.tdata = td; in init_resolve_thread() 703 td = data->state.async.tdata; in thread_wait_resolv() 728 data->state.async.done = TRUE; in thread_wait_resolv() 731 *entry = data->state in thread_wait_resolv() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
H A D | XLikelySubtags.java | 278 long state; in maximize() 283 (state = trieFirstLetterStates[c0]) != 0) { in maximize() 284 value = trieNext(iter.resetToState64(state), language, 1); in maximize() 292 state = iter.getState64(); in maximize() 296 state = 0; in maximize() 313 state = iter.getState64(); in maximize() 316 if (state == 0) { in maximize() 319 iter.resetToState64(state); in maximize() 322 state = iter.getState64(); in maximize() 340 if (state in maximize() [all...] |
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | usbd_video.c | 205 if (uvc->state == UVC_STATE_IDLE) in uvc_wait_host_sub() 207 uvc->state = UVC_STATE_CONN; in uvc_wait_host_sub() 316 uvc->state = UVC_STATE_IDLE; in uvc_open_device() 341 switch (uvc->state) in uvc_video_tran_stop() 357 /* update UVC handle state */ in uvc_video_tran_stop() 361 uvc->state = fuvc_host_connected(uvc->fuvc) ? UVC_STATE_CONN : UVC_STATE_IDLE; in uvc_video_tran_stop() 365 uvc->state = UVC_STATE_IDLE; in uvc_video_tran_stop() 401 if (uvc->state == UVC_STATE_TRAN_COPY || in uvc_close_device() 402 uvc->state == UVC_STATE_TRAN_NOCP) in uvc_close_device() 426 int uvc_get_state(uvc_t hdl, uint32_t *state) in uvc_get_state() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
H A D | XLikelySubtags.java | 283 long state; in maximize() 288 (state = trieFirstLetterStates[c0]) != 0) { in maximize() 289 value = trieNext(iter.resetToState64(state), language, 1); in maximize() 297 state = iter.getState64(); in maximize() 301 state = 0; in maximize() 318 state = iter.getState64(); in maximize() 321 if (state == 0) { in maximize() 324 iter.resetToState64(state); in maximize() 327 state = iter.getState64(); in maximize() 345 if (state in maximize() [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_autotune.c | 125 #define APPEND_TO_HASH(state, field) \ 126 XXH64_update(state, &field, sizeof(field)); 143 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->view.width); in hash_renderpass_instance() 144 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->view.height); in hash_renderpass_instance() 145 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->image->vk.format); in hash_renderpass_instance() 146 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->image->vk.array_layers); in hash_renderpass_instance() 147 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->image->vk.mip_levels); in hash_renderpass_instance() 476 if (cmd_buffer->state.rp.drawcall_count > 5) in fallback_use_bypass() 490 const VkExtent2D *extent = &cmd->state.render_area.extent; in get_render_pass_pixel_count() 498 const struct tu_cmd_state *state in estimate_drawcall_bandwidth() local [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | core.c | 62 * pinctrl_provide_dummies() - indicate if pinctrl provides dummy state support 67 * with creating a dummy state for the driver to keep going smoothly. 917 struct pinctrl_state *state; in find_state() local 919 list_for_each_entry(state, &p->states, node) in find_state() 920 if (!strcmp(state->name, name)) in find_state() 921 return state; in find_state() 929 struct pinctrl_state *state; in create_state() local 931 state = kzalloc(sizeof(*state), GFP_KERNEL); in create_state() 932 if (!state) in create_state() 946 struct pinctrl_state *state; add_setting() local 1157 struct pinctrl_state *state, *n1; pinctrl_free() local 1208 struct pinctrl_state *state; pinctrl_lookup_state() local 1239 pinctrl_commit_state(struct pinctrl *p, struct pinctrl_state *state) pinctrl_commit_state() argument 1318 pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *state) pinctrl_select_state() argument 1531 pinctrl_select_bound_state(struct device *dev, struct pinctrl_state *state) pinctrl_select_bound_state() argument 1823 struct pinctrl_state *state; pinctrl_show() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 24 int (*crtc_compute_clock)(struct intel_atomic_state *state, 26 int (*crtc_get_shared_dpll)(struct intel_atomic_state *state, 417 * single/dual channel state, if we even can. in i9xx_select_p2_div() 936 static int hsw_crtc_compute_clock(struct intel_atomic_state *state, in hsw_crtc_compute_clock() argument 939 struct drm_i915_private *dev_priv = to_i915(state->base.dev); in hsw_crtc_compute_clock() 941 intel_atomic_get_new_crtc_state(state, crtc); in hsw_crtc_compute_clock() 943 intel_get_crtc_new_encoder(state, crtc_state); in hsw_crtc_compute_clock() 950 ret = intel_compute_shared_dplls(state, crtc, encoder); in hsw_crtc_compute_clock() 965 static int hsw_crtc_get_shared_dpll(struct intel_atomic_state *state, in hsw_crtc_get_shared_dpll() argument 968 struct drm_i915_private *dev_priv = to_i915(state in hsw_crtc_get_shared_dpll() 981 dg2_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) dg2_crtc_compute_clock() argument 999 mtl_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) mtl_crtc_compute_clock() argument 1140 ilk_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) ilk_crtc_compute_clock() argument 1195 ilk_crtc_get_shared_dpll(struct intel_atomic_state *state, struct intel_crtc *crtc) ilk_crtc_get_shared_dpll() argument 1243 chv_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) chv_crtc_compute_clock() argument 1268 vlv_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) vlv_crtc_compute_clock() argument 1294 g4x_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) g4x_crtc_compute_clock() argument 1341 pnv_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) pnv_crtc_compute_clock() argument 1377 i9xx_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) i9xx_crtc_compute_clock() argument 1415 i8xx_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) i8xx_crtc_compute_clock() argument 1495 intel_dpll_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) intel_dpll_crtc_compute_clock() argument 1521 intel_dpll_crtc_get_shared_dpll(struct intel_atomic_state *state, struct intel_crtc *crtc) intel_dpll_crtc_get_shared_dpll() argument 2075 assert_pll(struct drm_i915_private *dev_priv, enum pipe pipe, bool state) assert_pll() argument [all...] |
/kernel/linux/linux-6.6/arch/arm64/include/asm/stacktrace/ |
H A D | nvhe.h | 26 * @state : unwind_state to initialize 30 static inline void kvm_nvhe_unwind_init(struct unwind_state *state, in kvm_nvhe_unwind_init() argument 34 unwind_init_common(state, NULL); in kvm_nvhe_unwind_init() 36 state->fp = fp; in kvm_nvhe_unwind_init() 37 state->pc = pc; in kvm_nvhe_unwind_init()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-gpio.h | 13 int mxl111sf_set_gpio(struct mxl111sf_state *state, int gpio, int val); 14 int mxl111sf_init_port_expander(struct mxl111sf_state *state); 19 int mxl111sf_gpio_mode_switch(struct mxl111sf_state *state, unsigned int mode); 34 int mxl111sf_config_pin_mux_modes(struct mxl111sf_state *state,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun4i_layer.h | 22 struct drm_plane_state state; member 34 state_to_sun4i_layer_state(struct drm_plane_state *state) in state_to_sun4i_layer_state() argument 36 return container_of(state, struct sun4i_layer_state, state); in state_to_sun4i_layer_state()
|
/kernel/linux/linux-5.10/include/crypto/internal/ |
H A D | poly1305.h | 23 static inline void poly1305_core_init(struct poly1305_state *state) in poly1305_core_init() argument 25 *state = (struct poly1305_state){}; in poly1305_core_init() 28 void poly1305_core_blocks(struct poly1305_state *state, 31 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
|
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-gpio.h | 13 int mxl111sf_set_gpio(struct mxl111sf_state *state, int gpio, int val); 14 int mxl111sf_init_port_expander(struct mxl111sf_state *state); 19 int mxl111sf_gpio_mode_switch(struct mxl111sf_state *state, unsigned int mode); 34 int mxl111sf_config_pin_mux_modes(struct mxl111sf_state *state,
|
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | poly1305.h | 23 static inline void poly1305_core_init(struct poly1305_state *state) in poly1305_core_init() argument 25 *state = (struct poly1305_state){}; in poly1305_core_init() 28 void poly1305_core_blocks(struct poly1305_state *state, 31 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun4i_layer.h | 22 struct drm_plane_state state; member 34 state_to_sun4i_layer_state(struct drm_plane_state *state) in state_to_sun4i_layer_state() argument 36 return container_of(state, struct sun4i_layer_state, state); in state_to_sun4i_layer_state()
|