Lines Matching +full:0 +full:x80000100

81 	UUID_INIT(0xb638d70e, 0x42ff, 0x40bb,
82 0x97, 0xc2, 0x90, 0xe2, 0xc0, 0xb2, 0xff, 0x07);
126 req->result.err = 0; in tb_xdomain_copy()
163 * Return: %0 in case of success and negative errno in case of failure
215 * Return: %0 in case of success and negative errno in case of failure
246 return 0; in tb_xdp_handle_error()
260 return 0; in tb_xdp_handle_error()
270 memset(&req, 0, sizeof(req)); in tb_xdp_uuid_request()
274 memset(&res, 0, sizeof(res)); in tb_xdp_uuid_request()
289 return 0; in tb_xdp_uuid_request()
297 memset(&res, 0, sizeof(res)); in tb_xdp_uuid_response()
314 memset(&res, 0, sizeof(res)); in tb_xdp_error_response()
339 memset(&req, 0, sizeof(req)); in tb_xdp_properties_request()
345 data_len = 0; in tb_xdp_properties_request()
430 return 0; in tb_xdp_properties_response()
475 memset(&req, 0, sizeof(req)); in tb_xdp_properties_changed_request()
480 memset(&res, 0, sizeof(res)); in tb_xdp_properties_changed_request()
496 memset(&res, 0, sizeof(res)); in tb_xdp_properties_changed_response()
511 memset(&req, 0, sizeof(req)); in tb_xdp_link_state_status_request()
515 memset(&res, 0, sizeof(res)); in tb_xdp_link_state_status_request()
526 if (res.status != 0) in tb_xdp_link_state_status_request()
534 return 0; in tb_xdp_link_state_status_request()
545 memset(&res, 0, sizeof(res)); in tb_xdp_link_state_status_response()
554 res.slw = (val[0] & LANE_ADP_CS_0_SUPPORTED_WIDTH_MASK) >> in tb_xdp_link_state_status_response()
556 res.sls = (val[0] & LANE_ADP_CS_0_SUPPORTED_SPEED_MASK) >> in tb_xdp_link_state_status_response()
573 memset(&req, 0, sizeof(req)); in tb_xdp_link_state_change_request()
579 memset(&res, 0, sizeof(res)); in tb_xdp_link_state_change_request()
590 return res.status != 0 ? -EREMOTEIO : 0; in tb_xdp_link_state_change_request()
598 memset(&res, 0, sizeof(res)); in tb_xdp_link_state_change_response()
628 return 0; in tb_register_protocol_handler()
670 ret = tb_property_format_dir(dir, NULL, 0); in update_property_block()
671 if (ret < 0) { in update_property_block()
717 xd->properties_changed_retries = 0; in __stop_handshake()
718 xd->state_retries = 0; in __stop_handshake()
736 int ret = 0; in tb_xdp_handle_request()
822 sequence, 0); in tb_xdp_handle_request()
962 return sysfs_emit(buf, "0x%08x\n", svc->prtcstns); in prtcstns_show()
1020 return 0; in remove_missing_service()
1026 return 0; in remove_missing_service()
1036 return 0; in find_service()
1065 return 0; in populate_service()
1103 if (id < 0) { in enumerate_services()
1160 return 0; in populate_properties()
1172 if (ret < 0) in tb_xdomain_update_link_attributes()
1181 if (ret < 0) in tb_xdomain_update_link_attributes()
1192 return 0; in tb_xdomain_update_link_attributes()
1206 if (ret < 0) { in tb_xdomain_get_uuid()
1207 if (xd->state_retries-- > 0) { in tb_xdomain_get_uuid()
1245 return 0; in tb_xdomain_get_uuid()
1261 if (ret != -EOPNOTSUPP && xd->state_retries-- > 0) { in tb_xdomain_get_link_status()
1277 return 0; in tb_xdomain_get_link_status()
1308 if (ret != -EOPNOTSUPP && xd->state_retries-- > 0) { in tb_xdomain_link_state_change()
1318 return 0; in tb_xdomain_link_state_change()
1334 if (xd->state_retries-- > 0) { in tb_xdomain_bond_lanes_uuid_high()
1379 return 0; in tb_xdomain_bond_lanes_uuid_high()
1388 u32 gen = 0; in tb_xdomain_get_properties()
1396 if (ret < 0) { in tb_xdomain_get_properties()
1397 if (xd->state_retries-- > 0) { in tb_xdomain_get_properties()
1413 ret = 0; in tb_xdomain_get_properties()
1465 dev_dbg(&xd->dev, "current link speed %u.0 Gb/s\n", in tb_xdomain_get_properties()
1486 return 0; in tb_xdomain_get_properties()
1523 if (memcmp(xd->local_uuid, xd->remote_uuid, UUID_SIZE) > 0) { in tb_xdomain_queue_bonding()
1695 if (xd->properties_changed_retries-- > 0) { in tb_xdomain_properties_changed()
1780 return sysfs_emit(buf, "%u.0 Gb/s\n", xd->link_speed); in speed_show()
1883 return 0; in tb_xdomain_suspend()
1889 return 0; in tb_xdomain_resume()
2048 return 0; in unregister_service()
2094 * Return: %0 in case of success and negative errno in case of error.
2111 if (ret < 0) in tb_xdomain_lane_bonding_enable()
2137 return 0; in tb_xdomain_lane_bonding_enable()
2181 if (hopid < 0) in tb_xdomain_alloc_in_hopid()
2203 if (hopid < 0) in tb_xdomain_alloc_out_hopid()
2248 * Return: %0 in case of success and negative errno in case of error
2273 * Return: %0 in case of success and negative errno in case of error
2344 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_uuid()
2374 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_link_depth()
2402 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_route()
2416 int ret = 0; in tb_xdomain_handle_request()
2450 return ret > 0; in tb_xdomain_handle_request()
2463 return 0; in update_xdomain()
2494 * Return: %0 on success and negative errno on failure
2521 return 0; in tb_register_property_dir()
2539 int ret = 0; in tb_unregister_property_dir()
2568 tb_property_add_immediate(xdomain_property_dir, "deviceid", 0x1); in tb_xdomain_init()
2569 tb_property_add_immediate(xdomain_property_dir, "devicerv", 0x80000100); in tb_xdomain_init()
2572 return 0; in tb_xdomain_init()