Home
last modified time | relevance | path

Searched refs:xd (Results 1 – 12 of 12) 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()
592 struct tb_xdomain *xd; in tb_xdp_handle_request() local
601 xd = tb_xdomain_find_by_uuid_locked(tb, &xchg->src_uuid); in tb_xdp_handle_request()
602 if (xd) { in tb_xdp_handle_request()
603 queue_delayed_work(tb->wq, &xd->get_properties_work, in tb_xdp_handle_request()
605 tb_xdomain_put(xd); in tb_xdp_handle_request()
778 struct tb_xdomain *xd = tb_service_parent(svc); in tb_service_release() local
[all …]
Dicm.c544 static int icm_fr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in icm_fr_approve_xdomain_paths() argument
552 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIFT | xd->link; in icm_fr_approve_xdomain_paths()
553 memcpy(&request.remote_uuid, xd->remote_uuid, sizeof(*xd->remote_uuid)); in icm_fr_approve_xdomain_paths()
555 request.transmit_path = xd->transmit_path; in icm_fr_approve_xdomain_paths()
556 request.transmit_ring = xd->transmit_ring; in icm_fr_approve_xdomain_paths()
557 request.receive_path = xd->receive_path; in icm_fr_approve_xdomain_paths()
558 request.receive_ring = xd->receive_ring; in icm_fr_approve_xdomain_paths()
572 static int icm_fr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in icm_fr_disconnect_xdomain_paths() argument
577 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
665 struct tb_xdomain *xd; in add_xdomain() local
[all …]
Dtb.c183 struct tb_xdomain *xd; in tb_scan_xdomain() local
187 xd = tb_xdomain_find_by_route(tb, route); in tb_scan_xdomain()
188 if (xd) { in tb_scan_xdomain()
189 tb_xdomain_put(xd); in tb_scan_xdomain()
193 xd = tb_xdomain_alloc(tb, &sw->dev, route, tb->root_switch->uuid, in tb_scan_xdomain()
195 if (xd) { in tb_scan_xdomain()
196 tb_port_at(route, sw)->xdomain = xd; in tb_scan_xdomain()
198 tb_xdomain_add(xd); in tb_scan_xdomain()
1045 static int tb_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_approve_xdomain_paths() argument
1052 sw = tb_to_switch(xd->dev.parent); in tb_approve_xdomain_paths()
[all …]
Ddomain.c764 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_domain_approve_xdomain_paths() argument
769 return tb->cm_ops->approve_xdomain_paths(tb, xd); in tb_domain_approve_xdomain_paths()
784 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_domain_disconnect_xdomain_paths() argument
789 return tb->cm_ops->disconnect_xdomain_paths(tb, xd); in tb_domain_disconnect_xdomain_paths()
794 struct tb_xdomain *xd; in disconnect_xdomain() local
798 xd = tb_to_xdomain(dev); in disconnect_xdomain()
799 if (xd && xd->tb == tb) in disconnect_xdomain()
800 ret = tb_xdomain_disable_paths(xd); in disconnect_xdomain()
Dtb.h394 int (*approve_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd);
395 int (*disconnect_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd);
623 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd);
624 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd);
940 void tb_xdomain_add(struct tb_xdomain *xd);
941 void tb_xdomain_remove(struct tb_xdomain *xd);
/drivers/dma/
Duniphier-xdmac.c89 struct uniphier_xdmac_desc *xd; member
132 struct uniphier_xdmac_desc *xd) in uniphier_xdmac_chan_start() argument
140 src_addr = xd->nodes[xd->cur_node].src; in uniphier_xdmac_chan_start()
141 dst_addr = xd->nodes[xd->cur_node].dst; in uniphier_xdmac_chan_start()
142 its = xd->nodes[xd->cur_node].burst_size; in uniphier_xdmac_chan_start()
143 tnum = xd->nodes[xd->cur_node].nr_burst; in uniphier_xdmac_chan_start()
149 if (xd->dir == DMA_DEV_TO_MEM) { in uniphier_xdmac_chan_start()
158 if (xd->dir == DMA_MEM_TO_DEV) { in uniphier_xdmac_chan_start()
220 struct uniphier_xdmac_desc *xd; in uniphier_xdmac_start() local
222 xd = uniphier_xdmac_next_desc(xc); in uniphier_xdmac_start()
[all …]
/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/misc/ocxl/
Dafu_irq.c198 struct xive_irq_data *xd; in ocxl_afu_irq_get_addr() local
205 xd = irq_get_handler_data(irq->virq); in ocxl_afu_irq_get_addr()
206 addr = xd ? xd->trig_page : 0; in ocxl_afu_irq_get_addr()
/drivers/staging/rts5208/
DMakefile5 rtsx_card.o general.o sd.o xd.o ms.o spi.o
/drivers/scsi/cxlflash/
Docxl_hw.c184 struct xive_irq_data *xd; in afu_map_irq() local
208 xd = irq_get_handler_data(virq); in afu_map_irq()
209 if (unlikely(!xd)) { in afu_map_irq()
216 irq->vtrig = xd->trig_mmio; in afu_map_irq()
/drivers/crypto/stm32/
Dstm32-cryp.c499 u32 xd = d[i]; in stm32_cryp_ccm_init() local
502 xd = be32_to_cpu(bd[i]); in stm32_cryp_ccm_init()
503 stm32_cryp_write(cryp, CRYP_DIN, xd); in stm32_cryp_ccm_init()