Home
last modified time | relevance | path

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

1234

/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()
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 …]
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()
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 …]
H A Dtb.h522 int (*approve_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd,
525 int (*disconnect_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd,
1230 void tb_xdomain_add(struct tb_xdomain *xd);
1231 void tb_xdomain_remove(struct tb_xdomain *xd);
1235 static inline struct tb_switch *tb_xdomain_parent(struct tb_xdomain *xd) in tb_xdomain_parent() argument
1237 return tb_to_switch(xd->dev.parent); in tb_xdomain_parent()
1248 return tb_port_at(xd->route, tb_xdomain_parent(xd)); in tb_xdomain_downstream_port()
1444 void tb_xdomain_debugfs_init(struct tb_xdomain *xd);
1445 void tb_xdomain_debugfs_remove(struct tb_xdomain *xd);
1453 static inline void tb_xdomain_debugfs_init(struct tb_xdomain *xd) { } in tb_xdomain_debugfs_init() argument
[all …]
H 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()
H A Dtb.c389 struct tb_xdomain *xd; in tb_scan_xdomain() local
397 if (xd) { in tb_scan_xdomain()
398 tb_xdomain_put(xd); in tb_scan_xdomain()
404 if (xd) { in tb_scan_xdomain()
407 tb_xdomain_add(xd); in tb_scan_xdomain()
2176 sw = tb_to_switch(xd->dev.parent); in tb_approve_xdomain_paths()
2224 sw = tb_to_switch(xd->dev.parent); in __tb_disconnect_xdomain_paths()
2251 if (!xd->is_unplugged) { in tb_disconnect_xdomain_paths()
2335 xd->is_unplugged = true; in tb_handle_hotplug()
2336 tb_xdomain_remove(xd); in tb_handle_hotplug()
[all …]
H A Ddebugfs.c1003 static void margining_xdomain_init(struct tb_xdomain *xd) in margining_xdomain_init() argument
1008 parent_sw = tb_xdomain_parent(xd); in margining_xdomain_init()
1009 downstream = tb_port_at(xd->route, parent_sw); in margining_xdomain_init()
1014 static void margining_xdomain_remove(struct tb_xdomain *xd) in margining_xdomain_remove() argument
1019 parent_sw = tb_xdomain_parent(xd); in margining_xdomain_remove()
1020 downstream = tb_port_at(xd->route, parent_sw); in margining_xdomain_remove()
1026 static inline void margining_xdomain_init(struct tb_xdomain *xd) { } in margining_xdomain_init() argument
1559 void tb_xdomain_debugfs_init(struct tb_xdomain *xd) in tb_xdomain_debugfs_init() argument
1561 margining_xdomain_init(xd); in tb_xdomain_debugfs_init()
1564 void tb_xdomain_debugfs_remove(struct tb_xdomain *xd) in tb_xdomain_debugfs_remove() argument
[all …]
/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.c263 struct jffs2_xattr_datum *xd; in jffs2_alloc_xattr_datum() local
264 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum()
265 dbg_memalloc("%p\n", xd); in jffs2_alloc_xattr_datum()
266 if (!xd) in jffs2_alloc_xattr_datum()
269 xd->class = RAWNODE_CLASS_XATTR_DATUM; in jffs2_alloc_xattr_datum()
270 xd->node = (void *)xd; in jffs2_alloc_xattr_datum()
271 INIT_LIST_HEAD(&xd->xindex); in jffs2_alloc_xattr_datum()
272 return xd; in jffs2_alloc_xattr_datum()
275 void jffs2_free_xattr_datum(struct jffs2_xattr_datum *xd) in jffs2_free_xattr_datum() argument
277 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 …]
H A Dsummary.c492 struct jffs2_xattr_datum *xd; in jffs2_sum_process_sum_data() local
501 xd = jffs2_setup_xattr_datum(c, je32_to_cpu(spx->xid), in jffs2_sum_process_sum_data()
503 if (IS_ERR(xd)) in jffs2_sum_process_sum_data()
504 return PTR_ERR(xd); in jffs2_sum_process_sum_data()
505 if (xd->version > je32_to_cpu(spx->version)) { in jffs2_sum_process_sum_data()
510 raw->next_in_ino = xd->node->next_in_ino; in jffs2_sum_process_sum_data()
511 xd->node->next_in_ino = raw; in jffs2_sum_process_sum_data()
513 xd->version = je32_to_cpu(spx->version); in jffs2_sum_process_sum_data()
515 PAD(je32_to_cpu(spx->totlen)), (void *)xd); in jffs2_sum_process_sum_data()
/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 …]
/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 …]
/linux/include/linux/
H A Dthunderbolt.h297 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
300 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
303 return xd; in tb_xdomain_find_by_uuid_locked()
309 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
312 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
315 return xd; in tb_xdomain_find_by_route_locked()
320 if (xd) in tb_xdomain_get()
321 get_device(&xd->dev); in tb_xdomain_get()
322 return xd; in tb_xdomain_get()
327 if (xd) in tb_xdomain_put()
[all …]
/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 …]
/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()
2839 xd->eoi_page); in kvmppc_xive_debug_show_queues()
[all …]
H A Dbook3s_xive_native.c30 static u8 xive_vm_esb_load(struct xive_irq_data *xd, u32 offset) in xive_vm_esb_load() argument
40 val = in_be64(xd->eoi_mmio + offset); in xive_vm_esb_load()
235 struct xive_irq_data *xd; in xive_native_esb_fault() local
263 kvmppc_xive_select_irq(state, &hw_num, &xd); in xive_native_esb_fault()
271 page = page_offset % 2 ? xd->eoi_page : xd->trig_page; in xive_native_esb_fault()
514 struct xive_irq_data *xd; in kvmppc_xive_native_sync_source() local
532 kvmppc_xive_select_irq(state, &hw_num, &xd); in kvmppc_xive_native_sync_source()
862 struct xive_irq_data *xd; in kvmppc_xive_native_sync_sources() local
885 kvmppc_xive_select_irq(state, &hw_num, &xd); in kvmppc_xive_native_sync_sources()
/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()
/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()
/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()
/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
/linux/arch/arm64/boot/dts/qcom/
H A Dpm8010.dtsi73 reg = <0xd SPMI_USID>;
80 interrupts = <0xd 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;

1234