Home
last modified time | relevance | path

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

12

/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()
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,
/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()
510 * On the pSeries, after reaching the threshold, get_state might 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()
/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
H A Dquota.h441 int (*get_state)(struct super_block *, struct qc_state *); member
/linux/drivers/pwm/
H A Dpwm-dwc-core.c159 .get_state = dwc_pwm_get_state,
H A Dpwm-apple.c99 .get_state = apple_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 Dpwm-iqs620a.c173 .get_state = iqs620_pwm_get_state,
H A Dpwm-sl28cpld.c200 .get_state = sl28cpld_pwm_get_state,
H A Dpwm-adp5585.c156 .get_state = pwm_adp5585_get_state,
H A Dpwm-intel-lgm.c106 .get_state = lgm_pwm_get_state,
H A Dpwm-keembay.c180 .get_state = keembay_pwm_get_state,
H A Dpwm-gpio.c170 .get_state = pwm_gpio_get_state,
H A Dpwm-sunplus.c163 .get_state = sunplus_pwm_get_state,
H A Dpwm-sprd.c211 .get_state = sprd_pwm_get_state,
H A Dpwm-sifive.c229 .get_state = pwm_sifive_get_state,
H A Dpwm-microchip-core.c423 .get_state = mchp_core_pwm_get_state,
H A Dpwm-rzg2l-gpt.c373 .get_state = rzg2l_gpt_get_state,
/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.c3821 struct drm_panthor_group_get_state *get_state) in panthor_group_destroy()
3828 if (get_state->pad) in group_from_handle()
3831 group = group_from_handle(gpool, get_state->group_handle); in group_from_handle()
3835 memset(get_state, 0, sizeof(*get_state)); in group_from_handle()
3839 get_state->state |= DRM_PANTHOR_GROUP_STATE_TIMEDOUT; in panthor_group_get_state() argument
3841 get_state->fatal_queues = atomic_read(&group->fatal_queues); in panthor_group_get_state()
3842 if (get_state->fatal_queues) in panthor_group_get_state()
3843 get_state->state |= DRM_PANTHOR_GROUP_STATE_FATAL_FAULT; in panthor_group_get_state()
3846 get_state in panthor_group_get_state()
[all...]
/linux/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c1377 ret = eeh_ops->get_state(dev_pe, NULL); in pnv_eeh_get_pe()
1573 state = eeh_ops->get_state(parent_pe, NULL); in pnv_eeh_next_error()
1630 .get_state = pnv_eeh_get_state,
/linux/drivers/net/phy/
H A Dsfp.c253 unsigned int (*get_state)(struct sfp *); member
1034 /* get_state variant for boards without a MOD_DEF0 GPIO. Instead of assuming in sfp_i2c_get_state()
1175 state = sfp->get_state(sfp) & sfp->state_hw_mask; in sfp_set_state()
3361 sfp->get_state = sfp_gpio_get_state; in sfp_probe()
3380 sfp->get_state = sfp_i2c_get_state; in sfp_probe()
3385 sfp->get_state = sff_gpio_get_state; in sfp_probe()

12