Home
last modified time | relevance | path

Searched refs:c_state (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Dad714x.c342 unsigned short h_state, c_state; in ad714x_slider_state_machine() local
348 c_state = ad714x->c_state & mask; in ad714x_slider_state_machine()
363 if (c_state == mask) { in ad714x_slider_state_machine()
373 if (c_state == mask) { in ad714x_slider_state_machine()
514 unsigned short h_state, c_state; in ad714x_wheel_state_machine() local
520 c_state = ad714x->c_state & mask; in ad714x_wheel_state_machine()
535 if (c_state == mask) { in ad714x_wheel_state_machine()
545 if (c_state == mask) { in ad714x_wheel_state_machine()
804 c_state = ad714x->c_state & mask; in ad714x_touchpad_state_machine()
819 if (c_state == mask) { in ad714x_touchpad_state_machine()
[all …]
H A Dad714x.h27 unsigned short c_state; member
/openbmc/u-boot/drivers/firmware/
H A Dti_sci.c462 u8 *p_state, u8 *c_state) in ti_sci_get_device_state() argument
475 if (!clcnt && !resets && !p_state && !c_state) in ti_sci_get_device_state()
506 if (c_state) in ti_sci_get_device_state()
507 *c_state = resp->current_state; in ti_sci_get_device_state()
636 u8 p_state, c_state; in ti_sci_cmd_dev_is_stop() local
667 u8 p_state, c_state; in ti_sci_cmd_dev_is_on() local
680 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
1002 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1009 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1035 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
[all …]
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c483 int atmel_hlcdc_plane_prepare_ahb_routing(struct drm_crtc_state *c_state) in atmel_hlcdc_plane_prepare_ahb_routing() argument
488 drm_atomic_crtc_state_for_each_plane(plane, c_state) { in atmel_hlcdc_plane_prepare_ahb_routing()
494 plane_s = drm_atomic_get_plane_state(c_state->state, plane); in atmel_hlcdc_plane_prepare_ahb_routing()
519 atmel_hlcdc_plane_prepare_disc_area(struct drm_crtc_state *c_state) in atmel_hlcdc_plane_prepare_disc_area() argument
528 primary = drm_plane_to_atmel_hlcdc_plane(c_state->crtc->primary); in atmel_hlcdc_plane_prepare_disc_area()
533 primary_s = drm_atomic_get_plane_state(c_state->state, in atmel_hlcdc_plane_prepare_disc_area()
540 drm_atomic_crtc_state_for_each_plane(ovl, c_state) { in atmel_hlcdc_plane_prepare_disc_area()
544 if (ovl == c_state->crtc->primary) in atmel_hlcdc_plane_prepare_disc_area()
547 ovl_s = drm_atomic_get_plane_state(c_state->state, ovl); in atmel_hlcdc_plane_prepare_disc_area()
H A Datmel_hlcdc_dc.h406 int atmel_hlcdc_plane_prepare_disc_area(struct drm_crtc_state *c_state);
407 int atmel_hlcdc_plane_prepare_ahb_routing(struct drm_crtc_state *c_state);
/openbmc/linux/fs/nfsd/
H A Dnfscache.c95 rp->c_state = RC_UNUSED; in nfsd_cacherep_alloc()
141 if (rp->c_state != RC_UNUSED) { in nfsd_cacherep_unlink_locked()
298 if (rp->c_state == RC_INPROG) in nfsd_prune_bucket_locked()
536 rp->c_state = RC_INPROG; in nfsd_cache_lookup()
556 if (rp->c_state == RC_INPROG) in nfsd_cache_lookup()
660 rp->c_state = RC_DONE; in nfsd_cache_update()
H A Dcache.h36 unsigned char c_state, /* unused, inprog, done */ member
/openbmc/linux/net/rds/
H A Drds_single_path.h18 #define c_state c_path[0].cp_state macro
/openbmc/linux/drivers/firmware/
H A Dti_sci.c564 u8 *p_state, u8 *c_state) in ti_sci_get_device_state() argument
578 if (!clcnt && !resets && !p_state && !c_state) in ti_sci_get_device_state()
613 if (c_state) in ti_sci_get_device_state()
614 *c_state = resp->current_state; in ti_sci_get_device_state()
784 u8 p_state, c_state; in ti_sci_cmd_dev_is_stop() local
815 u8 p_state, c_state; in ti_sci_cmd_dev_is_on() local
828 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
1180 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1187 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1213 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
[all …]
/openbmc/linux/drivers/remoteproc/
H A Dti_k3_r5_remoteproc.c1141 bool r_state = false, c_state = false, lockstep_en = false, single_cpu = false; in k3_r5_rproc_configure_mode() local
1152 &r_state, &c_state); in k3_r5_rproc_configure_mode()
1158 if (r_state != c_state) { in k3_r5_rproc_configure_mode()
1160 r_state, c_state); in k3_r5_rproc_configure_mode()
1174 core->released_from_reset = c_state; in k3_r5_rproc_configure_mode()
1202 if (c_state && !ret && !halted) { in k3_r5_rproc_configure_mode()
1215 } else if (!c_state) { in k3_r5_rproc_configure_mode()
1221 c_state ? "deasserted" : "asserted", in k3_r5_rproc_configure_mode()
/openbmc/linux/drivers/net/fddi/skfp/
H A Dskfddi.c2053 void cfm_state_change(struct s_smc *smc, int c_state) in cfm_state_change() argument
2058 switch (c_state) { in cfm_state_change()
2087 pr_debug("cfm_state_change: unknown %d\n", c_state); in cfm_state_change()
/openbmc/linux/drivers/net/fddi/skfp/h/
H A Dcmtdef.h530 void cfm_state_change(struct s_smc *smc, int c_state);