Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/
H A Dlan9303-core.c1166 int portmask, portstate; in lan9303_port_stp_state_set() local
1174 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()
1178 portstate = LAN9303_SWE_PORT_STATE_BLOCKING_PORT0; in lan9303_port_stp_state_set()
1181 portstate = LAN9303_SWE_PORT_STATE_LEARNING_PORT0; in lan9303_port_stp_state_set()
1184 portstate = LAN9303_SWE_PORT_STATE_FORWARDING_PORT0; in lan9303_port_stp_state_set()
1187 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()
1193 portstate <<= (port * 2); in lan9303_port_stp_state_set()
1195 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
/openbmc/linux/drivers/usb/musb/
H A 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()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dam35x.c128 #define portstate(stmt) stmt macro
310 portstate(musb->port1_status |= USB_PORT_STAT_POWER); in am35x_musb_interrupt()
317 portstate(musb->port1_status &= ~USB_PORT_STAT_POWER); in am35x_musb_interrupt()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c3157 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local
3165 port->port_state = portstate; in hw_event_sas_phy_up()
3170 port_id, phy_id, link_rate, portstate, deviceType); in hw_event_sas_phy_up()
3237 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local
3244 phy_id, port_id, link_rate, portstate); in hw_event_sata_phy_up()
3248 port->port_state = portstate; in hw_event_sata_phy_up()
3284 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_phy_down() local
3289 port->port_state = portstate; in hw_event_phy_down()
3292 switch (portstate) { in hw_event_phy_down()
3340 phy_id, port_id, portstate); in hw_event_phy_down()
[all …]
H A Dpm8001_hwi.c3174 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local
3181 port->port_state = portstate; in hw_event_sas_phy_up()
3251 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local
3259 port->port_state = portstate; in hw_event_sata_phy_up()
3294 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_phy_down() local
3297 port->port_state = portstate; in hw_event_phy_down()
3302 switch (portstate) { in hw_event_phy_down()
3334 portstate); in hw_event_phy_down()