/linux/drivers/usb/host/ |
H A D | xhci-dbgcap.c | 104 static void xhci_dbc_init_contexts(struct xhci_dbc *dbc, u32 string_length) in xhci_dbc_init_contexts() argument 112 if (!dbc) in xhci_dbc_init_contexts() 116 info = (struct dbc_info_context *)dbc->ctx->bytes; in xhci_dbc_init_contexts() 117 dma = dbc->string_dma; in xhci_dbc_init_contexts() 125 ep_ctx = dbc_bulkout_ctx(dbc); in xhci_dbc_init_contexts() 126 max_burst = DBC_CTRL_MAXBURST(readl(&dbc->regs->control)); in xhci_dbc_init_contexts() 127 deq = dbc_bulkout_enq(dbc); in xhci_dbc_init_contexts() 130 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_out->cycle_state); in xhci_dbc_init_contexts() 133 ep_ctx = dbc_bulkin_ctx(dbc); in xhci_dbc_init_contexts() 134 deq = dbc_bulkin_enq(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() 114 dbc_read_complete(struct xhci_dbc *dbc, struct dbc_request *req) in dbc_read_complete() argument 117 struct dbc_port *port = dbc_to_port(dbc); in dbc_read_complete() 125 static void dbc_write_complete(struct xhci_dbc *dbc, struct dbc_request *req) in dbc_write_complete() argument 128 struct dbc_port *port = dbc_to_port(dbc); in dbc_write_complete() 139 dev_warn(dbc->dev, "unexpected write complete status %d\n", in dbc_write_complete() 153 xhci_dbc_alloc_requests(struct xhci_dbc *dbc, unsigned int direction, in xhci_dbc_alloc_requests() argument 161 req = dbc_alloc_request(dbc, direction, GFP_KERNEL); in xhci_dbc_alloc_requests() 419 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-dbgcap.h | 88 struct xhci_dbc *dbc; member 119 int (*configure)(struct xhci_dbc *dbc); 120 void (*disconnect)(struct xhci_dbc *dbc); 156 void (*complete)(struct xhci_dbc *dbc, 162 struct xhci_dbc *dbc; member 194 static inline struct dbc_ep *get_in_ep(struct xhci_dbc *dbc) in get_in_ep() argument 196 return &dbc->eps[BULK_IN]; in get_in_ep() 199 static inline struct dbc_ep *get_out_ep(struct xhci_dbc *dbc) in get_out_ep() argument 201 return &dbc->eps[BULK_OUT]; in get_out_ep() 212 void xhci_dbc_tty_remove(struct xhci_dbc *dbc); [all …]
|
H A D | xhci.h | 1653 void *dbc; member
|
/linux/drivers/accel/qaic/ |
H A D | qaic_data.c | 873 bo->dbc = &qdev->dbc[hdr->dbc_id]; in qaic_prepare_bo() 898 bo->dbc = NULL; in qaic_unprepare_bo() 927 if (bo->total_slice_nents > bo->dbc->nelem) { in qaic_attach_slicing_bo() 940 struct dma_bridge_chan *dbc; in qaic_attach_slice_bo_ioctl() local 1015 dbc = &qdev->dbc[args->hdr.dbc_id]; in qaic_attach_slice_bo_ioctl() 1016 rcu_id = srcu_read_lock(&dbc->ch_lock); in qaic_attach_slice_bo_ioctl() 1017 if (dbc->usr != usr) { in qaic_attach_slice_bo_ioctl() 1034 list_add_tail(&bo->bo_list, &bo->dbc->bo_lists); in qaic_attach_slice_bo_ioctl() 1035 srcu_read_unlock(&dbc->ch_lock, rcu_id); in qaic_attach_slice_bo_ioctl() 1046 srcu_read_unlock(&dbc->ch_lock, rcu_id); in qaic_attach_slice_bo_ioctl() [all …]
|
H A D | qaic_drv.c | 174 if (qdev->dbc[i].usr && qdev->dbc[i].usr->handle == usr->handle) in qaic_postclose() 370 qdev->dbc = devm_kcalloc(dev, qdev->num_dbc, sizeof(*qdev->dbc), GFP_KERNEL); in create_qdev() 371 if (!qdev->dbc) in create_qdev() 415 spin_lock_init(&qdev->dbc[i].xfer_lock); in create_qdev() 416 qdev->dbc[i].qdev = qdev; in create_qdev() 417 qdev->dbc[i].id = i; in create_qdev() 418 INIT_LIST_HEAD(&qdev->dbc[i].xfer_list); in create_qdev() 419 ret = qaicm_srcu_init(drm, &qdev->dbc[i].ch_lock); in create_qdev() 422 init_waitqueue_head(&qdev->dbc[i].dbc_release); in create_qdev() 423 INIT_LIST_HEAD(&qdev->dbc[i].bo_lists); in create_qdev() [all …]
|
H A D | qaic_debugfs.c | 82 struct dma_bridge_chan *dbc = s->private; in read_dbc_fifo_size() local 84 seq_printf(s, "%u\n", dbc->nelem); in read_dbc_fifo_size() 103 struct dma_bridge_chan *dbc = s->private; in read_dbc_queued() local 106 qaic_data_get_fifo_info(dbc, &head, &tail); in read_dbc_queued() 111 seq_printf(s, "%u\n", dbc->nelem - head + tail); in read_dbc_queued() 149 debugfs_create_file("fifo_size", 0400, debugfs_dir, &qdev->dbc[i], &fifo_size_fops); in qaic_debugfs_init() 150 debugfs_create_file("queued", 0400, debugfs_dir, &qdev->dbc[i], &queued_fops); in qaic_debugfs_init()
|
H A D | qaic.h | 129 struct dma_bridge_chan *dbc; member 198 struct dma_bridge_chan *dbc; member 291 void qaic_data_get_fifo_info(struct dma_bridge_chan *dbc, u32 *head, u32 *tail);
|
H A D | qaic_control.c | 303 wait_event_interruptible(qdev->dbc[dbc_id].dbc_release, !qdev->dbc[dbc_id].in_use); in save_dbc_buf() 304 qdev->dbc[dbc_id].req_q_base = resources->buf; in save_dbc_buf() 305 qdev->dbc[dbc_id].rsp_q_base = resources->rsp_q_base; in save_dbc_buf() 306 qdev->dbc[dbc_id].dma_addr = resources->dma_addr; in save_dbc_buf() 307 qdev->dbc[dbc_id].total_size = resources->total_size; in save_dbc_buf() 308 qdev->dbc[dbc_id].nelem = resources->nelem; in save_dbc_buf() 310 qdev->dbc[dbc_id].in_use = true; in save_dbc_buf()
|
/linux/sound/firewire/ |
H A D | amdtp-stream.c | 738 unsigned int dbc; in check_cip_header() local 788 dbc = cip_header[0] & CIP_DBC_MASK; in check_cip_header() 791 dbc = *data_block_counter; in check_cip_header() 793 if ((dbc == 0x00 && (s->flags & CIP_SKIP_DBC_ZERO_CHECK)) || in check_cip_header() 797 lost = dbc != *data_block_counter; in check_cip_header() 810 lost = dbc != ((*data_block_counter + dbc_interval) & 0xff); in check_cip_header() 816 *data_block_counter, dbc); in check_cip_header() 820 *data_block_counter = dbc; in check_cip_header() 939 unsigned int dbc = s->data_block_counter; in generate_tx_packet_descs() local 972 desc->data_block_counter = dbc; in generate_tx_packet_descs() [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/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-drivers-xhci_hcd | 1 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc
|
/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/drivers/scsi/ |
H A D | ncr53c8xx.c | 5991 u32 dbc = INL (nc_dbc); in ncr_int_par() local 5998 ncr_name(np), hsts, dbc, sstat1); in ncr_int_par() 6023 if (!(dbc & 0xc0000000)) in ncr_int_par() 6024 phase = (dbc >> 24) & 7; in ncr_int_par() 6070 u32 dbc; in ncr_int_ma() local 6084 dbc = INL (nc_dbc); in ncr_int_ma() 6087 cmd = dbc >> 24; in ncr_int_ma() 6088 rest = dbc & 0xffffff; in ncr_int_ma()
|
/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
|