Home
last modified time | relevance | path

Searched refs:portstate (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/net/dsa/
Dlan9303-core.c1132 int portmask, portstate; in lan9303_port_stp_state_set() local
1140 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()
1144 portstate = LAN9303_SWE_PORT_STATE_BLOCKING_PORT0; in lan9303_port_stp_state_set()
1147 portstate = LAN9303_SWE_PORT_STATE_LEARNING_PORT0; in lan9303_port_stp_state_set()
1150 portstate = LAN9303_SWE_PORT_STATE_FORWARDING_PORT0; in lan9303_port_stp_state_set()
1153 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()
1159 portstate <<= (port * 2); in lan9303_port_stp_state_set()
1161 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
/Linux-v4.19/drivers/usb/musb/
Ddavinci.c127 #define portstate(stmt) stmt macro
315 portstate(musb->port1_status |= USB_PORT_STAT_POWER); in davinci_musb_interrupt()
321 portstate(musb->port1_status &= ~USB_PORT_STAT_POWER); in davinci_musb_interrupt()
Dam35x.c111 #define portstate(stmt) stmt macro
267 portstate(musb->port1_status |= USB_PORT_STAT_POWER); in am35x_musb_interrupt()
273 portstate(musb->port1_status &= ~USB_PORT_STAT_POWER); in am35x_musb_interrupt()
Dda8xx.c113 #define portstate(stmt) stmt macro
283 portstate(musb->port1_status |= USB_PORT_STAT_POWER); in da8xx_musb_interrupt()
297 portstate(musb->port1_status &= ~USB_PORT_STAT_POWER); in da8xx_musb_interrupt()
/Linux-v4.19/drivers/scsi/pm8001/
Dpm80xx_hwi.c2917 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local
2924 port->port_state = portstate; in hw_event_sas_phy_up()
2930 port_id, phy_id, link_rate, portstate, deviceType)); in hw_event_sas_phy_up()
3000 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local
3008 port_id, phy_id, link_rate, portstate)); in hw_event_sata_phy_up()
3010 port->port_state = portstate; in hw_event_sata_phy_up()
3046 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_phy_down() local
3051 port->port_state = portstate; in hw_event_phy_down()
3054 switch (portstate) { in hw_event_phy_down()
3096 portstate)); in hw_event_phy_down()
[all …]
Dpm8001_hwi.c3378 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local
3384 port->port_state = portstate; in hw_event_sas_phy_up()
3457 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local
3465 port->port_state = portstate; in hw_event_sata_phy_up()
3500 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_phy_down() local
3503 port->port_state = portstate; in hw_event_phy_down()
3508 switch (portstate) { in hw_event_phy_down()
3542 portstate)); in hw_event_phy_down()