Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Ddesignware_udc.c556 plug_st = readl(&plug_regs_p->plug_state); in udc_init()
557 writel(plug_st | PLUG_STATUS_EN, &plug_regs_p->plug_state); in udc_init()
732 plug_st = readl(&plug_regs_p->plug_state); in udc_connect()
734 writel(plug_st, &plug_regs_p->plug_state); in udc_connect()
744 plug_st = readl(&plug_regs_p->plug_state); in udc_disconnect()
746 writel(plug_st, &plug_regs_p->plug_state); in udc_disconnect()
801 if (readl(&plug_regs_p->plug_state) & PLUG_STATUS_ATTACHED) { in dw_udc_plug_irq()
/openbmc/linux/sound/soc/codecs/
H A Dcs42l42.h42 u8 plug_state; member
H A Dcs42l42.c1736 if (cs42l42->plug_state != CS42L42_TS_PLUG) { in cs42l42_irq_thread()
1737 cs42l42->plug_state = CS42L42_TS_PLUG; in cs42l42_irq_thread()
1743 if (cs42l42->plug_state != CS42L42_TS_UNPLUG) { in cs42l42_irq_thread()
1744 cs42l42->plug_state = CS42L42_TS_UNPLUG; in cs42l42_irq_thread()
1757 cs42l42->plug_state = CS42L42_TS_TRANS; in cs42l42_irq_thread()
1762 if (cs42l42->plug_state == CS42L42_TS_PLUG && ((~masks[7]) & irq_params_table[7].mask)) { in cs42l42_irq_thread()
1936 cs42l42->plug_state = (((char) reg) & in cs42l42_setup_hs_type_detect()
2233 if (cs42l42->plug_state != CS42L42_TS_UNPLUG) in cs42l42_resume()
2234 cs42l42->plug_state = CS42L42_TS_TRANS; in cs42l42_resume()
/openbmc/u-boot/include/usb/
H A Ddesignware_udc.h158 u32 plug_state; member