Home
last modified time | relevance | path

Searched refs:cap_plug_events (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/thunderbolt/
H A Deeprom.c20 return tb_sw_write(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + ROUTER_CS_4, 1); in tb_eeprom_ctl_write()
28 return tb_sw_read(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + ROUTER_CS_4, 1); in tb_eeprom_ctl_read()
142 if (!sw->cap_plug_events) { in tb_eeprom_get_drom_offset()
146 res = tb_sw_read(sw, &cap, TB_CFG_SWITCH, sw->cap_plug_events, in tb_eeprom_get_drom_offset()
H A Dswitch.c1733 res = tb_sw_read(sw, &data, TB_CFG_SWITCH, sw->cap_plug_events + 1, 1); in tb_plug_events_active()
1757 sw->cap_plug_events + 1, 1); in tb_plug_events_active()
2498 sw->cap_plug_events = ret; in tb_switch_alloc()
2621 if (!sw->cap_plug_events) { in tb_switch_configure()
3822 offset = sw->cap_plug_events + TB_PLUG_EVENTS_PCIE_WR_DATA; in tb_switch_pcie_bridge_write()
3834 offset = sw->cap_plug_events + TB_PLUG_EVENTS_PCIE_CMD; in tb_switch_pcie_bridge_write()
H A Dtb.h185 int cap_plug_events; member