Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/drivers/pci/
Dpci-mid.c52 .get_state = mid_pci_get_power_state,
/Linux-v5.4/arch/powerpc/kernel/
Deeh.c412 ret = eeh_ops->get_state(phb_pe, NULL); in eeh_phb_check_failure()
529 ret = eeh_ops->get_state(pe, NULL); in eeh_dev_check_failure()
557 ret = eeh_ops->get_state(parent_pe, NULL); in eeh_dev_check_failure()
664 rc = eeh_ops->get_state(pe, NULL); in eeh_pci_enable()
885 state = eeh_ops->get_state(pe, NULL); in eeh_pe_refreeze_passed()
1361 ret = eeh_ops->get_state(pe, NULL); in eeh_pe_change_owner()
1592 if (!eeh_ops || !eeh_ops->get_state) in eeh_pe_get_state()
1606 result = eeh_ops->get_state(pe, NULL); in eeh_pe_get_state()
Deeh_sysfs.c66 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
/Linux-v5.4/include/linux/
Draid_class.h17 void (*get_state)(struct device *); member
Dquota.h439 int (*get_state)(struct super_block *, struct qc_state *); member
Dpwm.h266 void (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm, member
/Linux-v5.4/fs/quota/
Dquota.c124 if (!sb->s_qcop->get_state) in quota_getinfo()
126 ret = sb->s_qcop->get_state(sb, &state); in quota_getinfo()
341 ret = sb->s_qcop->get_state(sb, &state); in quota_getstate()
392 if (!sb->s_qcop->get_state) in quota_getxstate()
407 ret = sb->s_qcop->get_state(sb, &state); in quota_getstatev()
449 if (!sb->s_qcop->get_state) in quota_getxstatev()
/Linux-v5.4/drivers/gpu/drm/vc4/
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()
/Linux-v5.4/drivers/hid/
Dhid-google-hammer.c52 static int cbas_ec_query_base(struct cros_ec_device *ec_dev, bool get_state, in cbas_ec_query_base() argument
69 params->info_type = get_state ? in cbas_ec_query_base()
/Linux-v5.4/drivers/pwm/
Dpwm-cros-ec.c152 .get_state = cros_ec_pwm_get_state,
Dpwm-bcm-iproc.c189 .get_state = iproc_pwmc_get_state,
Dpwm-sprd.c208 .get_state = sprd_pwm_get_state,
Dpwm-stm32-lp.c193 .get_state = stm32_pwm_lp_get_state,
Dpwm-zx.c192 .get_state = zx_pwm_get_state,
Dpwm-lpss.c196 .get_state = pwm_lpss_get_state,
Dpwm-hibvt.c182 .get_state = hibvt_pwm_get_state,
Dpwm-imx27.c285 .get_state = pwm_imx27_get_state,
Dpwm-sifive.c212 .get_state = pwm_sifive_get_state,
/Linux-v5.4/arch/powerpc/platforms/pseries/
Deeh_pseries.c298 ret = eeh_ops->get_state(&pe, NULL); in pseries_eeh_probe()
782 .get_state = pseries_eeh_get_state,
/Linux-v5.4/fs/xfs/
Dxfs_quotaops.c279 .get_state = xfs_fs_get_quota_state,
/Linux-v5.4/kernel/rcu/
Drcutorture.c302 unsigned long (*get_state)(void); member
450 .get_state = get_state_synchronize_rcu,
962 if (gp_cond1 && cur_ops->get_state && cur_ops->cond_sync) { in rcu_torture_writer()
965 } else if (gp_cond && (!cur_ops->get_state || !cur_ops->cond_sync)) { in rcu_torture_writer()
1030 gp_snap = cur_ops->get_state(); in rcu_torture_writer()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Deeh-powernv.c1418 ret = eeh_ops->get_state(dev_pe, NULL); in pnv_eeh_get_pe()
1614 state = eeh_ops->get_state(parent_pe, NULL); in pnv_eeh_next_error()
1683 .get_state = pnv_eeh_get_state,
/Linux-v5.4/drivers/net/phy/
Dsfp.c182 unsigned int (*get_state)(struct sfp *); member
381 return sfp->get_state(sfp); in sfp_get_state()
1942 sfp->get_state = sfp_gpio_get_state; in sfp_probe()
1947 sfp->get_state = sff_gpio_get_state; in sfp_probe()
/Linux-v5.4/drivers/soc/tegra/
Dpowergate-bpmp.c85 return response.get_state.state; in tegra_bpmp_powergate_get_state()

12