Home
last modified time | relevance | path

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

/linux/drivers/net/dsa/
H A Dlan9303-core.c1165 int portmask, portstate; in lan9303_port_stp_state_set() local
1173 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()
1177 portstate = LAN9303_SWE_PORT_STATE_BLOCKING_PORT0; in lan9303_port_stp_state_set()
1180 portstate = LAN9303_SWE_PORT_STATE_LEARNING_PORT0; in lan9303_port_stp_state_set()
1183 portstate = LAN9303_SWE_PORT_STATE_FORWARDING_PORT0; in lan9303_port_stp_state_set()
1186 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()
1192 portstate <<= (port * 2); in lan9303_port_stp_state_set()
1194 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
/linux/drivers/usb/musb/
H A Dda8xx.c114 #define portstate(stmt) stmt macro
291 portstate(musb->port1_status |= USB_PORT_STAT_POWER); in da8xx_musb_interrupt()
305 portstate(musb->port1_status &= ~USB_PORT_STAT_POWER); in da8xx_musb_interrupt()
/linux/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c3137 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local
3145 port->port_state = portstate; in hw_event_sas_phy_up()
3150 port_id, phy_id, link_rate, portstate, deviceType); in hw_event_sas_phy_up()
3217 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local
3224 phy_id, port_id, link_rate, portstate); in hw_event_sata_phy_up()
3228 port->port_state = portstate; in hw_event_sata_phy_up()
3264 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_phy_down() local
3269 port->port_state = portstate; in hw_event_phy_down()
3272 switch (portstate) { in hw_event_phy_down()
3320 phy_id, port_id, portstate); in hw_event_phy_down()
[all …]
H A Dpm8001_hwi.c3118 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local
3125 port->port_state = portstate; in hw_event_sas_phy_up()
3195 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local
3203 port->port_state = portstate; in hw_event_sata_phy_up()
3238 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_phy_down() local
3241 port->port_state = portstate; in hw_event_phy_down()
3246 switch (portstate) { in hw_event_phy_down()
3278 portstate); in hw_event_phy_down()