Searched refs:TB_CFG_SWITCH (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/thunderbolt/ |
D | cap.c | 72 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 1); in tb_switch_find_cap() 107 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 2); in tb_switch_find_vse_cap()
|
D | eeprom.c | 18 return tb_sw_write(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1); in tb_eeprom_ctl_write() 26 return tb_sw_read(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1); in tb_eeprom_ctl_read() 251 res = tb_sw_read(sw, &cap, TB_CFG_SWITCH, sw->cap_plug_events, in tb_eeprom_get_drom_offset() 450 ret = tb_sw_read(sw, &drom_offset, TB_CFG_SWITCH, in tb_drom_copy_nvm()
|
D | switch.c | 682 res = tb_sw_write(sw, ((u32 *) &sw->config) + 4, TB_CFG_SWITCH, 4, 1); in tb_plug_events_active() 686 res = tb_sw_read(sw, &data, TB_CFG_SWITCH, sw->cap_plug_events + 1, 1); in tb_plug_events_active() 703 return tb_sw_write(sw, &data, TB_CFG_SWITCH, in tb_plug_events_active() 1139 if (tb_cfg_read(tb->ctl, &sw->config, route, 0, TB_CFG_SWITCH, 0, 5)) in tb_switch_alloc() 1260 ret = tb_sw_write(sw, 1 + (u32 *)&sw->config, TB_CFG_SWITCH, 1, 3); in tb_switch_configure() 1281 tb_sw_read(sw, uuid, TB_CFG_SWITCH, cap + 3, 4); in tb_switch_set_uuid() 1509 err = tb_sw_write(sw, 1 + (u32 *) &sw->config, TB_CFG_SWITCH, 1, 3); in tb_switch_resume()
|
D | tb_msgs.h | 21 TB_CFG_SWITCH = 2, enumerator
|
D | ctl.c | 1000 TB_CFG_SWITCH, 0, 1, in tb_cfg_get_upstream_port()
|
D | icm.c | 1461 res = tb_cfg_read_raw(tb->ctl, &tmp, 0, 0, TB_CFG_SWITCH, in __icm_driver_ready() 1552 return pcie2cio_write(icm, TB_CFG_SWITCH, 0, 0x50, BIT(9)); in icm_firmware_reset()
|