Home
last modified time | relevance | path

Searched refs:rc_state (Results 1 – 4 of 4) sorted by relevance

/drivers/media/usb/dvb-usb/
Dm920x.c137 static inline void m920x_parse_rc_state(struct dvb_usb_device *d, u8 rc_state, in m920x_parse_rc_state() argument
142 switch (rc_state) { in m920x_parse_rc_state()
173 deb("Unexpected rc state %02x\n", rc_state); in m920x_parse_rc_state()
182 u8 *rc_state; in m920x_rc_query() local
184 rc_state = kmalloc(2, GFP_KERNEL); in m920x_rc_query()
185 if (!rc_state) in m920x_rc_query()
189 rc_state, 1); in m920x_rc_query()
194 rc_state + 1, 1); in m920x_rc_query()
198 m920x_parse_rc_state(d, rc_state[0], state); in m920x_rc_query()
201 if (rc5_data(&d->props.rc.legacy.rc_map_table[i]) == rc_state[1]) { in m920x_rc_query()
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder.c204 enum dpu_enc_rc_states rc_state; member
801 dpu_enc->rc_state, "begin"); in dpu_encoder_resource_control()
813 if (dpu_enc->rc_state == DPU_ENC_RC_STATE_ON) { in dpu_encoder_resource_control()
818 } else if (dpu_enc->rc_state != DPU_ENC_RC_STATE_OFF && in dpu_encoder_resource_control()
819 dpu_enc->rc_state != DPU_ENC_RC_STATE_IDLE) { in dpu_encoder_resource_control()
822 dpu_enc->rc_state); in dpu_encoder_resource_control()
827 if (is_vid_mode && dpu_enc->rc_state == DPU_ENC_RC_STATE_IDLE) in dpu_encoder_resource_control()
832 dpu_enc->rc_state = DPU_ENC_RC_STATE_ON; in dpu_encoder_resource_control()
835 dpu_enc->idle_pc_supported, dpu_enc->rc_state, in dpu_encoder_resource_control()
848 if (dpu_enc->rc_state != DPU_ENC_RC_STATE_ON) { in dpu_encoder_resource_control()
[all …]
Ddpu_trace.h360 int rc_state, const char *stage),
361 TP_ARGS(drm_id, sw_event, idle_pc_supported, rc_state, stage),
366 __field( int, rc_state )
373 __entry->rc_state = rc_state;
379 __entry->rc_state)
/drivers/net/ppp/
Dppp_generic.c134 void *rc_state; /* its internal state 98 */ member
1493 if (ppp->rc_state) in ppp_net_siocdevprivate()
1494 ppp->rcomp->decomp_stat(ppp->rc_state, &cstats.d); in ppp_net_siocdevprivate()
2383 if (ppp->rc_state && (ppp->rstate & SC_DECOMP_RUN) && in ppp_receive_nonmp_frame()
2548 len = ppp->rcomp->decompress(ppp->rc_state, skb->data - 2, in ppp_decompress_frame()
2571 ppp->rcomp->incomp(ppp->rc_state, skb->data - 2, in ppp_decompress_frame()
3064 ostate = ppp->rc_state; in ppp_set_compress()
3066 ppp->rc_state = state; in ppp_set_compress()
3135 if (!ppp->rc_state) in ppp_ccp_peek()
3137 if (ppp->rcomp->decomp_init(ppp->rc_state, dp, len, in ppp_ccp_peek()
[all …]