Searched refs:state (Results 501 - 525 of 7106) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/media/rc/
H A Dir-sharp-decoder.c38 * This function returns -EINVAL if the pulse violates the state machine
47 data->state = STATE_INACTIVE;
51 dev_dbg(&dev->dev, "Sharp decode started at state %d (%uus %s)\n",
52 data->state, ev.duration, TO_STR(ev.pulse));
54 switch (data->state) {
66 data->state = STATE_BIT_SPACE;
78 data->state = STATE_BIT_SPACE;
96 data->state = STATE_TRAILER_PULSE;
98 data->state = STATE_BIT_PULSE;
116 data->state
[all...]
/linux-master/drivers/pwm/
H A Dpwm-visconti.c46 const struct pwm_state *state)
51 if (!state->enabled) {
62 if (state->period > (0xffff << 3) * 1000)
65 period = state->period;
67 if (state->duty_cycle > period)
70 duty_cycle = state->duty_cycle;
96 if (state->polarity == PWM_POLARITY_INVERSED)
106 struct pwm_state *state)
116 state->period = (period << pwmc0_clk) * NSEC_PER_USEC;
117 state
45 visconti_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) argument
105 visconti_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) argument
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_hw_data.c493 u32 bank, struct bank_state *state, u32 num_rings)
497 state->ringstat0 = ops->read_csr_stat(base, bank);
498 state->ringuostat = ops->read_csr_uo_stat(base, bank);
499 state->ringestat = ops->read_csr_e_stat(base, bank);
500 state->ringnestat = ops->read_csr_ne_stat(base, bank);
501 state->ringnfstat = ops->read_csr_nf_stat(base, bank);
502 state->ringfstat = ops->read_csr_f_stat(base, bank);
503 state->ringcstat0 = ops->read_csr_c_stat(base, bank);
504 state->iaintflagen = ops->read_csr_int_en(base, bank);
505 state
492 bank_state_save(struct adf_hw_csr_ops *ops, void __iomem *base, u32 bank, struct bank_state *state, u32 num_rings) argument
531 bank_state_restore(struct adf_hw_csr_ops *ops, void __iomem *base, u32 bank, struct bank_state *state, u32 num_rings, int tx_rx_gap) argument
631 adf_gen4_bank_state_save(struct adf_accel_dev *accel_dev, u32 bank_number, struct bank_state *state) argument
650 adf_gen4_bank_state_restore(struct adf_accel_dev *accel_dev, u32 bank_number, struct bank_state *state) argument
[all...]
/linux-master/arch/s390/kernel/
H A Dstacktrace.c20 struct unwind_state state; local
23 unwind_for_each_frame(&state, task, regs, 0) {
24 addr = unwind_get_return_address(&state);
33 struct unwind_state state; local
36 unwind_for_each_frame(&state, task, NULL, 0) {
37 if (state.stack_info.type != STACK_TYPE_TASK)
40 if (state.regs)
43 addr = unwind_get_return_address(&state);
52 if (state.ip == (unsigned long)arch_rethook_trampoline)
61 if (unwind_error(&state))
168 struct unwind_state state; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Den_accel.h127 struct mlx5e_accel_tx_state *state)
136 &state->tls)))
141 if (test_bit(MLX5E_SQ_STATE_IPSEC, &sq->state) && xfrm_offload(skb)) {
142 if (unlikely(!mlx5e_ipsec_handle_tx_skb(dev, skb, &state->ipsec)))
160 struct mlx5e_accel_tx_state *state)
163 if (test_bit(MLX5E_SQ_STATE_IPSEC, &sq->state))
164 return mlx5e_ipsec_tx_ids_len(&state->ipsec);
195 struct mlx5e_accel_tx_state *state,
199 mlx5e_ktls_handle_tx_wqe(&wqe->ctrl, &state->tls);
203 if (test_bit(MLX5E_SQ_STATE_IPSEC, &sq->state)
124 mlx5e_accel_tx_begin(struct net_device *dev, struct mlx5e_txqsq *sq, struct sk_buff *skb, struct mlx5e_accel_tx_state *state) argument
159 mlx5e_accel_tx_ids_len(struct mlx5e_txqsq *sq, struct mlx5e_accel_tx_state *state) argument
193 mlx5e_accel_tx_finish(struct mlx5e_txqsq *sq, struct mlx5e_tx_wqe *wqe, struct mlx5e_accel_tx_state *state, struct mlx5_wqe_inline_seg *inlseg) argument
[all...]
/linux-master/fs/nfsd/
H A Dnfs4acl.c455 init_state(struct posix_acl_state *state, int cnt) argument
459 memset(state, 0, sizeof(struct posix_acl_state));
467 state->users = kzalloc(alloc, GFP_KERNEL);
468 if (!state->users)
470 state->groups = kzalloc(alloc, GFP_KERNEL);
471 if (!state->groups) {
472 kfree(state->users);
479 free_state(struct posix_acl_state *state) { argument
480 kfree(state->users);
481 kfree(state
484 add_to_mask(struct posix_acl_state *state, struct posix_ace_state *astate) argument
490 posix_state_to_acl(struct posix_acl_state *state, unsigned int flags) argument
570 find_uid(struct posix_acl_state *state, kuid_t uid) argument
587 find_gid(struct posix_acl_state *state, kgid_t gid) argument
620 process_one_v4_ace(struct posix_acl_state *state, struct nfs4_ace *ace) argument
[all...]
/linux-master/drivers/acpi/
H A Ddevice_pm.c27 * acpi_power_state_string - String representation of ACPI device power state.
28 * @state: ACPI device power state to return the string representation of.
30 const char *acpi_power_state_string(int state) argument
32 switch (state) {
48 static int acpi_dev_pm_explicit_get(struct acpi_device *device, int *state) argument
57 *state = psc;
62 * acpi_device_get_power - Get power state of an ACPI device.
63 * @device: Device to get the power state of.
64 * @state
75 acpi_device_get_power(struct acpi_device *device, int *state) argument
141 acpi_dev_pm_explicit_set(struct acpi_device *adev, int state) argument
162 acpi_device_set_power(struct acpi_device *device, int state) argument
296 acpi_bus_set_power(acpi_handle handle, int state) argument
309 int state; local
415 int state; local
509 unsigned long long state; local
986 int ret, state; local
1095 int ret, state; local
[all...]
/linux-master/drivers/net/phy/
H A Dswphy.c87 * @state: software phy status
89 * This checks that we can represent the state stored in @state can be
93 int swphy_validate_state(const struct fixed_phy_status *state) argument
97 if (state->link) {
98 err = swphy_decode_speed(state->speed);
109 * swphy_read_reg - return a MII register from the fixed phy state
111 * @state: fixed phy status
113 * Return the MII @reg register generated from the fixed phy state @state
115 swphy_read_reg(int reg, const struct fixed_phy_status *state) argument
[all...]
/linux-master/include/crypto/
H A Dsm3_base.h25 sctx->state[0] = SM3_IVA;
26 sctx->state[1] = SM3_IVB;
27 sctx->state[2] = SM3_IVC;
28 sctx->state[3] = SM3_IVD;
29 sctx->state[4] = SM3_IVE;
30 sctx->state[5] = SM3_IVF;
31 sctx->state[6] = SM3_IVG;
32 sctx->state[7] = SM3_IVH;
106 put_unaligned_be32(sctx->state[i], digest++);
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun8i_ui_layer.c86 val = SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA(plane->state->alpha >> 8);
88 val |= (plane->state->alpha == DRM_BLEND_ALPHA_OPAQUE) ?
101 struct drm_plane_state *state = plane->state; local
113 src_w = drm_rect_width(&state->src) >> 16;
114 src_h = drm_rect_height(&state->src) >> 16;
115 dst_w = drm_rect_width(&state->dst);
116 dst_h = drm_rect_height(&state->dst);
118 hphase = state->src.x1 & 0xffff;
119 vphase = state
168 struct drm_plane_state *state = plane->state; local
193 struct drm_plane_state *state = plane->state; local
230 sun8i_ui_layer_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) argument
262 sun8i_ui_layer_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) argument
275 sun8i_ui_layer_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) argument
[all...]
/linux-master/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.c24 struct drm_atomic_state *state)
26 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
29 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state,
45 crtc_state = drm_atomic_get_existing_crtc_state(state,
47 /* we should have a crtc state if the plane is attached to a crtc */
79 struct drm_atomic_state *state)
81 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
87 if (WARN_ON(!new_state->fb || !new_state->crtc->state))
92 new_state->crtc->state->event) == 0) {
93 new_state->crtc->state
23 tilcdc_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) argument
78 tilcdc_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) argument
[all...]
/linux-master/arch/arm64/kvm/
H A Dstacktrace.c114 static int unwind_next(struct unwind_state *state) argument
120 if (!kvm_nvhe_stack_kern_record_va(&state->fp))
123 return unwind_next_frame_record(state);
126 static void unwind(struct unwind_state *state, argument
132 if (!consume_entry(cookie, state->pc))
134 ret = unwind_next(state);
185 struct unwind_state state = { local
192 kvm_nvhe_unwind_init(&state, stacktrace_info->fp, stacktrace_info->pc);
195 unwind(&state, kvm_nvhe_dump_backtrace_entry, (void *)hyp_offset);
/linux-master/drivers/mux/
H A Dadg792a.c20 #define ADG792A_MUX(mux, state) (0xc0 | (((mux) + 1) << 2) | (state))
21 #define ADG792A_MUX_ALL(state) (0xc0 | (state))
34 static int adg792a_set(struct mux_control *mux, int state) argument
41 if (state == MUX_IDLE_DISCONNECT)
44 cmd = ADG792A_MUX_ALL(state);
48 if (state == MUX_IDLE_DISCONNECT)
51 cmd = ADG792A_MUX(controller, state);
89 ret = device_property_read_u32_array(dev, "idle-state",
[all...]
/linux-master/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-crtc.c50 struct drm_atomic_state *state)
82 struct drm_atomic_state *state)
84 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state,
93 * attached IDMACs will be left in undefined state, possibly hanging
103 if (crtc->state->event && !crtc->state->active) {
104 drm_crtc_send_vblank_event(crtc, crtc->state->event);
105 crtc->state->event = NULL;
112 struct imx_crtc_state *state; local
114 if (crtc->state)
49 ipu_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *state) argument
81 ipu_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) argument
127 struct imx_crtc_state *state; local
141 imx_drm_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state) argument
228 ipu_crtc_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state) argument
241 ipu_crtc_atomic_begin(struct drm_crtc *crtc, struct drm_atomic_state *state) argument
247 ipu_crtc_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *state) argument
[all...]
/linux-master/security/lockdown/
H A Dlockdown.c125 char *state; local
128 state = memdup_user_nul(buf, n);
129 if (IS_ERR(state))
130 return PTR_ERR(state);
132 len = strlen(state);
133 if (len && state[len-1] == '\n') {
134 state[len-1] = '\0';
142 if (label && !strcmp(state, label))
146 kfree(state);
/linux-master/drivers/gpu/drm/mgag200/
H A Dmgag200_i2c.c52 static inline void mga_i2c_set(struct mga_device *mdev, int mask, int state) argument
54 if (state)
55 state = 0;
57 state = mask;
58 mga_i2c_set_gpio(mdev, ~mask, state);
61 static void mga_gpio_setsda(void *data, int state) argument
65 mga_i2c_set(mdev, i2c->data, state);
68 static void mga_gpio_setscl(void *data, int state) argument
72 mga_i2c_set(mdev, i2c->clock, state);
/linux-master/drivers/leds/
H A Dleds-syscon.c19 * struct syscon_led - state container for syscon based LEDs
24 * @state: current state of the LED
31 bool state; member in struct:syscon_led
44 sled->state = false;
47 sled->state = true;
63 enum led_default_state state; local
92 state = led_init_default_state_get(init_data.fwnode);
93 switch (state) {
98 sled->state
[all...]
/linux-master/arch/arm/mach-zynq/
H A Dslcr.c148 * zynq_slcr_cpu_state_read - Read cpu state
158 u32 state; local
160 state = readl(zynq_slcr_base + SLCR_REBOOT_STATUS_OFFSET);
161 state &= 1 << (31 - cpu);
163 return !state;
167 * zynq_slcr_cpu_state_write - Write cpu state
169 * @die: cpu state - true if cpu is going to die
176 u32 state, mask; local
178 state = readl(zynq_slcr_base + SLCR_REBOOT_STATUS_OFFSET);
181 state |
[all...]
/linux-master/fs/nfs/
H A Dnfs4state.c36 * Implementation of the NFSv4 state model. For the time being,
186 /* If the client state need to recover, do it. */
228 * @clp: client state handle
373 * Purge state if the client id was established in a prior
394 * @clp: client state handle
524 * remain in place so that state recovery can find it
569 * nfs4_get_state_owner - Look up a state owner given a credential
603 * @sp: state owner data to release
605 * Note that we keep released state owners on an LRU
607 * This caches valid state owner
670 struct nfs4_state *state; local
684 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) argument
702 struct nfs4_state *state; local
716 nfs4_free_open_state(struct nfs4_state *state) argument
724 struct nfs4_state *state, *new; local
758 nfs4_put_open_state(struct nfs4_state *state) argument
779 __nfs4_close(struct nfs4_state *state, fmode_t fmode, gfp_t gfp_mask, int wait) argument
824 nfs4_close_state(struct nfs4_state *state, fmode_t fmode) argument
829 nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) argument
848 __nfs4_find_lock_state(struct nfs4_state *state, fl_owner_t owner, fl_owner_t owner2) argument
870 nfs4_alloc_lock_state(struct nfs4_state *state, fl_owner_t owner) argument
904 nfs4_get_lock_state(struct nfs4_state *state, fl_owner_t owner) argument
938 struct nfs4_state *state; local
976 nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl) argument
990 nfs4_copy_lock_stateid(nfs4_stateid *dst, struct nfs4_state *state, const struct nfs_lock_context *l_ctx) argument
1021 nfs4_copy_open_stateid(nfs4_stateid *dst, struct nfs4_state *state) argument
1044 nfs4_select_rw_stateid(struct nfs4_state *state, fmode_t fmode, const struct nfs_lock_context *l_ctx, nfs4_stateid *dst, const struct cred **cred) argument
1381 nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_state *state) argument
1397 nfs4_state_mark_reclaim_nograce(struct nfs_client *clp, struct nfs4_state *state) argument
1408 nfs4_schedule_stateid_recovery(const struct nfs_server *server, struct nfs4_state *state) argument
1424 nfs_state_find_lock_state_by_stateid(struct nfs4_state *state, const nfs4_stateid *stateid) argument
1438 nfs_state_lock_state_matches_stateid(struct nfs4_state *state, const nfs4_stateid *stateid) argument
1458 struct nfs4_state *state; local
1488 nfs4_state_mark_open_context_bad(struct nfs4_state *state, int err) argument
1505 nfs4_state_mark_recovery_failed(struct nfs4_state *state, int error) argument
1512 nfs4_reclaim_locks(struct nfs4_state *state, const struct nfs4_state_recovery_ops *ops) argument
1578 nfs42_complete_copies(struct nfs4_state_owner *sp, struct nfs4_state *state) argument
1612 nfs42_complete_copies(struct nfs4_state_owner *sp, struct nfs4_state *state) argument
1618 __nfs4_reclaim_open_state(struct nfs4_state_owner *sp, struct nfs4_state *state, const struct nfs4_state_recovery_ops *ops, int *lost_locks) argument
1653 struct nfs4_state *state; local
1749 nfs4_clear_open_state(struct nfs4_state *state) argument
1765 nfs4_reset_seqids(struct nfs_server *server, int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) argument
1771 struct nfs4_state *state; local
1789 nfs4_state_mark_reclaim_helper(struct nfs_client *clp, int (*mark_reclaim)(struct nfs_client *clp, struct nfs4_state *state)) argument
1823 struct nfs4_state *state; local
[all...]
/linux-master/block/partitions/
H A Dkarma.c15 int karma_partition(struct parsed_partitions *state) argument
35 data = read_part_sector(state, 0, &sect);
47 if (slot == state->limit)
51 put_partition(state, slot, le32_to_cpu(p->p_offset),
56 strlcat(state->pp_buf, "\n", PAGE_SIZE);
H A Daix.c71 * @state
76 * Description: Reads @count bytes from @state->disk into @buffer.
79 static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer, argument
84 if (!buffer || lba + count / 512 > get_capacity(state->disk) - 1ULL)
90 unsigned char *data = read_part_sector(state, lba++, &sect);
106 * @state
113 static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba) argument
122 if (read_lba(state, lba, (u8 *) p, count) < count) {
131 * @state
138 static struct lvname *alloc_lvn(struct parsed_partitions *state, u3 argument
154 aix_partition(struct parsed_partitions *state) argument
[all...]
/linux-master/lib/
H A Dsyscall.c72 unsigned int state; local
77 state = READ_ONCE(target->__state);
78 if (unlikely(!state))
81 ncsw = wait_task_inactive(target, state);
84 unlikely(wait_task_inactive(target, state) != ncsw))
/linux-master/include/linux/soc/qcom/
H A Dsmem_state.h20 int qcom_smem_state_update_bits(struct qcom_smem_state *state, u32 mask, u32 value);
23 void qcom_smem_state_unregister(struct qcom_smem_state *state);
40 static inline void qcom_smem_state_put(struct qcom_smem_state *state) argument
44 static inline int qcom_smem_state_update_bits(struct qcom_smem_state *state, argument
56 static inline void qcom_smem_state_unregister(struct qcom_smem_state *state) argument
/linux-master/drivers/pcmcia/
H A Dsa1111_generic.c68 void sa1111_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *state) argument
75 state->detect = status & PCSR_S0_DETECT ? 0 : 1;
76 state->ready = status & PCSR_S0_READY ? 1 : 0;
77 state->bvd1 = status & PCSR_S0_BVD1 ? 1 : 0;
78 state->bvd2 = status & PCSR_S0_BVD2 ? 1 : 0;
79 state->wrprot = status & PCSR_S0_WP ? 1 : 0;
80 state->vs_3v = status & PCSR_S0_VS1 ? 0 : 1;
81 state->vs_Xv = status & PCSR_S0_VS2 ? 0 : 1;
85 state->detect = status & PCSR_S1_DETECT ? 0 : 1;
86 state
96 sa1111_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state) argument
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_atomic_plane.h47 struct drm_plane_state *state);
48 void intel_crtc_planes_update_noarm(struct intel_atomic_state *state,
50 void intel_crtc_planes_update_arm(struct intel_atomic_state *state,
56 int intel_plane_atomic_check(struct intel_atomic_state *state,
58 int intel_plane_calc_min_cdclk(struct intel_atomic_state *state,

Completed in 270 milliseconds

<<21222324252627282930>>