Home
last modified time | relevance | path

Searched +full:ring +full:- +full:disable +full:- +full:pullup (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/Documentation/devicetree/bindings/sound/
Dcirrus,cs42l43.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
21 - $ref: dai-common.yaml#
26 - cirrus,cs42l43
31 vdd-p-supply:
35 vdd-a-supply:
39 vdd-d-supply:
43 vdd-io-supply:
[all …]
/Linux-v6.6/sound/soc/codecs/
Dcs42l43-jack.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and
14 #include <linux/mfd/cs42l43-regs.h>
21 #include <sound/soc-component.h>
44 struct cs42l43 *cs42l43 = priv->core; in cs42l43_find_index()
47 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index()
48 if (ret != -EINVAL && ret < 0) { in cs42l43_find_index()
49 dev_err(priv->dev, "Property %s malformed: %d\n", prop, ret); in cs42l43_find_index()
60 dev_err(priv->dev, "Invalid value for property %s: %d\n", prop, defval); in cs42l43_find_index()
61 return -EINVAL; in cs42l43_find_index()
[all …]
/Linux-v6.6/drivers/usb/gadget/udc/
Dbcm63xx_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * bcm63xx_udc.c -- BCM63xx UDC high/full speed USB device controller
16 #include <linux/dma-mapping.h>
56 EP_INFO("ep1in-bulk",
58 EP_INFO("ep2out-bulk",
60 EP_INFO("ep3in-int",
62 EP_INFO("ep4out-int",
75 * false (default) - one IRQ per DATAx packet. Slow but reliable. The
78 * 1) Device queues up a 2048-byte RX IUDMA transaction on an OUT bulk ep
83 * true - one IRQ per transfer, for transfers <= 2048B. Generates
[all …]
Dtegra-xudc.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2013-2022, NVIDIA CORPORATION. All rights reserved.
12 #include <linux/dma-mapping.h>
246 return (le32_to_cpu(ctx->member) >> (shift)) & (mask); \
253 tmp = le32_to_cpu(ctx->member) & ~((mask) << (shift)); \
255 ctx->member = cpu_to_le32(tmp); \
338 return (le32_to_cpu(trb->member) >> (shift)) & (mask); \
345 tmp = le32_to_cpu(trb->member) & ~((mask) << (shift)); \
347 trb->member = cpu_to_le32(tmp); \
485 bool pullup; member
[all …]
Dmv_u3d_core.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/dma-mapping.h>
56 ep = &u3d->eps[i]; in mv_u3d_ep0_reset()
57 ep->u3d = u3d; in mv_u3d_ep0_reset()
60 ep->ep_context = &u3d->ep_context[1]; in mv_u3d_ep0_reset()
65 epxcr = ioread32(&u3d->vuc_regs->epcr[0].epxoutcr0); in mv_u3d_ep0_reset()
67 iowrite32(epxcr, &u3d->vuc_regs->epcr[0].epxoutcr0); in mv_u3d_ep0_reset()
70 iowrite32(epxcr, &u3d->vuc_regs->epcr[0].epxoutcr0); in mv_u3d_ep0_reset()
77 iowrite32(epxcr, &u3d->vuc_regs->epcr[0].epxoutcr1); in mv_u3d_ep0_reset()
80 epxcr = ioread32(&u3d->vuc_regs->epcr[0].epxincr0); in mv_u3d_ep0_reset()
[all …]
Daspeed_udc.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <linux/dma-mapping.h>
110 * per-endpoint register definitions *
241 dev_dbg(&(u)->pdev->dev, "%s() " fmt, __func__, ##__VA_ARGS__)
248 dev_dbg(&(e)->udc->pdev->dev, "%s():%s " fmt, __func__, \
249 (e)->ep.name, ##__VA_ARGS__)
256 dev_dbg(&(u)->pdev->dev, "%s() " fmt, __func__, ##__VA_ARGS__)
263 dev_dbg(&(u)->pdev->dev, "%s() " fmt, __func__, ##__VA_ARGS__)
268 /*-------------------------------------------------------------------------*/
270 readl((udc)->reg + (offset))
[all …]
/Linux-v6.6/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.c1 // SPDX-License-Identifier: GPL-2.0
3 * Cadence USBHS-DEV Driver - gadget side.
28 #include <linux/dma-mapping.h>
35 #include "cdns2-gadget.h"
36 #include "cdns2-trace.h"
39 * set_reg_bit_32 - set bit in given 32 bits register.
50 * clear_reg_bit_32 - clear bit in given 32 bits register.
79 dma_index = readl(&pdev->adma_regs->ep_traddr) - pep->ring.dma; in cdns2_get_dma_pos()
92 if (pdev->selected_ep == ep) in cdns2_select_ep()
95 pdev->selected_ep = ep; in cdns2_select_ep()
[all …]
/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0+
3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
5 * core.c - Top level support
25 #include <linux/dma-mapping.h>
32 bool internal = req->internal; in ast_vhub_done()
33 struct ast_vhub *vhub = ep->vhub; in ast_vhub_done()
37 list_del_init(&req->queue); in ast_vhub_done()
39 if ((req->req.status == -EINPROGRESS) || (status == -EOVERFLOW)) in ast_vhub_done()
40 req->req.status = status; in ast_vhub_done()
42 if (req->req.dma) { in ast_vhub_done()
[all …]
/Linux-v6.6/drivers/w1/slaves/
Dw1_therm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 * Allow the strong pullup to be disabled, but default to enabled.
35 * In case the parasite power-detection is not working (seems to be the case
36 * for some DS18S20) the strong pullup can also be forced, regardless of the
40 * - strong_pullup = 0 Disable strong pullup completely
41 * - strong_pullup = 1 Enable automatic strong pullup detection
42 * - strong_pullup = 2 Force strong pullup
66 #define MIN_TEMP -55 /* min temperature that can be measured */
102 (((struct w1_therm_family_data *)(sl->family_data))->specific_functions)
105 * return the power mode of the sl slave : 1-ext, 0-parasite, <0 unknown
[all …]
/Linux-v6.6/drivers/usb/cdns3/
Dcdnsp-gadget.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/dma-mapping.h>
23 #include "gadget-export.h"
25 #include "cdnsp-gadget.h"
26 #include "cdnsp-trace.h"
54 /* Save read-only status and port state. */ in cdnsp_port_state_to_neutral()
59 * cdnsp_find_next_ext_cap - Find the offset of the extended capabilities
116 if (pdev->active_port) in cdnsp_set_link_state()
117 port_num = pdev->active_port->port_num; in cdnsp_set_link_state()
147 base = &pdev->cap_regs->hc_capbase; in cdnsp_set_chicken_bits_2()
[all …]
Dcdns3-gadget.c1 // SPDX-License-Identifier: GPL-2.0
3 * Cadence USBSS DRD Driver - gadget side.
5 * Copyright (C) 2018-2019 Cadence Design Systems.
6 * Copyright (C) 2017-2018 NXP
32 * Controller for OUT endpoints has shared on-chip buffers for all incoming
37 * Additionally the packets directed to one endpoint can block entire on-chip
59 #include <linux/dma-mapping.h>
67 #include "gadget-export.h"
68 #include "cdns3-gadget.h"
69 #include "cdns3-trace.h"
[all …]
/Linux-v6.6/drivers/usb/dwc3/
Dgadget.c1 // SPDX-License-Identifier: GPL-2.0
3 * gadget.c - DesignWare USB3 DRD Controller Gadget Framework Link
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
20 #include <linux/dma-mapping.h>
30 #define DWC3_ALIGN_FRAME(d, n) (((d)->frame_number + ((d)->interval * (n))) \
31 & ~((d)->interval - 1))
34 * dwc3_gadget_set_test_mode - enables usb2 test modes
39 * success or -EINVAL if wrong Test Selector is passed.
45 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_gadget_set_test_mode()
57 return -EINVAL; in dwc3_gadget_set_test_mode()
[all …]