Home
last modified time | relevance | path

Searched refs:dbc (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/usb/host/
Dxhci-dbgcap.c104 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 …]
Dxhci-dbgtty.c22 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 …]
Dxhci-dbgcap.h88 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 …]
Dxhci.h1653 void *dbc; member
/linux-6.12.1/drivers/accel/qaic/
Dqaic_data.c873 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 …]
Dqaic_drv.c174 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 …]
Dqaic_debugfs.c82 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()
Dqaic.h129 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);
Dqaic_control.c303 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-6.12.1/sound/firewire/
Damdtp-stream.c738 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-6.12.1/Documentation/driver-api/usb/
Dusb3-debug-port.rst113 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-6.12.1/drivers/usb/early/
DMakefile7 obj-$(CONFIG_EARLY_PRINTK_USB_XDBC) += xhci-dbc.o
/linux-6.12.1/tools/crypto/ccp/
DMakefile8 dbc_library.so: dbc.c
Ddbc_cli.py7 from dbc import *
Dtest_dbc.py13 from dbc import *
/linux-6.12.1/drivers/crypto/ccp/
DMakefile15 dbc.o \
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-pci-drivers-xhci_hcd1 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc
/linux-6.12.1/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c2301 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-6.12.1/drivers/scsi/
Dncr53c8xx.c5991 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-6.12.1/arch/m68k/ifpsp060/
Dpfpsp.sa306 dc.l $66363dae,$00040804,$2daeff44,$08063dbc
318 dc.l $08006014,$3dae0004,$08042d9f,$08063dbc
Ditest.sa542 dc.l $4a0066ff,$00002dbc,$52aeff78,$4cfb3fff
Dfplsp.sa106 dc.l $00002dbc,$4cee0303,$ff9cf22e,$9800ff60
/linux-6.12.1/
DMAINTAINERS1010 F: drivers/crypto/ccp/dbc.c
1011 F: drivers/crypto/ccp/dbc.h
1014 F: include/uapi/linux/psp-dbc.h