Home
last modified time | relevance | path

Searched refs:xd (Results 1 - 25 of 1225) sorted by relevance

12345678910>>...49

/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dxdomain.c155 * @xd: XDomain to send the message
165 int tb_xdomain_response(struct tb_xdomain *xd, const void *response, in tb_xdomain_response() argument
168 return __tb_xdomain_response(xd->tb->ctl, response, size, type); in tb_xdomain_response()
202 * @xd: XDomain to send the request
217 int tb_xdomain_request(struct tb_xdomain *xd, const void *request, in tb_xdomain_request() argument
222 return __tb_xdomain_request(xd->tb->ctl, request, request_size, in tb_xdomain_request()
415 struct tb_xdomain *xd, u8 sequence, const struct tb_xdp_properties *req) in tb_xdp_properties_response()
427 if (!uuid_equal(xd->local_uuid, &req->dst_uuid)) { in tb_xdp_properties_response()
428 tb_xdp_error_response(ctl, xd->route, sequence, in tb_xdp_properties_response()
433 mutex_lock(&xd in tb_xdp_properties_response()
414 tb_xdp_properties_response(struct tb *tb, struct tb_ctl *ctl, struct tb_xdomain *xd, u8 sequence, const struct tb_xdp_properties *req) tb_xdp_properties_response() argument
537 tb_xdp_link_state_status_response(struct tb *tb, struct tb_ctl *ctl, struct tb_xdomain *xd, u8 sequence) tb_xdp_link_state_status_response() argument
646 update_property_block(struct tb_xdomain *xd) update_property_block() argument
706 start_handshake(struct tb_xdomain *xd) start_handshake() argument
714 __stop_handshake(struct tb_xdomain *xd) __stop_handshake() argument
721 stop_handshake(struct tb_xdomain *xd) stop_handshake() argument
734 struct tb_xdomain *xd; tb_xdp_handle_request() local
997 struct tb_xdomain *xd = tb_service_parent(svc); tb_service_release() local
1015 struct tb_xdomain *xd = data; remove_missing_service() local
1068 enumerate_services(struct tb_xdomain *xd) enumerate_services() argument
1123 populate_properties(struct tb_xdomain *xd, struct tb_property_dir *dir) populate_properties() argument
1163 tb_xdomain_update_link_attributes(struct tb_xdomain *xd) tb_xdomain_update_link_attributes() argument
1195 tb_xdomain_get_uuid(struct tb_xdomain *xd) tb_xdomain_get_uuid() argument
1248 tb_xdomain_get_link_status(struct tb_xdomain *xd) tb_xdomain_get_link_status() argument
1280 tb_xdomain_link_state_change(struct tb_xdomain *xd, unsigned int width) tb_xdomain_link_state_change() argument
1321 tb_xdomain_bond_lanes_uuid_high(struct tb_xdomain *xd) tb_xdomain_bond_lanes_uuid_high() argument
1382 tb_xdomain_get_properties(struct tb_xdomain *xd) tb_xdomain_get_properties() argument
1492 tb_xdomain_queue_uuid(struct tb_xdomain *xd) tb_xdomain_queue_uuid() argument
1500 tb_xdomain_queue_link_status(struct tb_xdomain *xd) tb_xdomain_queue_link_status() argument
1508 tb_xdomain_queue_link_status2(struct tb_xdomain *xd) tb_xdomain_queue_link_status2() argument
1516 tb_xdomain_queue_bonding(struct tb_xdomain *xd) tb_xdomain_queue_bonding() argument
1531 tb_xdomain_queue_bonding_uuid_low(struct tb_xdomain *xd) tb_xdomain_queue_bonding_uuid_low() argument
1539 tb_xdomain_queue_properties(struct tb_xdomain *xd) tb_xdomain_queue_properties() argument
1547 tb_xdomain_queue_properties_changed(struct tb_xdomain *xd) tb_xdomain_queue_properties_changed() argument
1554 tb_xdomain_failed(struct tb_xdomain *xd) tb_xdomain_failed() argument
1563 struct tb_xdomain *xd = container_of(work, typeof(*xd), state_work.work); tb_xdomain_state_work() local
1681 struct tb_xdomain *xd = container_of(work, typeof(*xd), tb_xdomain_properties_changed() local
1707 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); device_show() local
1716 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); device_name_show() local
1731 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); maxhopid_show() local
1740 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); vendor_show() local
1749 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); vendor_name_show() local
1764 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); unique_id_show() local
1773 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); speed_show() local
1784 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); rx_lanes_show() local
1810 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); tx_lanes_show() local
1858 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); tb_xdomain_release() local
1915 struct tb_xdomain *xd; tb_xdomain_alloc() local
1989 tb_xdomain_add(struct tb_xdomain *xd) tb_xdomain_add() argument
2009 tb_xdomain_remove(struct tb_xdomain *xd) tb_xdomain_remove() argument
2044 tb_xdomain_lane_bonding_enable(struct tb_xdomain *xd) tb_xdomain_lane_bonding_enable() argument
2096 tb_xdomain_lane_bonding_disable(struct tb_xdomain *xd) tb_xdomain_lane_bonding_disable() argument
2127 tb_xdomain_alloc_in_hopid(struct tb_xdomain *xd, int hopid) tb_xdomain_alloc_in_hopid() argument
2149 tb_xdomain_alloc_out_hopid(struct tb_xdomain *xd, int hopid) tb_xdomain_alloc_out_hopid() argument
2166 tb_xdomain_release_in_hopid(struct tb_xdomain *xd, int hopid) tb_xdomain_release_in_hopid() argument
2177 tb_xdomain_release_out_hopid(struct tb_xdomain *xd, int hopid) tb_xdomain_release_out_hopid() argument
2198 tb_xdomain_enable_paths(struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) tb_xdomain_enable_paths() argument
2223 tb_xdomain_disable_paths(struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) tb_xdomain_disable_paths() argument
2246 struct tb_xdomain *xd; switch_find_xdomain() local
2290 struct tb_xdomain *xd; tb_xdomain_find_by_uuid() local
2320 struct tb_xdomain *xd; tb_xdomain_find_by_link_depth() local
2348 struct tb_xdomain *xd; tb_xdomain_find_by_route() local
2403 struct tb_xdomain *xd; update_xdomain() local
[all...]
H A Dicm.c560 static int icm_fr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in icm_fr_approve_xdomain_paths() argument
570 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIFT | xd->link; in icm_fr_approve_xdomain_paths()
571 memcpy(&request.remote_uuid, xd->remote_uuid, sizeof(*xd->remote_uuid)); in icm_fr_approve_xdomain_paths()
590 static int icm_fr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in icm_fr_disconnect_xdomain_paths() argument
597 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
683 struct tb_xdomain *xd; in add_xdomain() local
687 xd = tb_xdomain_alloc(sw->tb, &sw->dev, route, local_uuid, remote_uuid); in add_xdomain()
688 if (!xd) in add_xdomain()
703 update_xdomain(struct tb_xdomain *xd, u64 route, u8 link) update_xdomain() argument
710 remove_xdomain(struct tb_xdomain *xd) remove_xdomain() argument
729 struct tb_xdomain *xd; icm_fr_device_connected() local
906 struct tb_xdomain *xd; icm_fr_xdomain_connected() local
992 struct tb_xdomain *xd; icm_fr_xdomain_disconnected() local
1127 icm_tr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) icm_tr_approve_xdomain_paths() argument
1157 icm_tr_xdomain_tear_down(struct tb *tb, struct tb_xdomain *xd, int stage) icm_tr_xdomain_tear_down() argument
1183 icm_tr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) icm_tr_disconnect_xdomain_paths() argument
1206 struct tb_xdomain *xd; __icm_tr_device_connected() local
1329 struct tb_xdomain *xd; icm_tr_xdomain_connected() local
1383 struct tb_xdomain *xd; icm_tr_xdomain_disconnected() local
[all...]
H A Ddma_test.c72 * @xd: XDomain the service belongs to
94 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
152 ring = tb_ring_alloc_tx(xd->tb->nhi, -1, DMA_TEST_TX_RING_SIZE, in dma_test_start_rings()
160 ret = tb_xdomain_alloc_out_hopid(xd, -1); in dma_test_start_rings()
175 ring = tb_ring_alloc_rx(xd->tb->nhi, -1, DMA_TEST_RX_RING_SIZE, in dma_test_start_rings()
185 ret = tb_xdomain_alloc_in_hopid(xd, in dma_test_start_rings()
494 const struct tb_xdomain *xd = dt->xd; dma_test_check_errors() local
642 struct tb_xdomain *xd = tb_service_parent(svc); dma_test_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dxdomain.c114 * @xd: XDomain to send the message
124 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()
161 * @xd: XDomain to send the request
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 in tb_xdp_handle_request()
778 struct tb_xdomain *xd = tb_service_parent(svc); tb_service_release() local
795 struct tb_xdomain *xd = data; remove_missing_service() local
848 enumerate_services(struct tb_xdomain *xd) enumerate_services() argument
901 populate_properties(struct tb_xdomain *xd, struct tb_property_dir *dir) populate_properties() argument
934 tb_xdomain_restore_paths(struct tb_xdomain *xd) tb_xdomain_restore_paths() argument
948 struct tb_xdomain *xd = container_of(work, typeof(*xd), tb_xdomain_get_uuid() local
997 struct tb_xdomain *xd = container_of(work, typeof(*xd), tb_xdomain_get_properties() local
1091 struct tb_xdomain *xd = container_of(work, typeof(*xd), tb_xdomain_properties_changed() local
1111 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); device_show() local
1120 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); device_name_show() local
1135 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); vendor_show() local
1144 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); vendor_name_show() local
1159 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); unique_id_show() local
1185 struct tb_xdomain *xd = container_of(dev, struct tb_xdomain, dev); tb_xdomain_release() local
1199 start_handshake(struct tb_xdomain *xd) start_handshake() argument
1217 stop_handshake(struct tb_xdomain *xd) stop_handshake() argument
1236 struct tb_xdomain *xd = tb_to_xdomain(dev); tb_xdomain_resume() local
1276 struct tb_xdomain *xd; tb_xdomain_alloc() local
1343 tb_xdomain_add(struct tb_xdomain *xd) tb_xdomain_add() argument
1363 tb_xdomain_remove(struct tb_xdomain *xd) tb_xdomain_remove() argument
1400 tb_xdomain_enable_paths(struct tb_xdomain *xd, u16 transmit_path, u16 transmit_ring, u16 receive_path, u16 receive_ring) tb_xdomain_enable_paths() argument
1436 tb_xdomain_disable_paths(struct tb_xdomain *xd) tb_xdomain_disable_paths() argument
1468 struct tb_xdomain *xd; switch_find_xdomain() local
1513 struct tb_xdomain *xd; tb_xdomain_find_by_uuid() local
1543 struct tb_xdomain *xd; tb_xdomain_find_by_link_depth() local
1571 struct tb_xdomain *xd; tb_xdomain_find_by_route() local
1626 struct tb_xdomain *xd; update_xdomain() local
[all...]
H A 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
665 struct tb_xdomain *xd; add_xdomain() local
685 update_xdomain(struct tb_xdomain *xd, u64 route, u8 link) update_xdomain() argument
692 remove_xdomain(struct tb_xdomain *xd) remove_xdomain() argument
711 struct tb_xdomain *xd; icm_fr_device_connected() local
882 struct tb_xdomain *xd; icm_fr_xdomain_connected() local
968 struct tb_xdomain *xd; icm_fr_xdomain_disconnected() local
1100 icm_tr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) icm_tr_approve_xdomain_paths() argument
1128 icm_tr_xdomain_tear_down(struct tb *tb, struct tb_xdomain *xd, int stage) icm_tr_xdomain_tear_down() argument
1154 icm_tr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) icm_tr_disconnect_xdomain_paths() argument
1175 struct tb_xdomain *xd; __icm_tr_device_connected() local
1293 struct tb_xdomain *xd; icm_tr_xdomain_connected() local
1347 struct tb_xdomain *xd; icm_tr_xdomain_disconnected() local
[all...]
/kernel/linux/linux-5.10/fs/jffs2/
H A Dxattr.c32 * is_xattr_datum_unchecked(c, xd)
35 * unload_xattr_datum(c, xd)
41 * do_verify_xattr_datum(c, xd)
48 * do_load_xattr_datum(c, xd)
51 * load_xattr_datum(c, xd)
53 * If xd need to call do_verify_xattr_datum() at first, it's called before calling
55 * save_xattr_datum(c, xd)
56 * is used to write xdatum to medium. xd->version will be incremented.
59 * unrefer_xattr_datum(c, xd)
61 * is set on xd
71 is_xattr_datum_unchecked(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) is_xattr_datum_unchecked() argument
87 unload_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) unload_xattr_datum() argument
105 struct jffs2_xattr_datum *xd, *_xd; reclaim_xattr_datum() local
132 do_verify_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) do_verify_xattr_datum() argument
204 do_load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) do_load_xattr_datum() argument
263 load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) load_xattr_datum() argument
284 save_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) save_xattr_datum() argument
341 struct jffs2_xattr_datum *xd; create_xattr_datum() local
404 unrefer_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) unrefer_xattr_datum() argument
550 create_xattr_ref(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, struct jffs2_xattr_datum *xd) create_xattr_ref() argument
579 struct jffs2_xattr_datum *xd; delete_xattr_ref() local
617 struct jffs2_xattr_datum *xd; jffs2_xattr_free_inode() local
727 struct jffs2_xattr_datum *xd; jffs2_find_xattr_datum() local
742 struct jffs2_xattr_datum *xd, *_xd; jffs2_clear_xattr_subsystem() local
779 struct jffs2_xattr_datum *xd, *_xd; jffs2_build_xattr_subsystem() local
897 struct jffs2_xattr_datum *xd; jffs2_setup_xattr_datum() local
973 struct jffs2_xattr_datum *xd; jffs2_listxattr() local
1042 struct jffs2_xattr_datum *xd; do_jffs2_getxattr() local
1104 struct jffs2_xattr_datum *xd; do_jffs2_setxattr() local
1224 jffs2_garbage_collect_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd, struct jffs2_raw_node_ref *raw) jffs2_garbage_collect_xattr_datum() argument
1296 struct jffs2_xattr_datum *xd, *_xd; jffs2_verify_xattr() local
1327 jffs2_release_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) jffs2_release_xattr_datum() argument
[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
[all...]
/kernel/linux/linux-6.6/fs/jffs2/
H A Dxattr.c32 * is_xattr_datum_unchecked(c, xd)
35 * unload_xattr_datum(c, xd)
41 * do_verify_xattr_datum(c, xd)
48 * do_load_xattr_datum(c, xd)
51 * load_xattr_datum(c, xd)
53 * If xd need to call do_verify_xattr_datum() at first, it's called before calling
55 * save_xattr_datum(c, xd)
56 * is used to write xdatum to medium. xd->version will be incremented.
59 * unrefer_xattr_datum(c, xd)
61 * is set on xd
71 is_xattr_datum_unchecked(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) is_xattr_datum_unchecked() argument
87 unload_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) unload_xattr_datum() argument
105 struct jffs2_xattr_datum *xd, *_xd; reclaim_xattr_datum() local
132 do_verify_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) do_verify_xattr_datum() argument
204 do_load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) do_load_xattr_datum() argument
263 load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) load_xattr_datum() argument
284 save_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) save_xattr_datum() argument
341 struct jffs2_xattr_datum *xd; create_xattr_datum() local
404 unrefer_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) unrefer_xattr_datum() argument
550 create_xattr_ref(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, struct jffs2_xattr_datum *xd) create_xattr_ref() argument
579 struct jffs2_xattr_datum *xd; delete_xattr_ref() local
617 struct jffs2_xattr_datum *xd; jffs2_xattr_free_inode() local
727 struct jffs2_xattr_datum *xd; jffs2_find_xattr_datum() local
742 struct jffs2_xattr_datum *xd, *_xd; jffs2_clear_xattr_subsystem() local
779 struct jffs2_xattr_datum *xd, *_xd; jffs2_build_xattr_subsystem() local
897 struct jffs2_xattr_datum *xd; jffs2_setup_xattr_datum() local
973 struct jffs2_xattr_datum *xd; jffs2_listxattr() local
1041 struct jffs2_xattr_datum *xd; do_jffs2_getxattr() local
1103 struct jffs2_xattr_datum *xd; do_jffs2_setxattr() local
1223 jffs2_garbage_collect_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd, struct jffs2_raw_node_ref *raw) jffs2_garbage_collect_xattr_datum() argument
1295 struct jffs2_xattr_datum *xd, *_xd; jffs2_verify_xattr() local
1326 jffs2_release_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) jffs2_release_xattr_datum() argument
[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
[all...]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xive/
H A Dcommon.c196 static notrace u8 xive_esb_read(struct xive_irq_data *xd, u32 offset) in xive_esb_read() argument
200 if (offset == XIVE_ESB_SET_PQ_10 && xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in xive_esb_read()
204 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in xive_esb_read()
207 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_read()
208 val = xive_ops->esb_rw(xd->hw_irq, offset, 0, 0); in xive_esb_read()
210 val = in_be64(xd->eoi_mmio + offset); in xive_esb_read()
215 static void xive_esb_write(struct xive_irq_data *xd, u32 offset, u64 data) in xive_esb_write() argument
218 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in xive_esb_write()
221 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_write()
222 xive_ops->esb_rw(xd in xive_esb_write()
291 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xmon_xive_get_irq_config() local
365 xive_do_source_eoi(u32 hw_irq, struct xive_irq_data *xd) xive_do_source_eoi() argument
414 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_eoi() local
426 xive_do_source_eoi(irqd_to_hwirq(d), xd); xive_irq_eoi() local
445 xive_do_source_set_mask(struct xive_irq_data *xd, bool mask) xive_do_source_set_mask() argument
572 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_pick_irq_target() local
605 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_startup() local
660 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_shutdown() local
686 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_unmask() local
709 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_mask() local
734 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_set_affinity() local
796 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_set_type() local
835 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_retrigger() local
864 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_set_vcpu_affinity() local
985 struct xive_irq_data *xd = irq_data_get_irq_handler_data(data); xive_get_irqchip_state() local
1028 xive_cleanup_irq_data(struct xive_irq_data *xd) xive_cleanup_irq_data() argument
1049 struct xive_irq_data *xd; xive_irq_alloc_data() local
1077 struct xive_irq_data *xd = irq_get_handler_data(virq); xive_irq_free_data() local
1091 struct xive_irq_data *xd; xive_cause_ipi() local
1424 struct xive_irq_data *xd; xive_flush_cpu_queue() local
1456 xive_do_source_eoi(irqd_to_hwirq(d), xd); xive_flush_cpu_queue() local
1616 struct xive_irq_data *xd; xive_debug_show_irq() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/xive/
H A Dcommon.c92 static bool xive_is_store_eoi(struct xive_irq_data *xd) in xive_is_store_eoi() argument
94 return xd->flags & XIVE_IRQ_FLAG_STORE_EOI && xive_store_eoi; in xive_is_store_eoi()
217 static notrace u8 xive_esb_read(struct xive_irq_data *xd, u32 offset) in xive_esb_read() argument
221 if (offset == XIVE_ESB_SET_PQ_10 && xive_is_store_eoi(xd)) in xive_esb_read()
224 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_read()
225 val = xive_ops->esb_rw(xd->hw_irq, offset, 0, 0); in xive_esb_read()
227 val = in_be64(xd->eoi_mmio + offset); in xive_esb_read()
232 static void xive_esb_write(struct xive_irq_data *xd, u32 offset, u64 data) in xive_esb_write() argument
234 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_write()
235 xive_ops->esb_rw(xd in xive_esb_write()
241 xive_irq_data_dump(struct xive_irq_data *xd, char *buffer, size_t size) xive_irq_data_dump() argument
401 xive_do_source_eoi(struct xive_irq_data *xd) xive_do_source_eoi() argument
440 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_eoi() local
469 xive_do_source_set_mask(struct xive_irq_data *xd, bool mask) xive_do_source_set_mask() argument
598 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_pick_irq_target() local
631 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_startup() local
676 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_shutdown() local
701 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_unmask() local
710 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_mask() local
721 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_set_affinity() local
779 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_set_type() local
818 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_retrigger() local
840 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_irq_set_vcpu_affinity() local
954 struct xive_irq_data *xd = irq_data_get_irq_handler_data(data); xive_get_irqchip_state() local
997 xive_cleanup_irq_data(struct xive_irq_data *xd) xive_cleanup_irq_data() argument
1016 struct xive_irq_data *xd; xive_irq_alloc_data() local
1044 struct xive_irq_data *xd = irq_get_handler_data(virq); xive_irq_free_data() local
1059 struct xive_irq_data *xd; xive_cause_ipi() local
1355 struct xive_irq_data *xd; xive_irq_domain_debug_show() local
1565 struct xive_irq_data *xd; xive_flush_cpu_queue() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/
H A Duniphier-xdmac.c89 struct uniphier_xdmac_desc *xd; member
132 struct uniphier_xdmac_desc *xd) in uniphier_xdmac_chan_start()
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 in uniphier_xdmac_chan_start()
131 uniphier_xdmac_chan_start(struct uniphier_xdmac_chan *xc, struct uniphier_xdmac_desc *xd) uniphier_xdmac_chan_start() argument
220 struct uniphier_xdmac_desc *xd; uniphier_xdmac_start() local
285 struct uniphier_xdmac_desc *xd; uniphier_xdmac_prep_dma_memcpy() local
326 struct uniphier_xdmac_desc *xd; uniphier_xdmac_prep_slave_sg() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Duniphier-xdmac.c89 struct uniphier_xdmac_desc *xd; member
132 struct uniphier_xdmac_desc *xd) in uniphier_xdmac_chan_start()
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 in uniphier_xdmac_chan_start()
131 uniphier_xdmac_chan_start(struct uniphier_xdmac_chan *xc, struct uniphier_xdmac_desc *xd) uniphier_xdmac_chan_start() argument
220 struct uniphier_xdmac_desc *xd; uniphier_xdmac_start() local
285 struct uniphier_xdmac_desc *xd; uniphier_xdmac_prep_dma_memcpy() local
326 struct uniphier_xdmac_desc *xd; uniphier_xdmac_prep_slave_sg() local
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dthunderbolt.h274 int tb_xdomain_lane_bonding_enable(struct tb_xdomain *xd);
275 void tb_xdomain_lane_bonding_disable(struct tb_xdomain *xd);
276 int tb_xdomain_alloc_in_hopid(struct tb_xdomain *xd, int hopid);
277 void tb_xdomain_release_in_hopid(struct tb_xdomain *xd, int hopid);
278 int tb_xdomain_alloc_out_hopid(struct tb_xdomain *xd, int hopid);
279 void tb_xdomain_release_out_hopid(struct tb_xdomain *xd, int hopid);
280 int tb_xdomain_enable_paths(struct tb_xdomain *xd, int transmit_path,
283 int tb_xdomain_disable_paths(struct tb_xdomain *xd, int transmit_path,
287 static inline int tb_xdomain_disable_all_paths(struct tb_xdomain *xd) in tb_xdomain_disable_all_paths() argument
289 return tb_xdomain_disable_paths(xd, in tb_xdomain_disable_all_paths()
298 struct tb_xdomain *xd; tb_xdomain_find_by_uuid_locked() local
310 struct tb_xdomain *xd; tb_xdomain_find_by_route_locked() local
319 tb_xdomain_get(struct tb_xdomain *xd) tb_xdomain_get() argument
326 tb_xdomain_put(struct tb_xdomain *xd) tb_xdomain_put() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dthunderbolt.h246 int tb_xdomain_enable_paths(struct tb_xdomain *xd, u16 transmit_path,
249 int tb_xdomain_disable_paths(struct tb_xdomain *xd);
256 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
259 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
262 return xd; in tb_xdomain_find_by_uuid_locked()
268 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
271 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
274 return xd; in tb_xdomain_find_by_route_locked()
277 static inline struct tb_xdomain *tb_xdomain_get(struct tb_xdomain *xd) in tb_xdomain_get() argument
279 if (xd) in tb_xdomain_get()
284 tb_xdomain_put(struct tb_xdomain *xd) tb_xdomain_put() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_xive_template.c57 static u8 GLUE(X_PFX,esb_load)(struct xive_irq_data *xd, u32 offset) in GLUE()
61 if (offset == XIVE_ESB_SET_PQ_10 && xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in GLUE()
64 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in GLUE()
67 val =__x_readq(__x_eoi_page(xd) + offset); in GLUE()
75 static void GLUE(X_PFX,source_eoi)(u32 hw_irq, struct xive_irq_data *xd) in GLUE()
78 if (xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in GLUE()
79 __x_writeq(0, __x_eoi_page(xd) + XIVE_ESB_STORE_EOI); in GLUE()
80 else if (hw_irq && xd->flags & XIVE_IRQ_FLAG_EOI_FW) in GLUE()
82 else if (xd->flags & XIVE_IRQ_FLAG_LSI) { in GLUE()
88 __x_readq(__x_eoi_page(xd) in GLUE()
387 struct xive_irq_data *xd; GLUE() local
507 struct xive_irq_data *xd; GLUE() local
[all...]
H A Dbook3s_hv_rm_xive.c40 #define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_page))
41 #define __x_trig_page(xd) ((void __iomem *)((xd)->trig_page))
/kernel/linux/linux-5.10/drivers/scsi/
H A Dqlogicfas408.h91 #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd ))
92 #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | int_type, qbase + 0xd ))
/kernel/linux/linux-5.10/sound/pci/au88x0/
H A Dau88x0_wt.h21 #define WT_CTRL(bank) (((((bank)&1)<<0xd) + 0x00)<<2) /* 0x0000 */
22 #define WT_SRAMP(bank) (((((bank)&1)<<0xd) + 0x01)<<2) /* 0x0004 */
23 #define WT_DSREG(bank) (((((bank)&1)<<0xd) + 0x02)<<2) /* 0x0008 */
24 #define WT_MRAMP(bank) (((((bank)&1)<<0xd) + 0x03)<<2) /* 0x000c */
25 #define WT_GMODE(bank) (((((bank)&1)<<0xd) + 0x04)<<2) /* 0x0010 */
26 #define WT_ARAMP(bank) (((((bank)&1)<<0xd) + 0x05)<<2) /* 0x0014 */
/kernel/linux/linux-6.6/drivers/scsi/
H A Dqlogicfas408.h91 #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd ))
92 #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | int_type, qbase + 0xd ))
/kernel/linux/linux-6.6/sound/pci/au88x0/
H A Dau88x0_wt.h21 #define WT_CTRL(bank) (((((bank)&1)<<0xd) + 0x00)<<2) /* 0x0000 */
22 #define WT_SRAMP(bank) (((((bank)&1)<<0xd) + 0x01)<<2) /* 0x0004 */
23 #define WT_DSREG(bank) (((((bank)&1)<<0xd) + 0x02)<<2) /* 0x0008 */
24 #define WT_MRAMP(bank) (((((bank)&1)<<0xd) + 0x03)<<2) /* 0x000c */
25 #define WT_GMODE(bank) (((((bank)&1)<<0xd) + 0x04)<<2) /* 0x0010 */
26 #define WT_ARAMP(bank) (((((bank)&1)<<0xd) + 0x05)<<2) /* 0x0014 */
/kernel/linux/linux-6.6/drivers/net/thunderbolt/
H A Dmain.c151 * @xd: XDomain the service belongs to
182 struct tb_xdomain *xd; member
244 struct tb_xdomain *xd = net->xd; in tbnet_login_response() local
247 tbnet_fill_header(&reply.hdr, route, sequence, xd->local_uuid, in tbnet_login_response()
248 xd->remote_uuid, TBIP_LOGIN_RESPONSE, sizeof(reply), in tbnet_login_response()
253 return tb_xdomain_response(xd, &reply, sizeof(reply), in tbnet_login_response()
261 struct tb_xdomain *xd = net->xd; in tbnet_login_request() local
264 tbnet_fill_header(&request.hdr, xd in tbnet_login_request()
281 struct tb_xdomain *xd = net->xd; tbnet_logout_response() local
295 struct tb_xdomain *xd = net->xd; tbnet_logout_request() local
919 struct tb_xdomain *xd = net->xd; tbnet_open() local
1271 const struct tb_xdomain *xd = net->xd; tbnet_generate_mac() local
1289 struct tb_xdomain *xd = tb_service_parent(svc); tbnet_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/
H A Dthunderbolt.c147 * @xd: XDomain the service blongs to
178 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 in tbnet_login_request()
272 struct tb_xdomain *xd = net->xd; tbnet_logout_response() local
286 struct tb_xdomain *xd = net->xd; tbnet_logout_request() local
851 struct tb_xdomain *xd = net->xd; tbnet_open() local
1175 const struct tb_xdomain *xd = net->xd; tbnet_generate_mac() local
1191 struct tb_xdomain *xd = tb_service_parent(svc); tbnet_probe() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_xive.c33 #define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_mmio))
34 #define __x_trig_page(xd) ((void __iomem *)((xd)->trig_mmio))
80 static u8 xive_vm_esb_load(struct xive_irq_data *xd, u32 offset) in xive_vm_esb_load() argument
84 if (offset == XIVE_ESB_SET_PQ_10 && xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in xive_vm_esb_load()
87 val = __raw_readq(__x_eoi_page(xd) + offset); in xive_vm_esb_load()
95 static void xive_vm_source_eoi(u32 hw_irq, struct xive_irq_data *xd) in xive_vm_source_eoi() argument
98 if (xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in xive_vm_source_eoi()
99 __raw_writeq(0, __x_eoi_page(xd) in xive_vm_source_eoi()
401 struct xive_irq_data *xd; xive_vm_scan_for_rerouted_irqs() local
521 struct xive_irq_data *xd; xive_vm_h_eoi() local
825 xive_irq_trigger(struct xive_irq_data *xd) xive_irq_trigger() argument
920 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); kvmppc_xive_attach_escalation() local
1088 struct xive_irq_data *xd; xive_lock_and_mask() local
1148 struct xive_irq_data *xd; xive_finish_unmask() local
1791 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); xive_cleanup_single_escalation() local
2610 kvmppc_xive_cleanup_irq(u32 hw_num, struct xive_irq_data *xd) kvmppc_xive_cleanup_irq() argument
2833 struct xive_irq_data *xd = kvmppc_xive_debug_show_queues() local
2856 struct xive_irq_data *xd; kvmppc_xive_debug_show_sources() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/asic_reg/mmhub/
H A Dmmhub_3_0_1_sh_mask.h34 #define DAGB0_RDCLI0__MAX_BW__SHIFT 0xd
55 #define DAGB0_RDCLI1__MAX_BW__SHIFT 0xd
76 #define DAGB0_RDCLI2__MAX_BW__SHIFT 0xd
97 #define DAGB0_RDCLI3__MAX_BW__SHIFT 0xd
118 #define DAGB0_RDCLI4__MAX_BW__SHIFT 0xd
139 #define DAGB0_RDCLI5__MAX_BW__SHIFT 0xd
160 #define DAGB0_RDCLI6__MAX_BW__SHIFT 0xd
181 #define DAGB0_RDCLI7__MAX_BW__SHIFT 0xd
202 #define DAGB0_RDCLI8__MAX_BW__SHIFT 0xd
223 #define DAGB0_RDCLI9__MAX_BW__SHIFT 0xd
[all...]

Completed in 45 milliseconds

12345678910>>...49