Home
last modified time | relevance | path

Searched refs:get_state (Results 1 – 25 of 57) sorted by relevance

123

/linux/drivers/platform/surface/
H A Dsurface_aggregator_hub.c36 int (*get_state)(struct ssam_hub *hub, enum ssam_hub_state *state); member
61 int (*get_state)(struct ssam_hub *hub, enum ssam_hub_state *state); member
73 status = hub->ops.get_state(hub, &state); in ssam_hub_update_workfn()
182 hub->ops.get_state = desc->ops.get_state; in ssam_hub_probe()
277 .get_state = ssam_base_hub_query_state,
342 .get_state = ssam_kip_hub_query_state,
H A Dsurface_aggregator_tabletsw.c29 int (*get_state)(struct ssam_tablet_sw *sw, struct ssam_tablet_sw_state *state); member
55 int (*get_state)(struct ssam_tablet_sw *sw, struct ssam_tablet_sw_state *state); member
94 status = sw->ops.get_state(sw, &state); in ssam_tablet_sw_update_workfn()
135 sw->ops.get_state = desc->ops.get_state; in ssam_tablet_sw_probe()
144 status = sw->ops.get_state(sw, &sw->state); in ssam_tablet_sw_probe()
308 .get_state = ssam_kip_get_cover_state,
607 .get_state = ssam_pos_get_posture,
/linux/arch/powerpc/kernel/
H A Deeh.c382 ret = eeh_ops->get_state(phb_pe, NULL); in eeh_phb_check_failure()
502 ret = eeh_ops->get_state(pe, NULL); in eeh_dev_check_failure()
539 ret = eeh_ops->get_state(parent_pe, NULL); in eeh_dev_check_failure()
647 rc = eeh_ops->get_state(pe, NULL); in eeh_pci_enable()
808 state = eeh_ops->get_state(pe, NULL); in eeh_pe_refreeze_passed()
1160 ret = eeh_ops->get_state(pe, NULL); in eeh_pe_change_owner()
1369 if (!eeh_ops || !eeh_ops->get_state) in eeh_pe_get_state()
1383 result = eeh_ops->get_state(pe, NULL); in eeh_pe_get_state()
H A Deeh_sysfs.c51 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
/linux/drivers/pwm/
H A Dpwm-sophgo-sg2042.c214 .get_state = pwm_sg2042_get_state,
221 .get_state = pwm_sg2042_get_state,
H A Dpwm-apple.c100 .get_state = apple_pwm_get_state,
H A Dpwm-visconti.c130 .get_state = visconti_pwm_get_state,
H A Dpwm-dwc-core.c159 .get_state = dwc_pwm_get_state,
H A Dpwm-raspberrypi-poe.c135 .get_state = raspberrypi_pwm_get_state,
H A Dpwm-crc.c156 .get_state = crc_pwm_get_state,
H A Dpwm-ab8500.c182 .get_state = ab8500_pwm_get_state,
H A Dcore.c496 if (!chip->ops->get_state) in pwm_apply_debug()
511 err = chip->ops->get_state(chip, pwm, &s1); in pwm_apply_debug()
584 err = chip->ops->get_state(chip, pwm, last); in pwm_apply_debug()
833 } else if (ops->get_state) { in pwm_get_state_hw()
834 ret = ops->get_state(chip, pwm, state); in pwm_get_state_hw()
986 if (ops->read_waveform || ops->get_state) { in pwm_device_request()
1713 if (IS_ENABLED(CONFIG_PWM_DEBUG) && !ops->get_state) in pwm_ops_check()
H A Dpwm-sl28cpld.c201 .get_state = sl28cpld_pwm_get_state,
H A Dpwm-iqs620a.c173 .get_state = iqs620_pwm_get_state,
H A Dpwm-adp5585.c157 .get_state = pwm_adp5585_get_state,
H A Dpwm-keembay.c181 .get_state = keembay_pwm_get_state,
H A Dpwm-intel-lgm.c107 .get_state = lgm_pwm_get_state,
H A Dpwm-sunplus.c164 .get_state = sunplus_pwm_get_state,
H A Dpwm-sprd.c212 .get_state = sprd_pwm_get_state,
H A Dpwm-bcm-iproc.c184 .get_state = iproc_pwmc_get_state,
H A Dpwm-xilinx.c195 .get_state = xilinx_pwm_get_state,
/linux/drivers/gpu/drm/vc4/
H A Dvc4_gem.c72 struct drm_vc4_get_hang_state *get_state = data; in vc4_get_hang_state_ioctl() local
100 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl()
101 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl()
110 state->bo = get_state->bo; in vc4_get_hang_state_ioctl()
111 memcpy(get_state, state, sizeof(*state)); in vc4_get_hang_state_ioctl()
135 if (copy_to_user(u64_to_user_ptr(get_state->bo), in vc4_get_hang_state_ioctl()
/linux/include/linux/
H A Draid_class.h17 void (*get_state)(struct device *); member
/linux/drivers/hid/
H A Dhid-google-hammer.c55 static int cbas_ec_query_base(struct cros_ec_device *ec_dev, bool get_state, in cbas_ec_query_base() argument
71 params->info_type = get_state ? in cbas_ec_query_base()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c3822 struct drm_panthor_group_get_state *get_state) in panthor_group_get_state() argument
3829 if (get_state->pad) in panthor_group_get_state()
3832 group = group_from_handle(gpool, get_state->group_handle); in panthor_group_get_state()
3836 memset(get_state, 0, sizeof(*get_state)); in panthor_group_get_state()
3840 get_state->state |= DRM_PANTHOR_GROUP_STATE_TIMEDOUT; in panthor_group_get_state()
3842 get_state->state |= DRM_PANTHOR_GROUP_STATE_FATAL_FAULT; in panthor_group_get_state()
3843 get_state->fatal_queues = group->fatal_queues; in panthor_group_get_state()
3846 get_state->state |= DRM_PANTHOR_GROUP_STATE_INNOCENT; in panthor_group_get_state()

123