Home
last modified time | relevance | path

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

123

/Linux-v6.1/drivers/platform/surface/
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,
Dsurface_aggregator_tabletsw.c24 int (*get_state)(struct ssam_tablet_sw *sw, u32 *state); member
48 int (*get_state)(struct ssam_tablet_sw *sw, u32 *state); member
85 status = sw->ops.get_state(sw, &state); in ssam_tablet_sw_update_workfn()
126 sw->ops.get_state = desc->ops.get_state; in ssam_tablet_sw_probe()
135 status = sw->ops.get_state(sw, &sw->state); in ssam_tablet_sw_probe()
291 .get_state = ssam_kip_get_cover_state,
495 .get_state = ssam_pos_get_posture,
/Linux-v6.1/drivers/platform/x86/
Dtc1100-wmi.c46 static int get_state(u32 *out, u8 instance) in get_state() function
131 acpi_status status = get_state(&result, instance); \
185 ret = get_state(&suspend_data.wireless, TC1100_INSTANCE_WIRELESS); in tc1100_suspend()
189 ret = get_state(&suspend_data.jogdial, TC1100_INSTANCE_JOGDIAL); in tc1100_suspend()
/Linux-v6.1/arch/powerpc/kernel/
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()
530 ret = eeh_ops->get_state(parent_pe, NULL); in eeh_dev_check_failure()
638 rc = eeh_ops->get_state(pe, NULL); in eeh_pci_enable()
799 state = eeh_ops->get_state(pe, NULL); in eeh_pe_refreeze_passed()
1150 ret = eeh_ops->get_state(pe, NULL); in eeh_pe_change_owner()
1381 if (!eeh_ops || !eeh_ops->get_state) in eeh_pe_get_state()
1395 result = eeh_ops->get_state(pe, NULL); in eeh_pe_get_state()
Deeh_sysfs.c51 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
/Linux-v6.1/drivers/pwm/
Dcore.c110 if (pwm->chip->ops->get_state) { in pwm_device_request()
111 pwm->chip->ops->get_state(pwm->chip, pwm, &pwm->state); in pwm_device_request()
243 if (IS_ENABLED(CONFIG_PWM_DEBUG) && !ops->get_state) in pwm_ops_check()
452 if (!chip->ops->get_state) in pwm_apply_state_debug()
460 chip->ops->get_state(chip, pwm, &s1); in pwm_apply_state_debug()
525 chip->ops->get_state(chip, pwm, last); in pwm_apply_state_debug()
Dpwm-visconti.c129 .get_state = visconti_pwm_get_state,
Dpwm-raspberrypi-poe.c134 .get_state = raspberrypi_pwm_get_state,
Dpwm-crc.c156 .get_state = crc_pwm_get_state,
Dpwm-iqs620a.c165 .get_state = iqs620_pwm_get_state,
Dpwm-sl28cpld.c196 .get_state = sl28cpld_pwm_get_state,
Dpwm-intel-lgm.c106 .get_state = lgm_pwm_get_state,
Dpwm-keembay.c181 .get_state = keembay_pwm_get_state,
Dpwm-sunplus.c162 .get_state = sunplus_pwm_get_state,
Dpwm-stm32-lp.c193 .get_state = stm32_pwm_lp_get_state,
Dpwm-bcm-iproc.c183 .get_state = iproc_pwmc_get_state,
Dpwm-cros-ec.c238 .get_state = cros_ec_pwm_get_state,
Dpwm-lpss.c243 .get_state = pwm_lpss_get_state,
Dpwm-sprd.c208 .get_state = sprd_pwm_get_state,
Dpwm-dwc.c195 .get_state = dwc_pwm_get_state,
/Linux-v6.1/include/linux/
Draid_class.h17 void (*get_state)(struct device *); member
/Linux-v6.1/fs/quota/
Dquota.c126 if (!sb->s_qcop->get_state) in quota_getinfo()
128 ret = sb->s_qcop->get_state(sb, &state); in quota_getinfo()
361 ret = sb->s_qcop->get_state(sb, &state); in quota_getstate()
439 if (!sb->s_qcop->get_state) in quota_getxstate()
459 ret = sb->s_qcop->get_state(sb, &state); in quota_getstatev()
502 if (!sb->s_qcop->get_state) in quota_getxstatev()
/Linux-v6.1/drivers/gpu/drm/vc4/
Dvc4_gem.c70 struct drm_vc4_get_hang_state *get_state = data; in vc4_get_hang_state_ioctl() local
98 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl()
99 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl()
108 state->bo = get_state->bo; in vc4_get_hang_state_ioctl()
109 memcpy(get_state, state, sizeof(*state)); in vc4_get_hang_state_ioctl()
133 if (copy_to_user(u64_to_user_ptr(get_state->bo), in vc4_get_hang_state_ioctl()
/Linux-v6.1/drivers/hid/
Dhid-google-hammer.c56 static int cbas_ec_query_base(struct cros_ec_device *ec_dev, bool get_state, in cbas_ec_query_base() argument
73 params->info_type = get_state ? in cbas_ec_query_base()
/Linux-v6.1/fs/xfs/
Dxfs_quotaops.c272 .get_state = xfs_fs_get_quota_state,

123