Home
last modified time | relevance | path

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

1234567

/openbmc/linux/drivers/thunderbolt/
H 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()
1470 xd->vendor, xd->device); in tb_xdomain_get_properties()
1471 if (xd->vendor_name && xd->device_name) in tb_xdomain_get_properties()
1496 queue_delayed_work(xd->tb->wq, &xd->state_work, in tb_xdomain_queue_uuid()
1504 queue_delayed_work(xd->tb->wq, &xd->state_work, in tb_xdomain_queue_link_status()
1512 queue_delayed_work(xd->tb->wq, &xd->state_work, in tb_xdomain_queue_link_status2()
1527 queue_delayed_work(xd->tb->wq, &xd->state_work, in tb_xdomain_queue_bonding()
[all …]
H A Dicm.c688 if (!xd) in add_xdomain()
821 if (xd) { in icm_fr_device_connected()
923 if (xd) { in icm_fr_xdomain_connected()
926 xd_phy_port = phy_port_from_route(xd->route, xd->depth); in icm_fr_xdomain_connected()
951 if (!xd) { in icm_fr_xdomain_connected()
959 if (xd) { in icm_fr_xdomain_connected()
1000 if (xd) { in icm_fr_xdomain_disconnected()
1256 if (xd) { in __icm_tr_device_connected()
1339 if (xd) { in icm_tr_xdomain_connected()
1352 if (xd) { in icm_tr_xdomain_connected()
[all …]
H 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()
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()
494 const struct tb_xdomain *xd = dt->xd; in dma_test_check_errors() local
642 struct tb_xdomain *xd = tb_service_parent(svc); in dma_test_probe() local
[all …]
H A Dtb.h513 int (*approve_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd,
516 int (*disconnect_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd,
1166 void tb_xdomain_add(struct tb_xdomain *xd);
1167 void tb_xdomain_remove(struct tb_xdomain *xd);
1171 static inline struct tb_switch *tb_xdomain_parent(struct tb_xdomain *xd) in tb_xdomain_parent() argument
1173 return tb_to_switch(xd->dev.parent); in tb_xdomain_parent()
1184 return tb_port_at(xd->route, tb_xdomain_parent(xd)); in tb_xdomain_downstream_port()
1376 void tb_xdomain_debugfs_init(struct tb_xdomain *xd);
1377 void tb_xdomain_debugfs_remove(struct tb_xdomain *xd);
1385 static inline void tb_xdomain_debugfs_init(struct tb_xdomain *xd) { } in tb_xdomain_debugfs_init() argument
[all …]
H A Dtb.c473 struct tb_xdomain *xd; in tb_scan_xdomain() local
481 if (xd) { in tb_scan_xdomain()
482 tb_xdomain_put(xd); in tb_scan_xdomain()
488 if (xd) { in tb_scan_xdomain()
491 tb_xdomain_add(xd); in tb_scan_xdomain()
1612 sw = tb_to_switch(xd->dev.parent); in tb_approve_xdomain_paths()
1660 sw = tb_to_switch(xd->dev.parent); in __tb_disconnect_xdomain_paths()
1687 if (!xd->is_unplugged) { in tb_disconnect_xdomain_paths()
1770 xd->is_unplugged = true; in tb_handle_hotplug()
1771 tb_xdomain_remove(xd); in tb_handle_hotplug()
[all …]
H A Ddomain.c798 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in tb_domain_approve_xdomain_paths() argument
805 return tb->cm_ops->approve_xdomain_paths(tb, xd, transmit_path, in tb_domain_approve_xdomain_paths()
825 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in tb_domain_disconnect_xdomain_paths() argument
832 return tb->cm_ops->disconnect_xdomain_paths(tb, xd, transmit_path, in tb_domain_disconnect_xdomain_paths()
838 struct tb_xdomain *xd; in disconnect_xdomain() local
842 xd = tb_to_xdomain(dev); in disconnect_xdomain()
843 if (xd && xd->tb == tb) in disconnect_xdomain()
844 ret = tb_xdomain_disable_all_paths(xd); in disconnect_xdomain()
/openbmc/linux/fs/jffs2/
H A Dxattr.c247 xd->hashkey = xattr_datum_hashkey(xd->xprefix, xd->xname, xd->xvalue, xd->value_len); in do_load_xattr_datum()
258 xd->xid, xd->xprefix, xd->xname); in do_load_xattr_datum()
331 xd->xid, xd->version, xd->xprefix, xd->xname); in save_xattr_datum()
561 ref->xd = xd; in create_xattr_ref()
581 xd = ref->xd; in delete_xattr_ref()
623 xd = ref->xd; in jffs2_xattr_free_inode()
855 ref->xd = xd; in jffs2_build_xattr_subsystem()
987 xd = ref->xd; in jffs2_listxattr()
1054 xd = ref->xd; in do_jffs2_getxattr()
1127 xd = ref->xd; in do_jffs2_setxattr()
[all …]
H A Dmalloc.c279 struct jffs2_xattr_datum *xd; in jffs2_alloc_xattr_datum() local
280 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum()
281 dbg_memalloc("%p\n", xd); in jffs2_alloc_xattr_datum()
282 if (!xd) in jffs2_alloc_xattr_datum()
285 xd->class = RAWNODE_CLASS_XATTR_DATUM; in jffs2_alloc_xattr_datum()
286 xd->node = (void *)xd; in jffs2_alloc_xattr_datum()
287 INIT_LIST_HEAD(&xd->xindex); in jffs2_alloc_xattr_datum()
288 return xd; in jffs2_alloc_xattr_datum()
291 void jffs2_free_xattr_datum(struct jffs2_xattr_datum *xd) in jffs2_free_xattr_datum() argument
293 dbg_memalloc("%p\n", xd); in jffs2_free_xattr_datum()
[all …]
H A Dxattr.h59 struct jffs2_xattr_datum *xd; /* reference to jffs2_xattr_datum */ member
84 extern int jffs2_garbage_collect_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd,
89 extern void jffs2_release_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd);
H A Dscan.c334 struct jffs2_xattr_datum *xd; in jffs2_scan_xattr_node() local
361 if (IS_ERR(xd)) in jffs2_scan_xattr_node()
362 return PTR_ERR(xd); in jffs2_scan_xattr_node()
364 if (xd->version > version) { in jffs2_scan_xattr_node()
367 raw->next_in_ino = xd->node->next_in_ino; in jffs2_scan_xattr_node()
368 xd->node->next_in_ino = raw; in jffs2_scan_xattr_node()
370 xd->version = version; in jffs2_scan_xattr_node()
371 xd->xprefix = rx->xprefix; in jffs2_scan_xattr_node()
372 xd->name_len = rx->name_len; in jffs2_scan_xattr_node()
374 xd->data_crc = je32_to_cpu(rx->data_crc); in jffs2_scan_xattr_node()
[all …]
/openbmc/linux/arch/powerpc/sysdev/xive/
H A Dcommon.c251 xd->trig_page, xd->eoi_page); in xive_irq_data_dump()
405 xd->stale_p = false; in xive_do_source_eoi()
856 xd->stale_p = !xd->saved_p; in xive_irq_set_vcpu_affinity()
885 if (xd->saved_p) { in xive_irq_set_vcpu_affinity()
943 if (!xd->saved_p) in xive_irq_set_vcpu_affinity()
1003 if (xd->eoi_mmio == xd->trig_mmio) in xive_cleanup_irq_data()
1020 if (!xd) in xive_irq_alloc_data()
1024 kfree(xd); in xive_irq_alloc_data()
1046 if (!xd) in xive_irq_free_data()
1050 kfree(xd); in xive_irq_free_data()
[all …]
/openbmc/linux/drivers/dma/
H 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 …]
/openbmc/linux/include/linux/
H A Dthunderbolt.h298 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
301 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
304 return xd; in tb_xdomain_find_by_uuid_locked()
310 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
313 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
316 return xd; in tb_xdomain_find_by_route_locked()
321 if (xd) in tb_xdomain_get()
322 get_device(&xd->dev); in tb_xdomain_get()
323 return xd; in tb_xdomain_get()
328 if (xd) in tb_xdomain_put()
[all …]
/openbmc/linux/drivers/net/thunderbolt/
H 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
1271 const struct tb_xdomain *xd = net->xd; in tbnet_generate_mac() local
[all …]
/openbmc/qemu/scripts/
H A Dxen-detect.c10 xendevicemodel_handle *xd; in main() local
13 xd = xendevicemodel_open(0, 0); in main()
14 xendevicemodel_pin_memory_cacheattr(xd, 0, 0, 0, 0); in main()
41 xendevicemodel_handle *xd; in main() local
43 xd = xendevicemodel_open(0, 0); in main()
44 xendevicemodel_close(xd); in main()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_xive.c33 #define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_mmio)) argument
34 #define __x_trig_page(xd) ((void __iomem *)((xd)->trig_mmio)) argument
401 struct xive_irq_data *xd; in xive_vm_scan_for_rerouted_irqs() local
521 struct xive_irq_data *xd; in xive_vm_h_eoi() local
835 out_be64(xd->trig_mmio, 0); in xive_irq_trigger()
1088 struct xive_irq_data *xd; in xive_lock_and_mask() local
1148 struct xive_irq_data *xd; in xive_finish_unmask() local
1798 xd->stale_p = false; in xive_cleanup_single_escalation()
1801 xd->stale_p = true; in xive_cleanup_single_escalation()
2841 xd->eoi_page); in kvmppc_xive_debug_show_queues()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H 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()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dvas.c54 struct xive_irq_data *xd; in init_vas_instance() local
124 xd = irq_get_handler_data(vinst->virq); in init_vas_instance()
125 if (!xd) { in init_vas_instance()
131 vinst->irq_port = xd->trig_page; in init_vas_instance()
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A Dsve-test.S92 .macro _adrz xd, xn, nrtmp
93 ldr \xd, =zref
95 madd \xd, x\nrtmp, \xn, \xd
99 .macro _adrp xd, xn, nrtmp
100 ldr \xd, =pref
104 madd \xd, x\nrtmp, \xn, \xd
H A Dfpsimd-test.S66 .macro _adrv xd, xn, nrtmp
67 ldr \xd, =vref
69 madd \xd, x\nrtmp, \xn, \xd
H A Dza-test.S76 .macro _adrza xd, xn, nrtmp
77 ldr \xd, =zaref
79 madd \xd, x\nrtmp, \xn, \xd
/openbmc/linux/drivers/misc/ocxl/
H 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()
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dpm8010.dtsi73 reg = <0xd SPMI_USID>;
80 interrupts = <0xd 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
/openbmc/qemu/pc-bios/keymaps/
H A Dsv218 acute 0xd
219 dead_acute 0xd
220 grave 0xd shift
221 dead_grave 0xd shift
/openbmc/qemu/hw/ppc/
H A Dpnv_xscom.c260 PnvXScomInterface *xd = PNV_XSCOM_INTERFACE(child); in xscom_dt_child() local
261 PnvXScomInterfaceClass *xc = PNV_XSCOM_INTERFACE_GET_CLASS(xd); in xscom_dt_child()
267 _FDT((xc->dt_xscom(xd, args->fdt, args->xscom_offset))); in xscom_dt_child()

1234567