Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/dsa/
H A Dlan9303-core.c1134 int portmask, portstate; in lan9303_port_stp_state_set() local
1142 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()
1146 portstate = LAN9303_SWE_PORT_STATE_BLOCKING_PORT0; in lan9303_port_stp_state_set()
1149 portstate = LAN9303_SWE_PORT_STATE_LEARNING_PORT0; in lan9303_port_stp_state_set()
1152 portstate = LAN9303_SWE_PORT_STATE_FORWARDING_PORT0; in lan9303_port_stp_state_set()
1155 portstate = LAN9303_SWE_PORT_STATE_DISABLED_PORT0; in lan9303_port_stp_state_set()
1161 portstate <<= (port * 2); in lan9303_port_stp_state_set()
1163 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A Ddavinci.c126 #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()
H A 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()
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()
/OK3568_Linux_fs/u-boot/drivers/usb/musb-new/
H A Dam35x.c129 #define portstate(stmt) stmt macro
311 portstate(musb->port1_status |= USB_PORT_STAT_POWER); in am35x_musb_interrupt()
318 portstate(musb->port1_status &= ~USB_PORT_STAT_POWER); in am35x_musb_interrupt()
/OK3568_Linux_fs/kernel/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c3258 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local
3264 port->port_state = portstate; in hw_event_sas_phy_up()
3269 port_id, phy_id, link_rate, portstate, deviceType); in hw_event_sas_phy_up()
3336 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local
3343 port_id, phy_id, link_rate, portstate); in hw_event_sata_phy_up()
3345 port->port_state = portstate; in hw_event_sata_phy_up()
3381 u8 portstate = (u8)(phyid_npip_portstate & 0x0000000F); in hw_event_phy_down() local
3386 port->port_state = portstate; in hw_event_phy_down()
3389 switch (portstate) { in hw_event_phy_down()
3430 portstate); in hw_event_phy_down()
[all …]
H A Dpm8001_hwi.c3302 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sas_phy_up() local
3307 port->port_state = portstate; in hw_event_sas_phy_up()
3377 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_sata_phy_up() local
3383 port->port_state = portstate; in hw_event_sata_phy_up()
3418 u8 portstate = (u8)(npip_portstate & 0x0000000F); in hw_event_phy_down() local
3421 port->port_state = portstate; in hw_event_phy_down()
3426 switch (portstate) { in hw_event_phy_down()
3458 portstate); in hw_event_phy_down()