| /linux/drivers/usb/host/ |
| H A D | xhci-dbgcap.c | 61 static void xhci_dbc_init_ep_contexts(struct xhci_dbc *dbc) in xhci_dbc_init_ep_contexts() argument 67 max_burst = DBC_CTRL_MAXBURST(readl(&dbc->regs->control)); in xhci_dbc_init_ep_contexts() 70 ep_ctx = dbc_bulkout_ctx(dbc); in xhci_dbc_init_ep_contexts() 71 deq = dbc_bulkout_enq(dbc); in xhci_dbc_init_ep_contexts() 74 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_out->cycle_state); in xhci_dbc_init_ep_contexts() 77 ep_ctx = dbc_bulkin_ctx(dbc); in xhci_dbc_init_ep_contexts() 78 deq = dbc_bulkin_enq(dbc); in xhci_dbc_init_ep_contexts() 81 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_in->cycle_state); in xhci_dbc_init_ep_contexts() 142 static void xhci_dbc_init_contexts(struct xhci_dbc *dbc) in xhci_dbc_init_contexts() argument 148 if (!dbc) in xhci_dbc_init_contexts() [all …]
|
| H A D | xhci-dbgtty.c | 22 static inline struct dbc_port *dbc_to_port(struct xhci_dbc *dbc) in dbc_to_port() argument 24 return dbc->priv; in dbc_to_port() 164 dbc_read_complete(struct xhci_dbc *dbc, struct dbc_request *req) in dbc_read_complete() argument 167 struct dbc_port *port = dbc_to_port(dbc); in dbc_read_complete() 199 static void dbc_write_complete(struct xhci_dbc *dbc, struct dbc_request *req) in dbc_write_complete() argument 202 struct dbc_port *port = dbc_to_port(dbc); in dbc_write_complete() 213 dev_warn(dbc->dev, "unexpected write complete status %d\n", in dbc_write_complete() 227 xhci_dbc_alloc_requests(struct xhci_dbc *dbc, unsigned int direction, in xhci_dbc_alloc_requests() argument 235 req = dbc_alloc_request(dbc, direction, GFP_KERNEL); in xhci_dbc_alloc_requests() 466 xhci_dbc_tty_init_port(struct xhci_dbc *dbc, struct dbc_port *port) in xhci_dbc_tty_init_port() argument [all …]
|
| H A D | xhci.h | 1673 void *dbc; member
|
| /linux/drivers/accel/qaic/ |
| H A D | qaic_data.c | 906 bo->dbc = &qdev->dbc[hdr->dbc_id]; in qaic_prepare_bo() 931 bo->dbc = NULL; in qaic_unprepare_bo() 960 if (bo->total_slice_nents > bo->dbc->nelem) { in qaic_attach_slicing_bo() 973 struct dma_bridge_chan *dbc; in qaic_attach_slice_bo_ioctl() local 1043 dbc = &qdev->dbc[args->hdr.dbc_id]; in qaic_attach_slice_bo_ioctl() 1044 rcu_id = srcu_read_lock(&dbc->ch_lock); in qaic_attach_slice_bo_ioctl() 1045 if (dbc->usr != usr) { in qaic_attach_slice_bo_ioctl() 1050 if (dbc->id == qdev->ssr_dbc) { in qaic_attach_slice_bo_ioctl() 1067 list_add_tail(&bo->bo_list, &bo->dbc->bo_lists); in qaic_attach_slice_bo_ioctl() 1068 srcu_read_unlock(&dbc->ch_lock, rcu_id); in qaic_attach_slice_bo_ioctl() [all …]
|
| H A D | qaic_drv.c | 210 if (qdev->dbc[i].usr && qdev->dbc[i].usr->handle == usr->handle) in qaic_postclose() 414 qdev->dbc = devm_kcalloc(dev, qdev->num_dbc, sizeof(*qdev->dbc), GFP_KERNEL); in create_qdev() 415 if (!qdev->dbc) in create_qdev() 465 spin_lock_init(&qdev->dbc[i].xfer_lock); in create_qdev() 466 qdev->dbc[i].qdev = qdev; in create_qdev() 467 qdev->dbc[i].id = i; in create_qdev() 468 INIT_LIST_HEAD(&qdev->dbc[i].xfer_list); in create_qdev() 469 ret = qaicm_srcu_init(drm, &qdev->dbc[i].ch_lock); in create_qdev() 472 init_waitqueue_head(&qdev->dbc[i].dbc_release); in create_qdev() 473 INIT_LIST_HEAD(&qdev->dbc[i].bo_lists); in create_qdev() [all …]
|
| H A D | qaic_debugfs.c | 71 struct dma_bridge_chan *dbc = s->private; in fifo_size_show() local 73 seq_printf(s, "%u\n", dbc->nelem); in fifo_size_show() 81 struct dma_bridge_chan *dbc = s->private; in queued_show() local 84 qaic_data_get_fifo_info(dbc, &head, &tail); in queued_show() 89 seq_printf(s, "%u\n", dbc->nelem - head + tail); in queued_show() 116 debugfs_create_file("fifo_size", 0400, debugfs_dir, &qdev->dbc[i], &fifo_size_fops); in qaic_debugfs_init() 117 debugfs_create_file("queued", 0400, debugfs_dir, &qdev->dbc[i], &queued_fops); in qaic_debugfs_init()
|
| H A D | qaic_ssr.c | 120 struct dma_bridge_chan *dbc; member 486 static int dbg_xfer_info_rsp(struct qaic_device *qdev, struct dma_bridge_chan *dbc, in dbg_xfer_info_rsp() argument 502 if (dbc->state != DBC_STATE_BEFORE_POWER_UP) { in dbg_xfer_info_rsp() 517 debug_rsp->hdr.dbc_id = cpu_to_le32(dbc->id); in dbg_xfer_info_rsp() 534 static void dbg_xfer_done_rsp(struct qaic_device *qdev, struct dma_bridge_chan *dbc, in dbg_xfer_done_rsp() argument 565 struct dma_bridge_chan *dbc; in ssr_worker() local 580 dbc = &qdev->dbc[hdr->dbc_id]; in ssr_worker() 584 ret = dbg_xfer_info_rsp(qdev, dbc, (struct ssr_debug_transfer_info *)resp->data); in ssr_worker() 590 dump_info->dbc = dbc; in ssr_worker() 664 dbg_xfer_done_rsp(qdev, dbc, (struct ssr_debug_transfer_done_rsp *)hdr); in ssr_worker()
|
| H A D | qaic.h | 156 struct dma_bridge_chan *dbc; member 245 struct dma_bridge_chan *dbc; member 336 void qaic_data_get_fifo_info(struct dma_bridge_chan *dbc, u32 *head, u32 *tail);
|
| H A D | qaic_control.c | 304 wait_event_interruptible(qdev->dbc[dbc_id].dbc_release, !qdev->dbc[dbc_id].in_use); in save_dbc_buf() 305 qdev->dbc[dbc_id].req_q_base = resources->buf; in save_dbc_buf() 306 qdev->dbc[dbc_id].rsp_q_base = resources->rsp_q_base; in save_dbc_buf() 307 qdev->dbc[dbc_id].dma_addr = resources->dma_addr; in save_dbc_buf() 308 qdev->dbc[dbc_id].total_size = resources->total_size; in save_dbc_buf() 309 qdev->dbc[dbc_id].nelem = resources->nelem; in save_dbc_buf() 311 qdev->dbc[dbc_id].in_use = true; in save_dbc_buf()
|
| /linux/sound/firewire/ |
| H A D | amdtp-stream.c | 723 unsigned int dbc; in check_cip_header() local 773 dbc = cip_header[0] & CIP_DBC_MASK; in check_cip_header() 776 dbc = *data_block_counter; in check_cip_header() 778 if ((dbc == 0x00 && (s->flags & CIP_SKIP_DBC_ZERO_CHECK)) || in check_cip_header() 782 lost = dbc != *data_block_counter; in check_cip_header() 795 lost = dbc != ((*data_block_counter + dbc_interval) & 0xff); in check_cip_header() 801 *data_block_counter, dbc); in check_cip_header() 805 *data_block_counter = dbc; in check_cip_header() 924 unsigned int dbc = s->data_block_counter; in generate_tx_packet_descs() local 957 desc->data_block_counter = dbc; in generate_tx_packet_descs() 1021 unsigned int dbc = s->data_block_counter; generate_rx_packet_descs() local [all...] |
| /linux/Documentation/driver-api/usb/ |
| H A D | usb3-debug-port.rst | 113 root@target:/sys/bus/pci/devices/0000:00:14.0# cat dbc 118 root@target:/sys/bus/pci/devices/0000:00:14.0# echo enable > dbc 122 root@target:/sys/bus/pci/devices/0000:00:14.0# cat dbc 136 root@target:/sys/bus/pci/devices/0000:00:14.0# cat dbc
|
| /linux/drivers/usb/early/ |
| H A D | Makefile | 7 obj-$(CONFIG_EARLY_PRINTK_USB_XDBC) += xhci-dbc.o
|
| /linux/tools/crypto/ccp/ |
| H A D | Makefile | 8 dbc_library.so: dbc.c
|
| H A D | dbc_cli.py | 7 from dbc import *
|
| H A D | test_dbc.py | 13 from dbc import *
|
| /linux/drivers/crypto/ccp/ |
| H A D | Makefile | 15 dbc.o \
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_hipd.c | 2301 u32 dbc = INL(np, nc_dbc); local 2304 u_char cmd = dbc >> 24; 2310 sym_name(np), hsts, dbc, sbcl); 2388 u32 dbc; local 2404 dbc = INL(np, nc_dbc); 2407 cmd = dbc >> 24; 2408 rest = dbc & 0xffffff;
|
| /linux/arch/m68k/ifpsp060/ |
| H A D | pfpsp.sa | 306 dc.l $66363dae,$00040804,$2daeff44,$08063dbc 318 dc.l $08006014,$3dae0004,$08042d9f,$08063dbc
|
| H A D | itest.sa | 542 dc.l $4a0066ff,$00002dbc,$52aeff78,$4cfb3fff
|
| H A D | fplsp.sa | 106 dc.l $00002dbc,$4cee0303,$ff9cf22e,$9800ff60
|
| /linux/ |
| H A D | MAINTAINERS | 1076 F: drivers/crypto/ccp/dbc.c 1077 F: drivers/crypto/ccp/dbc.h 1080 F: include/uapi/linux/psp-dbc.h
|