Home
last modified time | relevance | path

Searched refs:get_state (Results 1 - 25 of 126) sorted by relevance

123456

/kernel/linux/linux-6.6/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()
80 * the state returned by get_state() and the state of the hub will in ssam_hub_update_workfn()
87 * hub state. In case of a missed disconnect (i.e. get_state returned 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,
/kernel/linux/linux-5.10/drivers/platform/x86/
H A 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()
/kernel/linux/linux-6.6/drivers/platform/x86/hp/
H A Dtc1100-wmi.c46 static int get_state(u32 *out, u8 instance) in get_state() function
131 acpi_status status = get_state(&result, instance); \
183 ret = get_state(&suspend_data.wireless, TC1100_INSTANCE_WIRELESS); in tc1100_suspend()
187 ret = get_state(&suspend_data.jogdial, TC1100_INSTANCE_JOGDIAL); in tc1100_suspend()
/kernel/linux/linux-5.10/include/linux/pcs/
H A Dpcs-xpcs.h25 int (*get_state)(struct mdio_xpcs_args *xpcs, member
/kernel/linux/linux-5.10/drivers/pci/
H A Dpci-mid.c52 .get_state = mid_pci_get_power_state,
/kernel/linux/linux-6.6/drivers/pwm/
H A Dcore.c103 if (pwm->chip->ops->get_state) { in pwm_device_request()
109 * faulty implementations of .get_state(). in pwm_device_request()
113 err = pwm->chip->ops->get_state(pwm->chip, pwm, &state); in pwm_device_request()
248 if (IS_ENABLED(CONFIG_PWM_DEBUG) && !ops->get_state) in pwm_ops_check()
250 "Please implement the .get_state() callback\n"); in pwm_ops_check()
396 /* No reasonable diagnosis possible without .get_state() */ in pwm_apply_state_debug()
397 if (!chip->ops->get_state) in pwm_apply_state_debug()
405 err = chip->ops->get_state(chip, pwm, &s1); in pwm_apply_state_debug()
473 err = chip->ops->get_state(chip, pwm, last); in pwm_apply_state_debug()
532 * implementations of .get_state depen in pwm_apply_state()
[all...]
H A Dpwm-ab8500.c183 .get_state = ab8500_pwm_get_state,
H A Dpwm-apple.c101 .get_state = apple_pwm_get_state,
H A Dpwm-crc.c158 .get_state = crc_pwm_get_state,
H A Dpwm-sl28cpld.c202 .get_state = sl28cpld_pwm_get_state,
H A Dpwm-raspberrypi-poe.c136 .get_state = raspberrypi_pwm_get_state,
H A Dpwm-visconti.c131 .get_state = visconti_pwm_get_state,
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Deeh.c403 ret = eeh_ops->get_state(phb_pe, NULL); in eeh_phb_check_failure()
515 ret = eeh_ops->get_state(pe, NULL); in eeh_dev_check_failure()
543 ret = eeh_ops->get_state(parent_pe, NULL); in eeh_dev_check_failure()
650 rc = eeh_ops->get_state(pe, NULL); in eeh_pci_enable()
811 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()
1391 if (!eeh_ops || !eeh_ops->get_state) in eeh_pe_get_state()
1405 result = eeh_ops->get_state(pe, NULL); in eeh_pe_get_state()
H A Deeh_sysfs.c50 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
/kernel/linux/linux-6.6/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()
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()
H A Deeh_sysfs.c51 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
/kernel/linux/linux-5.10/include/linux/
H A Draid_class.h17 void (*get_state)(struct device *); member
/kernel/linux/linux-6.6/include/linux/
H A Draid_class.h17 void (*get_state)(struct device *); member
/kernel/linux/linux-5.10/fs/quota/
H A Dquota.c123 if (!sb->s_qcop->get_state) in quota_getinfo()
125 ret = sb->s_qcop->get_state(sb, &state); in quota_getinfo()
358 ret = sb->s_qcop->get_state(sb, &state); in quota_getstate()
436 if (!sb->s_qcop->get_state) in quota_getxstate()
456 ret = sb->s_qcop->get_state(sb, &state); in quota_getstatev()
498 if (!sb->s_qcop->get_state) in quota_getxstatev()
/kernel/linux/linux-5.10/drivers/pwm/
H A Dcore.c120 if (pwm->chip->ops->get_state) { in pwm_device_request()
121 pwm->chip->ops->get_state(pwm->chip, pwm, &pwm->state); in pwm_device_request()
255 if (IS_ENABLED(CONFIG_PWM_DEBUG) && !ops->get_state) in pwm_ops_check()
257 "Please implement the .get_state() callback\n"); in pwm_ops_check()
478 /* No reasonable diagnosis possible without .get_state() */ in pwm_apply_state_debug()
479 if (!chip->ops->get_state) in pwm_apply_state_debug()
487 chip->ops->get_state(chip, pwm, &s1); in pwm_apply_state_debug()
552 chip->ops->get_state(chip, pwm, last); in pwm_apply_state_debug()
601 * implementations of .get_state depend on this in pwm_apply_state()
H A Dpwm-crc.c156 .get_state = crc_pwm_get_state,
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_gem.c70 struct drm_vc4_get_hang_state *get_state = data; in vc4_get_hang_state_ioctl() local
95 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl()
96 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl()
105 state->bo = get_state->bo; in vc4_get_hang_state_ioctl()
106 memcpy(get_state, state, sizeof(*state)); in vc4_get_hang_state_ioctl()
130 if (copy_to_user(u64_to_user_ptr(get_state->bo), in vc4_get_hang_state_ioctl()
/kernel/linux/linux-6.6/fs/quota/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A 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()

Completed in 23 milliseconds

123456