Lines Matching refs:TB_CFG_PORT
471 res = tb_port_read(port, &phy, TB_CFG_PORT, port->cap_phy, 2); in tb_port_state()
566 TB_CFG_PORT, 4, 1); in tb_port_add_nfc_credits()
581 ret = tb_port_read(port, &data, TB_CFG_PORT, 5, 1); in tb_port_set_initial_credits()
588 return tb_port_write(port, &data, TB_CFG_PORT, 5, 1); in tb_port_set_initial_credits()
616 res = tb_port_read(port, &port->config, TB_CFG_PORT, 0, 8); in tb_init_port()
806 if (tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap, 1)) in tb_pci_port_is_enabled()
822 return tb_port_write(port, &word, TB_CFG_PORT, port->cap_adap, 1); in tb_pci_port_enable()
836 ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap + 2, 1); in tb_dp_port_hpd_is_active()
854 ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap + 3, 1); in tb_dp_port_hpd_clear()
859 return tb_port_write(port, &data, TB_CFG_PORT, port->cap_adap + 3, 1); in tb_dp_port_hpd_clear()
877 ret = tb_port_read(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_set_hops()
889 return tb_port_write(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_set_hops()
901 if (tb_port_read(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_is_enabled()
921 ret = tb_port_read(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_enable()
931 return tb_port_write(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_enable()