Home
last modified time | relevance | path

Searched refs:xd (Results 1 – 8 of 8) sorted by relevance

/drivers/thunderbolt/
Dxdomain.c124 int tb_xdomain_response(struct tb_xdomain *xd, const void *response, in tb_xdomain_response() argument
127 return __tb_xdomain_response(xd->tb->ctl, response, size, type); in tb_xdomain_response()
176 int tb_xdomain_request(struct tb_xdomain *xd, const void *request, in tb_xdomain_request() argument
181 return __tb_xdomain_request(xd->tb->ctl, request, request_size, in tb_xdomain_request()
541 struct tb_xdomain *xd; in tb_xdp_handle_request() local
550 xd = tb_xdomain_find_by_uuid_locked(tb, &xchg->src_uuid); in tb_xdp_handle_request()
551 if (xd) { in tb_xdp_handle_request()
552 queue_delayed_work(tb->wq, &xd->get_properties_work, in tb_xdp_handle_request()
554 tb_xdomain_put(xd); in tb_xdp_handle_request()
727 struct tb_xdomain *xd = tb_service_parent(svc); in tb_service_release() local
[all …]
Dicm.c520 static int icm_fr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in icm_fr_approve_xdomain_paths() argument
528 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIFT | xd->link; in icm_fr_approve_xdomain_paths()
529 memcpy(&request.remote_uuid, xd->remote_uuid, sizeof(*xd->remote_uuid)); in icm_fr_approve_xdomain_paths()
531 request.transmit_path = xd->transmit_path; in icm_fr_approve_xdomain_paths()
532 request.transmit_ring = xd->transmit_ring; in icm_fr_approve_xdomain_paths()
533 request.receive_path = xd->receive_path; in icm_fr_approve_xdomain_paths()
534 request.receive_ring = xd->receive_ring; in icm_fr_approve_xdomain_paths()
548 static int icm_fr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in icm_fr_disconnect_xdomain_paths() argument
553 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
657 struct tb_xdomain *xd; in add_xdomain() local
[all …]
Dtb.c108 struct tb_xdomain *xd; in tb_scan_xdomain() local
112 xd = tb_xdomain_find_by_route(tb, route); in tb_scan_xdomain()
113 if (xd) { in tb_scan_xdomain()
114 tb_xdomain_put(xd); in tb_scan_xdomain()
118 xd = tb_xdomain_alloc(tb, &sw->dev, route, tb->root_switch->uuid, in tb_scan_xdomain()
120 if (xd) { in tb_scan_xdomain()
121 tb_port_at(route, sw)->xdomain = xd; in tb_scan_xdomain()
122 tb_xdomain_add(xd); in tb_scan_xdomain()
435 static int tb_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_approve_xdomain_paths() argument
442 sw = tb_to_switch(xd->dev.parent); in tb_approve_xdomain_paths()
[all …]
Ddomain.c735 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_domain_approve_xdomain_paths() argument
740 return tb->cm_ops->approve_xdomain_paths(tb, xd); in tb_domain_approve_xdomain_paths()
755 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_domain_disconnect_xdomain_paths() argument
760 return tb->cm_ops->disconnect_xdomain_paths(tb, xd); in tb_domain_disconnect_xdomain_paths()
765 struct tb_xdomain *xd; in disconnect_xdomain() local
769 xd = tb_to_xdomain(dev); in disconnect_xdomain()
770 if (xd && xd->tb == tb) in disconnect_xdomain()
771 ret = tb_xdomain_disable_paths(xd); in disconnect_xdomain()
Dtb.h289 int (*approve_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd);
290 int (*disconnect_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd);
501 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd);
502 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd);
661 void tb_xdomain_add(struct tb_xdomain *xd);
662 void tb_xdomain_remove(struct tb_xdomain *xd);
/drivers/net/
Dthunderbolt.c178 struct tb_xdomain *xd; member
235 struct tb_xdomain *xd = net->xd; in tbnet_login_response() local
238 tbnet_fill_header(&reply.hdr, route, sequence, xd->local_uuid, in tbnet_login_response()
239 xd->remote_uuid, TBIP_LOGIN_RESPONSE, sizeof(reply), in tbnet_login_response()
244 return tb_xdomain_response(xd, &reply, sizeof(reply), in tbnet_login_response()
252 struct tb_xdomain *xd = net->xd; in tbnet_login_request() local
255 tbnet_fill_header(&request.hdr, xd->route, sequence, xd->local_uuid, in tbnet_login_request()
256 xd->remote_uuid, TBIP_LOGIN, sizeof(request), in tbnet_login_request()
262 return tb_xdomain_request(xd, &request, sizeof(request), in tbnet_login_request()
272 struct tb_xdomain *xd = net->xd; in tbnet_logout_response() local
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dgddr5.c37 int pd, lf, xd, vh, vr, vo, l3; in nvkm_gddr5_calc() local
41 xd = !ram->next->bios.ramcfg_DLLoff; in nvkm_gddr5_calc()
81 ram->mr[1] |= (xd & 0x01) << 7; in nvkm_gddr5_calc()
/drivers/staging/rts5208/
DMakefile7 rtsx_card.o general.o sd.o xd.o ms.o spi.o