Searched refs:tb_sw_write (Results 1 – 3 of 3) 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() 306 return tb_sw_write(sw, &data, TB_CFG_SWITCH, in tb_plug_events_active() 382 if (tb_sw_write(sw, 1 + (u32 *) &sw->config, TB_CFG_SWITCH, 1, 3)) in tb_switch_alloc() 471 err = tb_sw_write(sw, 1 + (u32 *) &sw->config, TB_CFG_SWITCH, 1, 3); in tb_switch_resume()
|
D | tb.h | 152 static inline int tb_sw_write(struct tb_switch *sw, void *buffer, in tb_sw_write() function
|
D | eeprom.c | 16 return tb_sw_write(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1); in tb_eeprom_ctl_write()
|