/kernel/linux/linux-5.10/lib/dim/ |
H A D | rdma_dim.c | 47 u8 state = dim->tune_state; in rdma_dim_decision() local 51 if (state != DIM_PARKING_ON_TOP && state != DIM_PARKING_TIRED) { in rdma_dim_decision() 86 switch (dim->state) { in rdma_dim() 94 dim->state = DIM_APPLY_NEW_PROFILE; in rdma_dim() 100 dim->state = DIM_MEASURE_IN_PROGRESS; in rdma_dim()
|
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_private_mrp.h | 53 enum br_mrp_port_state_type state); 57 struct br_mrp_ring_state *state); 60 int br_mrp_set_in_state(struct net_bridge *br, struct br_mrp_in_state *state); 71 enum br_mrp_ring_state_type state); 75 int br_mrp_port_switchdev_set_state(struct net_bridge_port *p, u32 state); 82 enum br_mrp_in_state_type state);
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | pm.c | 158 enum ieee80211_sta_state state; in __ieee80211_suspend() local 160 state = sta->sta_state; in __ieee80211_suspend() 161 for (; state > IEEE80211_STA_NOTEXIST; state--) in __ieee80211_suspend() 163 sta, state, in __ieee80211_suspend() 164 state - 1)); in __ieee80211_suspend()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/ |
H A D | tidss_dispc.h | 101 const struct drm_crtc_state *state); 103 const struct drm_crtc_state *state); 109 const struct drm_crtc_state *state); 118 const struct drm_crtc_state *state, bool newmodeset); 124 const struct drm_plane_state *state, 127 const struct drm_plane_state *state,
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | sha1_base.h | 24 sctx->state[0] = SHA1_H0; in sha1_base_init() 25 sctx->state[1] = SHA1_H1; in sha1_base_init() 26 sctx->state[2] = SHA1_H2; in sha1_base_init() 27 sctx->state[3] = SHA1_H3; in sha1_base_init() 28 sctx->state[4] = SHA1_H4; in sha1_base_init() 102 put_unaligned_be32(sctx->state[i], digest++); in sha1_base_finish()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/spctrl/src/ |
H A D | spctrl.c | 162 /* Query the state of SP1 */ 165 ia_css_spctrl_sp_sw_state state = 0; in ia_css_spctrl_get_state() local 174 state = sp_dmem_load_uint32(sp_id, (unsigned int)sp_address_of(sp_sw_state)); in ia_css_spctrl_get_state() 175 return state; in ia_css_spctrl_get_state() 180 int state = 0; in ia_css_spctrl_is_idle() local 184 state = sp_ctrl_getbit(sp_id, SP_SC_REG, SP_IDLE_BIT); in ia_css_spctrl_is_idle() 185 return state; in ia_css_spctrl_is_idle()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | context_tracking.h | 17 extern void __context_tracking_enter(enum ctx_state state); 18 extern void __context_tracking_exit(enum ctx_state state); 20 extern void context_tracking_enter(enum ctx_state state); 21 extern void context_tracking_exit(enum ctx_state state); 57 prev_ctx = this_cpu_read(context_tracking.state); in exception_enter() 74 * ct_state() - return the current context tracking state if known 76 * Returns the current cpu's context tracking state if context tracking 83 this_cpu_read(context_tracking.state) : CONTEXT_DISABLED; in ct_state() 122 * one time slice). Lets treat guest mode as quiescent state, just like in guest_enter_irqoff()
|
/kernel/linux/linux-6.6/drivers/media/usb/uvc/ |
H A D | uvc_isight.c | 59 if (buf->state != UVC_BUF_STATE_ACTIVE) { in isight_decode() 66 buf->state = UVC_BUF_STATE_ACTIVE; in isight_decode() 76 buf->state = UVC_BUF_STATE_DONE; in isight_decode() 94 buf->state = UVC_BUF_STATE_DONE; in isight_decode() 134 if (buf->state == UVC_BUF_STATE_DONE || in uvc_video_decode_isight() 135 buf->state == UVC_BUF_STATE_ERROR) in uvc_video_decode_isight()
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | sha1_base.h | 25 sctx->state[0] = SHA1_H0; in sha1_base_init() 26 sctx->state[1] = SHA1_H1; in sha1_base_init() 27 sctx->state[2] = SHA1_H2; in sha1_base_init() 28 sctx->state[3] = SHA1_H3; in sha1_base_init() 29 sctx->state[4] = SHA1_H4; in sha1_base_init() 103 put_unaligned_be32(sctx->state[i], digest++); in sha1_base_finish()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | led-class-flash.h | 40 /* set flash strobe state */ 41 int (*strobe_set)(struct led_classdev_flash *fled_cdev, bool state); 42 /* get flash strobe state */ 43 int (*strobe_get)(struct led_classdev_flash *fled_cdev, bool *state); 157 * @state: 1 - strobe flash, 0 - stop flash strobe 164 bool state) in led_set_flash_strobe() 168 return fled_cdev->ops->strobe_set(fled_cdev, state); in led_set_flash_strobe() 174 * @state: 1 - flash is strobing, 0 - flash is off 181 bool *state) in led_get_flash_strobe() 186 return fled_cdev->ops->strobe_get(fled_cdev, state); in led_get_flash_strobe() 163 led_set_flash_strobe(struct led_classdev_flash *fled_cdev, bool state) led_set_flash_strobe() argument 180 led_get_flash_strobe(struct led_classdev_flash *fled_cdev, bool *state) led_get_flash_strobe() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/spctrl/src/ |
H A D | spctrl.c | 161 /* Query the state of SP1 */ 164 ia_css_spctrl_sp_sw_state state = 0; in ia_css_spctrl_get_state() local 173 state = sp_dmem_load_uint32(sp_id, (unsigned int)sp_address_of(sp_sw_state)); in ia_css_spctrl_get_state() 174 return state; in ia_css_spctrl_get_state() 179 int state = 0; in ia_css_spctrl_is_idle() local 183 state = sp_ctrl_getbit(sp_id, SP_SC_REG, SP_IDLE_BIT); in ia_css_spctrl_is_idle() 184 return state; in ia_css_spctrl_is_idle()
|
/kernel/linux/linux-6.6/drivers/soc/qcom/ |
H A D | trace-rpmh.h | 41 TP_PROTO(struct rsc_drv *d, int m, enum rpmh_state state, int n, u32 h, 44 TP_ARGS(d, m, state, n, h, c), 49 __field(u32, state) 60 __entry->state = state; 70 __print_symbolic(__entry->state,
|
/kernel/linux/linux-6.6/drivers/pwm/ |
H A D | pwm-clps711x.c | 41 const struct pwm_state *state) in clps711x_pwm_apply() 49 if (state->polarity != PWM_POLARITY_NORMAL) in clps711x_pwm_apply() 52 if (state->period != pwm->args.period) in clps711x_pwm_apply() 55 if (state->enabled) in clps711x_pwm_apply() 56 val = mul_u64_u64_div_u64(state->duty_cycle, 0xf, state->period); in clps711x_pwm_apply() 40 clps711x_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) clps711x_pwm_apply() argument
|
/kernel/linux/linux-6.6/drivers/clk/imx/ |
H A D | clk-lpcg-scu.c | 38 /* for state save&restore */ 39 u32 state; member 138 clk->state = readl_relaxed(clk->reg); in imx_clk_lpcg_scu_suspend() 139 dev_dbg(dev, "save lpcg state 0x%x\n", clk->state); in imx_clk_lpcg_scu_suspend() 153 writel(clk->state, clk->reg); in imx_clk_lpcg_scu_resume() 154 writel(clk->state, clk->reg); in imx_clk_lpcg_scu_resume() 155 dev_dbg(dev, "restore lpcg state 0x%x\n", clk->state); in imx_clk_lpcg_scu_resume()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | chacha_generic.c | 19 u32 state[16]; in chacha_stream_xor() local 24 chacha_init_generic(state, ctx->key, iv); in chacha_stream_xor() 32 chacha_crypt_generic(state, walk.dst.virt.addr, in chacha_stream_xor() 53 u32 state[16]; in crypto_xchacha_crypt() local 57 chacha_init_generic(state, ctx->key, req->iv); in crypto_xchacha_crypt() 58 hchacha_block_generic(state, subctx.key, ctx->nrounds); in crypto_xchacha_crypt()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | wndwc67e.c | 64 NVVAL(NVC57E, SET_POINT_IN, X, asyw->state.src_x >> 16) | in wndwc67e_image_set() 65 NVVAL(NVC57E, SET_POINT_IN, Y, asyw->state.src_y >> 16)); in wndwc67e_image_set() 68 NVVAL(NVC57E, SET_SIZE_IN, WIDTH, asyw->state.src_w >> 16) | in wndwc67e_image_set() 69 NVVAL(NVC57E, SET_SIZE_IN, HEIGHT, asyw->state.src_h >> 16)); in wndwc67e_image_set() 72 NVVAL(NVC57E, SET_SIZE_OUT, WIDTH, asyw->state.crtc_w) | in wndwc67e_image_set() 73 NVVAL(NVC57E, SET_SIZE_OUT, HEIGHT, asyw->state.crtc_h)); in wndwc67e_image_set()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
H A D | sti_plane.c | 46 struct drm_plane_state *state = plane->drm_plane.state; in sti_plane_update_fps() local 73 if (state->fb) { in sti_plane_update_fps() 78 state->fb->width, in sti_plane_update_fps() 79 state->fb->height, in sti_plane_update_fps() 80 (char *)&state->fb->format->format, in sti_plane_update_fps()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tidss/ |
H A D | tidss_dispc.h | 103 const struct drm_crtc_state *state); 105 const struct drm_crtc_state *state); 111 const struct drm_crtc_state *state); 120 const struct drm_crtc_state *state, bool newmodeset); 126 const struct drm_plane_state *state, 129 const struct drm_plane_state *state,
|
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | gpio_decoder.c | 49 int state; in gpio_decoder_poll_gpios() local 51 state = gpio_decoder_get_gpios_state(decoder); in gpio_decoder_poll_gpios() 52 if (state >= 0 && state != decoder->last_stable) { in gpio_decoder_poll_gpios() 53 input_report_abs(input, decoder->axis, state); in gpio_decoder_poll_gpios() 55 decoder->last_stable = state; in gpio_decoder_poll_gpios()
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | libxed.py | 38 self.state = xed_state_t() 39 self.statep = addressof(self.state) 85 inst.state.mode = 4 # 32-bit 86 inst.state.width = 4 # 4 bytes 88 inst.state.mode = 1 # 64-bit 89 inst.state.width = 8 # 8 bytes
|
/kernel/linux/linux-6.6/drivers/s390/cio/ |
H A D | vfio_ccw_trace.h | 81 TP_PROTO(struct subchannel_id schid, int state, int event), 82 TP_ARGS(schid, state, event), 88 __field(int, state) 96 __entry->state = state; 100 TP_printk("schid=%x.%x.%04x state=%d event=%d", 102 __entry->state,
|
/kernel/linux/linux-6.6/lib/dim/ |
H A D | rdma_dim.c | 47 u8 state = dim->tune_state; in rdma_dim_decision() local 51 if (state != DIM_PARKING_ON_TOP && state != DIM_PARKING_TIRED) { in rdma_dim_decision() 86 switch (dim->state) { in rdma_dim() 94 dim->state = DIM_APPLY_NEW_PROFILE; in rdma_dim() 100 dim->state = DIM_MEASURE_IN_PROGRESS; in rdma_dim()
|
/kernel/linux/linux-6.6/tools/laptop/dslm/ |
H A D | dslm.c | 32 int state; in check_powermode() local 38 state = -1; /* "unknown"; */ in check_powermode() 40 state = 0; /* "sleeping"; */ in check_powermode() 42 state = (args[2] == 255) ? 1 : 0; in check_powermode() 44 D(printf(" drive state is: %d\n", state)); in check_powermode() 46 return state; in check_powermode() 85 printf(" System is in state %s\n\n", state_name(last_state)); in measure() 114 printf(" Time in sleep state: %lus (%.2f%%)\n", sleep_time, tmp); in measure() 116 printf(" Time in active state in measure() [all...] |
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | h264_cabac.c | 35 uint8_t *state = significant_coeff_ctx_base; in decode_significance_loongarch() local 45 "add.d %[state], %[state], %[last_off] \n\t" in decode_significance_loongarch() 51 "sub.d %[state], %[state], %[last_off] \n\t" in decode_significance_loongarch() 52 "add.d %[tmp0], %[state], %[minusstart] \n\t" in decode_significance_loongarch() 57 "addi.d %[state], %[state], 1 \n\t" in decode_significance_loongarch() 58 "blt %[state], %[end], 3b \n\t" in decode_significance_loongarch() 59 "add.d %[tmp0], %[state], in decode_significance_loongarch() 90 uint8_t *state = 0; decode_significance_8x8_loongarch() local [all...] |
/third_party/libuv/test/ |
H A D | benchmark-ping-udp.c | 33 int state; member 102 ASSERT_EQ(buf->base[i], PING[pinger->state]); in pinger_read_cb() 103 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1); in pinger_read_cb() 104 if (pinger->state == 0) { in pinger_read_cb() 123 pinger->state = 0; in udp_pinger_new()
|