Home
last modified time | relevance | path

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

/drivers/thunderbolt/
A Dxdomain.c709 queue_delayed_work(xd->tb->wq, &xd->state_work, in start_handshake()
757 if (xd) in tb_xdp_handle_request()
780 if (xd && device_is_registered(&xd->dev)) in tb_xdp_handle_request()
1394 xd->remote_uuid, xd->state_retries, in tb_xdomain_get_properties()
1475 xd->vendor, xd->device); in tb_xdomain_get_properties()
1476 if (xd->vendor_name && xd->device_name) in tb_xdomain_get_properties()
1501 queue_delayed_work(xd->tb->wq, &xd->state_work, in tb_xdomain_queue_uuid()
1509 queue_delayed_work(xd->tb->wq, &xd->state_work, in tb_xdomain_queue_link_status()
1517 queue_delayed_work(xd->tb->wq, &xd->state_work, in tb_xdomain_queue_link_status2()
1532 queue_delayed_work(xd->tb->wq, &xd->state_work, in tb_xdomain_queue_bonding()
[all …]
A Dicm.c713 if (!xd) in add_xdomain()
846 if (xd) { in icm_fr_device_connected()
948 if (xd) { in icm_fr_xdomain_connected()
951 xd_phy_port = phy_port_from_route(xd->route, xd->depth); in icm_fr_xdomain_connected()
976 if (!xd) { in icm_fr_xdomain_connected()
984 if (xd) { in icm_fr_xdomain_connected()
1025 if (xd) { in icm_fr_xdomain_disconnected()
1287 if (xd) { in __icm_tr_device_connected()
1370 if (xd) { in icm_tr_xdomain_connected()
1383 if (xd) { in icm_tr_xdomain_connected()
[all …]
A Ddma_test.c94 struct tb_xdomain *xd; member
125 tb_xdomain_release_in_hopid(dt->xd, dt->rx_hopid); in dma_test_free_rings()
130 tb_xdomain_release_out_hopid(dt->xd, dt->tx_hopid); in dma_test_free_rings()
139 struct tb_xdomain *xd = dt->xd; in dma_test_start_rings() local
160 ret = tb_xdomain_alloc_out_hopid(xd, -1); in dma_test_start_rings()
185 ret = tb_xdomain_alloc_in_hopid(xd, -1); in dma_test_start_rings()
194 ret = tb_xdomain_enable_paths(dt->xd, dt->tx_hopid, in dma_test_start_rings()
469 return tb_xdomain_lane_bonding_enable(dt->xd); in dma_test_set_bonding()
471 tb_xdomain_lane_bonding_disable(dt->xd); in dma_test_set_bonding()
638 struct tb_xdomain *xd = tb_service_parent(svc); in dma_test_probe() local
[all …]
A Dtb.h531 int (*approve_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd,
534 int (*disconnect_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd,
1252 void tb_xdomain_add(struct tb_xdomain *xd);
1253 void tb_xdomain_remove(struct tb_xdomain *xd);
1257 static inline struct tb_switch *tb_xdomain_parent(struct tb_xdomain *xd) in tb_xdomain_parent() argument
1259 return tb_to_switch(xd->dev.parent); in tb_xdomain_parent()
1270 return tb_port_at(xd->route, tb_xdomain_parent(xd)); in tb_xdomain_downstream_port()
1526 void tb_xdomain_debugfs_init(struct tb_xdomain *xd);
1527 void tb_xdomain_debugfs_remove(struct tb_xdomain *xd);
1537 static inline void tb_xdomain_debugfs_init(struct tb_xdomain *xd) { } in tb_xdomain_debugfs_init() argument
[all …]
A Ddomain.c802 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in tb_domain_approve_xdomain_paths() argument
809 return tb->cm_ops->approve_xdomain_paths(tb, xd, transmit_path, in tb_domain_approve_xdomain_paths()
829 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in tb_domain_disconnect_xdomain_paths() argument
836 return tb->cm_ops->disconnect_xdomain_paths(tb, xd, transmit_path, in tb_domain_disconnect_xdomain_paths()
842 struct tb_xdomain *xd; in disconnect_xdomain() local
846 xd = tb_to_xdomain(dev); in disconnect_xdomain()
847 if (xd && xd->tb == tb) in disconnect_xdomain()
848 ret = tb_xdomain_disable_all_paths(xd); in disconnect_xdomain()
A Dtb.c437 struct tb_xdomain *xd; in tb_scan_xdomain() local
445 if (xd) { in tb_scan_xdomain()
446 tb_xdomain_put(xd); in tb_scan_xdomain()
452 if (xd) { in tb_scan_xdomain()
455 tb_xdomain_add(xd); in tb_scan_xdomain()
2321 sw = tb_to_switch(xd->dev.parent); in tb_approve_xdomain_paths()
2369 sw = tb_to_switch(xd->dev.parent); in __tb_disconnect_xdomain_paths()
2396 if (!xd->is_unplugged) { in tb_disconnect_xdomain_paths()
2480 xd->is_unplugged = true; in tb_handle_hotplug()
2481 tb_xdomain_remove(xd); in tb_handle_hotplug()
[all …]
A Ddebugfs.c1826 static void margining_xdomain_init(struct tb_xdomain *xd) in margining_xdomain_init() argument
1831 parent_sw = tb_xdomain_parent(xd); in margining_xdomain_init()
1832 downstream = tb_port_at(xd->route, parent_sw); in margining_xdomain_init()
1837 static void margining_xdomain_remove(struct tb_xdomain *xd) in margining_xdomain_remove() argument
1842 parent_sw = tb_xdomain_parent(xd); in margining_xdomain_remove()
1843 downstream = tb_port_at(xd->route, parent_sw); in margining_xdomain_remove()
1862 static inline void margining_xdomain_init(struct tb_xdomain *xd) { } in margining_xdomain_init() argument
2457 void tb_xdomain_debugfs_init(struct tb_xdomain *xd) in tb_xdomain_debugfs_init() argument
2459 margining_xdomain_init(xd); in tb_xdomain_debugfs_init()
2462 void tb_xdomain_debugfs_remove(struct tb_xdomain *xd) in tb_xdomain_debugfs_remove() argument
[all …]
A Dusb4.c1234 int usb4_port_configure_xdomain(struct tb_port *port, struct tb_xdomain *xd) in usb4_port_configure_xdomain() argument
1236 xd->link_usb4 = link_is_usb4(port); in usb4_port_configure_xdomain()
/drivers/dma/
A Duniphier-xdmac.c140 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()
223 if (xd) in uniphier_xdmac_start()
227 xc->xd = xd; in uniphier_xdmac_start()
250 if (xc->xd->cur_node >= xc->xd->nr_node) { in uniphier_xdmac_chan_irq()
295 xd = kzalloc(struct_size(xd, nodes, nr), GFP_NOWAIT); in uniphier_xdmac_prep_dma_memcpy()
296 if (!xd) in uniphier_xdmac_prep_dma_memcpy()
352 if (!xd) in uniphier_xdmac_prep_slave_sg()
[all …]
/drivers/net/thunderbolt/
A Dmain.c182 struct tb_xdomain *xd; member
244 struct tb_xdomain *xd = net->xd; in tbnet_login_response() local
261 struct tb_xdomain *xd = net->xd; in tbnet_login_request() local
264 tbnet_fill_header(&request.hdr, xd->route, sequence, xd->local_uuid, in tbnet_login_request()
281 struct tb_xdomain *xd = net->xd; in tbnet_logout_response() local
295 struct tb_xdomain *xd = net->xd; in tbnet_logout_request() local
298 tbnet_fill_header(&request.hdr, xd->route, 0, xd->local_uuid, in tbnet_logout_request()
437 if (route != net->xd->route) in tbnet_handle_packet()
919 struct tb_xdomain *xd = net->xd; in tbnet_open() local
1270 const struct tb_xdomain *xd = net->xd; in tbnet_generate_mac() local
[all …]
/drivers/misc/ocxl/
A Dafu_irq.c199 struct xive_irq_data *xd; in ocxl_afu_irq_get_addr() local
206 xd = irq_get_handler_data(irq->virq); in ocxl_afu_irq_get_addr()
207 addr = xd ? xd->trig_page : 0; in ocxl_afu_irq_get_addr()
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A 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/net/ethernet/mellanox/mlx5/core/en/
A Dxdp.c75 xdptxd = &xdptxdf.xd; in mlx5e_xmit_xdp_buff()
461 container_of(xdptxd, struct mlx5e_xmit_data_frags, xd); in mlx5e_xmit_xdp_frame_mpwqe()
534 container_of(xdptxd, struct mlx5e_xmit_data_frags, xd); in mlx5e_xmit_xdp_frame()
872 xdptxd = &xdptxdf.xd; in mlx5e_xdp_xmit()
A Dtxrx.h109 struct mlx5e_xmit_data xd; member
/drivers/dma/xilinx/
A Dxdma.c142 typeof(_xd) (xd) = (_xd); \
143 ((xd)->h2c_chan_num + (xd)->c2h_chan_num); })
/drivers/crypto/stm32/
A Dstm32-cryp.c714 u32 xd = d[i]; in stm32_cryp_ccm_init() local
717 xd = be32_to_cpu(bd[i]); in stm32_cryp_ccm_init()
718 stm32_cryp_write(cryp, cryp->caps->din, xd); in stm32_cryp_ccm_init()

Completed in 73 milliseconds