Searched refs:cap_plug_events (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/thunderbolt/ |
H A D | eeprom.c | 20 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 D | switch.c | 1733 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 D | tb.h | 185 int cap_plug_events; member
|