Searched refs:cap_plug_events (Results 1 – 3 of 3) sorted by relevance
/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 | 1718 res = tb_sw_read(sw, &data, TB_CFG_SWITCH, sw->cap_plug_events + 1, 1); in tb_plug_events_active() 1742 sw->cap_plug_events + 1, 1); in tb_plug_events_active() 2483 sw->cap_plug_events = ret; in tb_switch_alloc() 2606 if (!sw->cap_plug_events) { in tb_switch_configure() 3821 offset = sw->cap_plug_events + TB_PLUG_EVENTS_PCIE_WR_DATA; in tb_switch_pcie_bridge_write() 3833 offset = sw->cap_plug_events + TB_PLUG_EVENTS_PCIE_CMD; in tb_switch_pcie_bridge_write()
|
H A D | tb.h | 134 * @cap_plug_events: Offset to the plug events capability (%0 if not found) 189 int cap_plug_events; member
|