Searched refs:TB_CFG_SWITCH (Results 1 – 4 of 4) sorted by relevance
/drivers/thunderbolt/ |
D | switch.c | 285 res = tb_sw_write(sw, ((u32 *) &sw->config) + 4, TB_CFG_SWITCH, 4, 1); in tb_plug_events_active() 289 res = tb_sw_read(sw, &data, TB_CFG_SWITCH, sw->cap_plug_events + 1, 1); in tb_plug_events_active() 306 return tb_sw_write(sw, &data, TB_CFG_SWITCH, in tb_plug_events_active() 378 if (tb_sw_write(sw, 1 + (u32 *) &sw->config, TB_CFG_SWITCH, 1, 3)) in tb_switch_alloc() 393 cap = tb_find_cap(&sw->ports[0], TB_CFG_SWITCH, TB_CAP_PLUG_EVENTS); in tb_switch_alloc() 467 err = tb_sw_write(sw, 1 + (u32 *) &sw->config, TB_CFG_SWITCH, 1, 3); in tb_switch_resume()
|
D | eeprom.c | 16 return tb_sw_write(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1); in tb_eeprom_ctl_write() 24 return tb_sw_read(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1); in tb_eeprom_ctl_read() 244 res = tb_sw_read(sw, &cap, TB_CFG_SWITCH, sw->cap_plug_events, in tb_eeprom_get_drom_offset()
|
D | ctl.h | 29 TB_CFG_SWITCH = 2, enumerator
|
D | ctl.c | 724 TB_CFG_SWITCH, 0, 1, in tb_cfg_get_upstream_port()
|