/Linux-v6.1/net/bluetooth/ |
D | hci_event.c | 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (c) 2000-2001, 2010, Code Aurora Forum. All rights reserved. 55 bt_dev_err(hdev, "Malformed Event: 0x%2.2x", ev); in hci_ev_skb_pull() 67 bt_dev_err(hdev, "Malformed Command Complete: 0x%4.4x", op); in hci_cc_skb_pull() 79 bt_dev_err(hdev, "Malformed LE Event: 0x%2.2x", ev); in hci_le_ev_skb_pull() 87 struct hci_ev_status *rp = data; in hci_cc_inquiry_cancel() local 89 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_inquiry_cancel() 98 if (rp->status == 0x0c && !test_bit(HCI_INQUIRY, &hdev->flags)) { in hci_cc_inquiry_cancel() 100 rp->status = 0x00; in hci_cc_inquiry_cancel() 103 if (rp->status) in hci_cc_inquiry_cancel() [all …]
|
D | amp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 kref_read(&ctrl->kref)); in amp_ctrl_get() 22 kref_get(&ctrl->kref); in amp_ctrl_get() 31 kfree(ctrl->assoc); in amp_ctrl_destroy() 38 kref_read(&ctrl->kref)); in amp_ctrl_put() 40 return kref_put(&ctrl->kref, &_ctrl_destroy); in amp_ctrl_put() 51 kref_init(&ctrl->kref); in amp_ctrl_add() 52 ctrl->id = id; in amp_ctrl_add() 54 mutex_lock(&mgr->amp_ctrls_lock); in amp_ctrl_add() 55 list_add(&ctrl->list, &mgr->amp_ctrls); in amp_ctrl_add() [all …]
|
D | msft.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #define MSFT_RSSI_THRESHOLD_VALUE_MIN -127 116 struct msft_rp_read_supported_features *rp; in read_supported_features() local 121 skb = __hci_cmd_sync(hdev, hdev->msft_opcode, sizeof(cp), &cp, in read_supported_features() 125 skb = ERR_PTR(-EIO); in read_supported_features() 132 if (skb->len < sizeof(*rp)) { in read_supported_features() 137 rp = (struct msft_rp_read_supported_features *)skb->data; in read_supported_features() 139 if (rp->sub_opcode != MSFT_OP_READ_SUPPORTED_FEATURES) in read_supported_features() 142 if (rp->evt_prefix_len > 0) { in read_supported_features() 143 msft->evt_prefix = kmemdup(rp->evt_prefix, rp->evt_prefix_len, in read_supported_features() [all …]
|
D | mgmt.c | 2 BlueZ - Bluetooth protocol stack for Linux 5 Copyright (C) 2011-2012 Intel Corporation 291 case -EPERM: in mgmt_errno_status() 293 case -EINVAL: in mgmt_errno_status() 295 case -EOPNOTSUPP: in mgmt_errno_status() 297 case -EBUSY: in mgmt_errno_status() 299 case -ETIMEDOUT: in mgmt_errno_status() 301 case -ENOMEM: in mgmt_errno_status() 303 case -EISCONN: in mgmt_errno_status() 305 case -ENOTCONN: in mgmt_errno_status() [all …]
|
/Linux-v6.1/drivers/net/ethernet/via/ |
D | via-rhine.c | 1 /* via-rhine.c: A Linux Ethernet device driver for VIA Rhine family chips. */ 3 Written 1998-2001 by Donald Becker. 14 This driver is designed for the VIA VT86C100A Rhine-I. 15 It also works with the Rhine-II (6102) and Rhine-III (6105/6105L/6105LOM 27 http://www.scyld.com/network/via-rhine.html 28 [link no longer provides useful info -jgarzik] 34 #define DRV_NAME "via-rhine" 38 /* A few user-configurable values. 44 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 54 /* Work-around for broken BIOSes: they are unable to get the chip back out of [all …]
|
/Linux-v6.1/tools/perf/arch/x86/util/ |
D | iostat.c | 1 // SPDX-License-Identifier: GPL-2.0 76 const struct iio_root_port * const rp) in iio_root_port_show() argument 78 if (output && rp) in iio_root_port_show() 79 fprintf(output, "S%d-uncore_iio_%d<%04x:%02x>\n", in iio_root_port_show() 80 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show() 89 p->domain = domain; in iio_root_port_new() 90 p->bus = bus; in iio_root_port_new() 91 p->die = die; in iio_root_port_new() 92 p->pmu_idx = pmu_idx; in iio_root_port_new() 102 for (idx = 0; idx < list->nr_entries; idx++) in iio_root_ports_list_free() [all …]
|
/Linux-v6.1/drivers/media/pci/tw68/ |
D | tw68-risc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * acknowledged. Full credit goes to them - any problems within this code 24 * @rp: pointer to current risc program position 25 * @sglist: pointer to "scatter-gather list" of buffer pointers 27 * @sync_line: 0 -> no sync, 1 -> odd sync, 2 -> even sync 33 static __le32 *tw68_risc_field(__le32 *rp, struct scatterlist *sglist, in tw68_risc_field() argument 42 *(rp++) = cpu_to_le32(RISC_JUMP); in tw68_risc_field() 43 *(rp++) = 0; in tw68_risc_field() 48 *(rp++) = cpu_to_le32(RISC_SYNCO); in tw68_risc_field() 50 *(rp++) = cpu_to_le32(RISC_SYNCE); in tw68_risc_field() [all …]
|
/Linux-v6.1/arch/arm/include/debug/ |
D | brcmstb.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #define REG_PHYS_ADDR(x) ((x) + REG_PHYS_BASE) argument 11 #define REG_PHYS_ADDR_V7(x) ((x) + REG_PHYS_BASE_V7) argument 36 #define checkuart(rp, rv, family_id, family) \ argument 38 ldr rp, =family_id ; \ 40 cmp rp, rv ; \ 42 ldreq rp, =UARTA_##family ; \ 46 .macro addruart, rp, rv, tmp 47 adr \rp, 99f @ actual addr of 99f 48 ldr \rv, [\rp] @ linked addr is stored there [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | video-interface-devices.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/video-interface-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo@jmondi.org> 11 - Sakari Ailus <sakari.ailus@linux.intel.com> 14 flash-leds: 15 $ref: /schemas/types.yaml#/definitions/phandle-array 17 An array of phandles, each referring to a flash LED, a sub-node of the LED 20 lens-focus: [all …]
|
/Linux-v6.1/drivers/media/pci/cx25821/ |
D | cx25821-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "cx25821-sram.h" 16 #include "cx25821-video.h" 19 MODULE_AUTHOR("Shu Lin - Hiep Huynh"); 26 static unsigned int card[] = {[0 ... (CX25821_MAXBOARDS - 1)] = UNSET }; 330 pr_cont("0x%08x [ %s", in cx25821_risc_decode() 332 for (i = ARRAY_SIZE(bits) - 1; i >= 0; i--) { in cx25821_risc_decode() 356 /* PLL-A setting for the Audio Master Clock */ in cx25821_registers_init() 366 /* PLL-B setting for Mobilygen Host Bus Interface */ in cx25821_registers_init() 376 /* PLL-C setting for video upstream channel */ in cx25821_registers_init() [all …]
|
/Linux-v6.1/drivers/pci/controller/mobiveil/ |
D | pcie-mobiveil-host.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright 2019-2020 NXP 28 #include "pcie-mobiveil.h" 40 if ((bus->primary == to_pci_host_bridge(bus->bridge)->busnr) && (PCI_SLOT(devfn) > 0)) in mobiveil_pcie_valid_device() 47 * mobiveil_pcie_map_bus - routine to get the configuration base of either 53 struct mobiveil_pcie *pcie = bus->sysdata; in mobiveil_pcie_map_bus() 54 struct mobiveil_root_port *rp = &pcie->rp; in mobiveil_pcie_map_bus() local 62 return pcie->csr_axi_slave_base + where; in mobiveil_pcie_map_bus() 70 value = bus->number << PAB_BUS_SHIFT | in mobiveil_pcie_map_bus() 76 return rp->config_axi_slave_base + where; in mobiveil_pcie_map_bus() [all …]
|
/Linux-v6.1/drivers/nubus/ |
D | nubus.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Mostly rewritten by David Huggins-Daines, C. Scott Ananian, 53 little-endian machine. Again, stranger things have happened) 81 len--; in nubus_get_rom() 93 p--; in nubus_rewind() 95 len--; in nubus_rewind() 108 len--; in nubus_advance() 120 nubus_rewind(ptr, -len, map); in nubus_move() 128 /* Each sResource entry consists of a 1-byte ID and a 3-byte data 130 have to expand it from a 24-bit signed number to a 32-bit signed [all …]
|
/Linux-v6.1/drivers/usb/mon/ |
D | mon_text.c | 1 // SPDX-License-Identifier: GPL-2.0 106 mon_text_read_wait(struct mon_reader_text *rp, struct file *file); 107 static void mon_text_read_head_t(struct mon_reader_text *rp, 109 static void mon_text_read_head_u(struct mon_reader_text *rp, 111 static void mon_text_read_statset(struct mon_reader_text *rp, 113 static void mon_text_read_intstat(struct mon_reader_text *rp, 115 static void mon_text_read_isostat(struct mon_reader_text *rp, 117 static void mon_text_read_isodesc(struct mon_reader_text *rp, 119 static void mon_text_read_data(struct mon_reader_text *rp, 135 if (ep->xfertype != USB_ENDPOINT_XFER_CONTROL || ev_type != 'S') in mon_text_get_setup() [all …]
|
/Linux-v6.1/arch/parisc/kernel/ |
D | unwind.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (c) 2002-2004 Randolph Chung <tausq@debian.org> 7 * Derived partially from the IA64 implementation. The PA-RISC 21 #include <asm/asm-offsets.h> 30 #define dbg(x...) pr_debug(x) argument 32 #define dbg(x...) argument 56 hi = table->length - 1; in find_unwind_entry_in_table() 59 mid = (hi - lo) / 2 + lo; in find_unwind_entry_in_table() 60 e = &table->table[mid]; in find_unwind_entry_in_table() 61 if (addr < e->region_start) in find_unwind_entry_in_table() [all …]
|
/Linux-v6.1/drivers/media/pci/cx88/ |
D | cx88-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * device driver for Conexant 2388x based TV cards 8 * (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org> 9 * - Multituner support 10 * - video_ioctl2 conversion 11 * - PAL/M fixes 29 #include <media/v4l2-common.h> 30 #include <media/v4l2-ioctl.h> 36 /* ------------------------------------------------------------------ */ 64 #define NO_SYNC_LINE (-1U) [all …]
|
/Linux-v6.1/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 7 * Copyright (c) 2004-2008 Silicon Graphics, Inc. All Rights Reserved. 90 dev_dbg(xpc_part, "SAL returned with ret=%d, cookie=0x%016lx, " in xpc_get_rsvd_page_pa() 91 "address=0x%016lx, len=0x%016lx\n", ret, in xpc_get_rsvd_page_pa() 104 "len=0x%016lx\n", buf_len); in xpc_get_rsvd_page_pa() 122 dev_dbg(xpc_part, "reserved page at phys address 0x%016lx\n", rp_pa); in xpc_get_rsvd_page_pa() 135 struct xpc_rsvd_page *rp; in xpc_setup_rsvd_page() local 146 return -ESRCH; in xpc_setup_rsvd_page() 148 rp = (struct xpc_rsvd_page *)__va(xp_socket_pa(rp_pa)); in xpc_setup_rsvd_page() 150 if (rp->SAL_version < 3) { in xpc_setup_rsvd_page() 152 rp->SAL_partid &= 0xff; in xpc_setup_rsvd_page() [all …]
|
/Linux-v6.1/drivers/powercap/ |
D | intel_rapl_msr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <asm/intel-family.h> 60 /* Handles CPU hotplug on multi-socket systems. 65 * per-domain level. 69 struct rapl_package *rp; in rapl_cpu_online() local 71 rp = rapl_find_package_domain(cpu, rapl_msr_priv); in rapl_cpu_online() 72 if (!rp) { in rapl_cpu_online() 73 rp = rapl_add_package(cpu, rapl_msr_priv); in rapl_cpu_online() 74 if (IS_ERR(rp)) in rapl_cpu_online() 75 return PTR_ERR(rp); in rapl_cpu_online() [all …]
|
/Linux-v6.1/arch/m68k/fpsp040/ |
D | sint.S | 12 | Input: (Entry points sint and sintrz) Double-extended 13 | number X in the ETEMP space in the floating-point 15 | (Entry point sintdo) Double-extended number X in 17 | (Entry point sintd) Double-extended denormalized 18 | number X in the ETEMP space in the floating-point 21 | Output: The function returns int(X) or intrz(X) in fp0. 27 | 1. If exp(X) >= 63, return X. 28 | If exp(X) < 0, return +/- 0 or +/- 1, according to 31 | 2. (X is in range) set rsc = 63 - exp(X). Unnormalize the 35 | sintrz, force round-to-zero mode. [all …]
|
/Linux-v6.1/drivers/media/pci/saa7164/ |
D | saa7164-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com> 45 MODULE_PARM_DESC(encoder_buffers, "Total buffers in read queue 16-512 def:64"); 49 MODULE_PARM_DESC(vbi_buffers, "Total buffers in read queue 16-512 def:64"); 55 static unsigned int card[] = {[0 ... (SAA7164_MAXBOARDS - 1)] = UNSET }; 86 u8 *p = (u8 *)buf->cpu; in saa7164_pack_verifier() 89 for (i = 0; i < buf->actual_size; i += 2048) { in saa7164_pack_verifier() 93 printk(KERN_ERR "No pack at 0x%x\n", i); in saa7164_pack_verifier() 107 struct saa7164_port *port = buf->port; in saa7164_ts_verifier() 111 u8 *bufcpu = (u8 *)buf->cpu; in saa7164_ts_verifier() [all …]
|
/Linux-v6.1/drivers/net/wireless/mediatek/mt7601u/ |
D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 mt76_wr(dev, dev->debugfs_reg, val); in mt76_reg_set() 26 *val = mt76_rr(dev, dev->debugfs_reg); in mt76_reg_get() 30 DEFINE_DEBUGFS_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n"); 35 struct mt7601u_dev *dev = file->private; in mt7601u_ampdu_stat_show() 39 seq_printf(file, #name ":\t%llu\n", dev->stats.grp[off]) in mt7601u_ampdu_stat_show() 66 dev->stats.aggr_n[i * 8 + j]); in mt7601u_ampdu_stat_show() 71 atomic_read(&dev->avg_ampdu_len)); in mt7601u_ampdu_stat_show() 81 struct mt7601u_dev *dev = file->private; in mt7601u_eeprom_param_show() 82 struct mt7601u_rate_power *rp = &dev->ee->power_rate_table; in mt7601u_eeprom_param_show() local [all …]
|
/Linux-v6.1/sound/hda/ |
D | hdac_controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio controller helpers 19 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 25 dev_err(bus->dev, "CORB reset timeout#1, CORBRP = %d\n", in azx_clear_corbrp() 29 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 35 dev_err(bus->dev, "CORB reset timeout#2, CORBRP = %d\n", in azx_clear_corbrp() 40 * snd_hdac_bus_init_cmd_io - set up CORB/RIRB buffers 41 * @bus: HD-audio core bus 45 WARN_ON_ONCE(!bus->rb.area); in snd_hdac_bus_init_cmd_io() 47 spin_lock_irq(&bus->reg_lock); in snd_hdac_bus_init_cmd_io() [all …]
|
/Linux-v6.1/drivers/media/pci/cx23885/ |
D | cx23885-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include "altera-ci.h" 25 #include "cx23888-ir.h" 26 #include "cx23885-ir.h" 27 #include "cx23885-av.h" 28 #include "cx23885-input.h" 45 …a_reset_workaround, "periodic RiSC dma engine reset; 0-force disable, 1-driver detect (default), 2… 51 static unsigned int card[] = {[0 ... (CX23885_MAXBOARDS - 1)] = UNSET }; 63 #define NO_SYNC_LINE (-1U) 310 spin_lock_irqsave(&dev->pci_irqmask_lock, flags); in cx23885_irq_add() [all …]
|
/Linux-v6.1/drivers/bus/mhi/host/ |
D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 17 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_states_show() 21 to_mhi_pm_state_str(mhi_cntrl->pm_state), in mhi_debugfs_states_show() 23 mhi_state_str(mhi_cntrl->dev_state), in mhi_debugfs_states_show() 24 TO_MHI_EXEC_STR(mhi_cntrl->ee), in mhi_debugfs_states_show() 25 mhi_cntrl->wake_set ? "true" : "false"); in mhi_debugfs_states_show() 28 seq_printf(m, "M0: %u M2: %u M3: %u", mhi_cntrl->M0, mhi_cntrl->M2, in mhi_debugfs_states_show() 29 mhi_cntrl->M3); in mhi_debugfs_states_show() 32 atomic_read(&mhi_cntrl->dev_wake), in mhi_debugfs_states_show() 33 atomic_read(&mhi_cntrl->pending_pkts)); in mhi_debugfs_states_show() [all …]
|
/Linux-v6.1/drivers/platform/olpc/ |
D | olpc-ec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2011-2012 One Laptop per Child Foundation. 19 #include <linux/olpc-ec.h> 84 spin_lock_irqsave(&ec->cmd_q_lock, flags); in olpc_ec_worker() 85 if (!list_empty(&ec->cmd_q)) { in olpc_ec_worker() 86 desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node); in olpc_ec_worker() 87 list_del(&desc->node); in olpc_ec_worker() 89 spin_unlock_irqrestore(&ec->cmd_q_lock, flags); in olpc_ec_worker() 96 mutex_lock(&ec->cmd_lock); in olpc_ec_worker() 97 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, in olpc_ec_worker() [all …]
|
/Linux-v6.1/tools/usb/usbip/src/ |
D | usbip_network.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * 2005-2007 Takahiro Hirofuchi 79 udev->busnum = usbip_net_pack_uint32_t(pack, udev->busnum); in usbip_net_pack_usb_device() 80 udev->devnum = usbip_net_pack_uint32_t(pack, udev->devnum); in usbip_net_pack_usb_device() 81 udev->speed = usbip_net_pack_uint32_t(pack, udev->speed); in usbip_net_pack_usb_device() 83 udev->idVendor = usbip_net_pack_uint16_t(pack, udev->idVendor); in usbip_net_pack_usb_device() 84 udev->idProduct = usbip_net_pack_uint16_t(pack, udev->idProduct); in usbip_net_pack_usb_device() 85 udev->bcdDevice = usbip_net_pack_uint16_t(pack, udev->bcdDevice); in usbip_net_pack_usb_device() 111 return -1; in usbip_net_xmit() 114 bufflen -= nbytes; in usbip_net_xmit() [all …]
|