Searched refs:portstate (Results 1 – 6 of 6) sorted by relevance
1143 int portmask, portstate; in lan9303_port_stp_state_set() local1151 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()1155 portstate = LAN9303_SWE_PORT_STATE_BLOCKING_PORT0; in lan9303_port_stp_state_set()1158 portstate = LAN9303_SWE_PORT_STATE_LEARNING_PORT0; in lan9303_port_stp_state_set()1161 portstate = LAN9303_SWE_PORT_STATE_FORWARDING_PORT0; in lan9303_port_stp_state_set()1164 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()1170 portstate <<= (port * 2); in lan9303_port_stp_state_set()1172 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
126 #define portstate(stmt) stmt macro315 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()
111 #define portstate(stmt) stmt macro267 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()
113 #define portstate(stmt) stmt macro283 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()
3320 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local3326 port->port_state = portstate; in hw_event_sas_phy_up()3331 port_id, phy_id, link_rate, portstate, deviceType); in hw_event_sas_phy_up()3398 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local3405 port_id, phy_id, link_rate, portstate); in hw_event_sata_phy_up()3407 port->port_state = portstate; in hw_event_sata_phy_up()3443 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_phy_down() local3448 port->port_state = portstate; in hw_event_phy_down()3451 switch (portstate) { in hw_event_phy_down()3492 portstate); in hw_event_phy_down()[all …]
3346 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local3351 port->port_state = portstate; in hw_event_sas_phy_up()3421 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local3427 port->port_state = portstate; in hw_event_sata_phy_up()3462 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_phy_down() local3465 port->port_state = portstate; in hw_event_phy_down()3470 switch (portstate) { in hw_event_phy_down()3502 portstate); in hw_event_phy_down()