Lines Matching refs:TB_CFG_PORT
529 res = tb_port_read(port, &phy, TB_CFG_PORT, port->cap_phy, 2); in tb_port_state()
635 TB_CFG_PORT, ADP_CS_4, 1); in tb_port_add_nfc_credits()
678 ret = tb_port_read(port, &phy, TB_CFG_PORT, in __tb_port_enable()
688 return tb_port_write(port, &phy, TB_CFG_PORT, in __tb_port_enable()
733 res = tb_port_read(port, &port->config, TB_CFG_PORT, 0, 8); in tb_init_port()
935 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_get_link_speed()
960 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_get_link_width()
977 ret = tb_port_read(port, &phy, TB_CFG_PORT, in tb_port_is_width_supported()
996 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_set_link_width()
1017 return tb_port_write(port, &val, TB_CFG_PORT, in tb_port_set_link_width()
1115 ret = tb_port_read(port, &nfc_credits, TB_CFG_PORT, ADP_CS_4, 1); in tb_port_do_update_credits()
1223 if (tb_port_read(port, &data, TB_CFG_PORT, in tb_usb3_port_is_enabled()
1242 return tb_port_write(port, &word, TB_CFG_PORT, in tb_usb3_port_enable()
1254 if (tb_port_read(port, &data, TB_CFG_PORT, in tb_pci_port_is_enabled()
1271 return tb_port_write(port, &word, TB_CFG_PORT, in tb_pci_port_enable()
1286 ret = tb_port_read(port, &data, TB_CFG_PORT, in tb_dp_port_hpd_is_active()
1305 ret = tb_port_read(port, &data, TB_CFG_PORT, in tb_dp_port_hpd_clear()
1311 return tb_port_write(port, &data, TB_CFG_PORT, in tb_dp_port_hpd_clear()
1330 ret = tb_port_read(port, data, TB_CFG_PORT, in tb_dp_port_set_hops()
1345 return tb_port_write(port, data, TB_CFG_PORT, in tb_dp_port_set_hops()
1357 if (tb_port_read(port, data, TB_CFG_PORT, port->cap_adap + ADP_DP_CS_0, in tb_dp_port_is_enabled()
1377 ret = tb_port_read(port, data, TB_CFG_PORT, in tb_dp_port_enable()
1387 return tb_port_write(port, data, TB_CFG_PORT, in tb_dp_port_enable()