Home
last modified time | relevance | path

Searched refs:PORT_MASK (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/input/serio/
H A Dolpc_apsp.c44 #define PORT_MASK 0xff00 macro
129 writel(PORT_MASK, priv->base + SECURE_PROCESSOR_COMMAND); in olpc_apsp_rx()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcommon.h71 #define PORT_MASK ((1 << MAX_NPORTS) - 1) macro
H A Dcxgb2.c247 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
279 !(adapter->open_device_map & PORT_MASK)) { in cxgb_close()
922 if (adapter->open_device_map & PORT_MASK) in mac_stats_task()
H A Dsge.c2025 if (adapter->open_device_map & PORT_MASK) { in espibug_workaround_t204()
/openbmc/linux/drivers/scsi/cxlflash/
H A Dsislite.h549 #define PORT_MASK(_n) ((1 << (_n)) - 1) macro
H A Dmain.c1792 writeq_be(PORT_MASK(cfg->num_fc_ports), in init_global()
/openbmc/u-boot/drivers/net/phy/
H A Dmv88e61xx.c43 #define PORT_MASK ((1 << PORT_COUNT) - 1) macro
750 val = PORT_MASK & ~(1 << CONFIG_MV88E61XX_CPU_PORT); in mv88e61xx_set_cpu_port()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c77 #define PORT_MASK ((1 << MAX_NPORTS) - 1) macro
1352 int adap_up = adapter->open_device_map & PORT_MASK; in offload_open()
1422 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
1472 if (!(adapter->open_device_map & PORT_MASK)) in __cxgb_close()
2790 if (adapter->open_device_map & PORT_MASK) in t3_adap_check_task()
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dksz884x.c999 #define PORT_MASK 7 macro
2361 sw->port_cfg[port].member = PORT_MASK; in sw_init_vlan()
2383 data |= (member & PORT_MASK); in sw_cfg_port_base_vlan()
3879 sw_cfg_port_base_vlan(hw, port, PORT_MASK); in sw_enable()