Home
last modified time | relevance | path

Searched +full:x +full:- +full:rp (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/openbmc/linux/net/bluetooth/
H A Dhci_event.c2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (c) 2000-2001, 2010, Code Aurora Forum. All rights reserved.
57 bt_dev_err(hdev, "Malformed Event: 0x%2.2x", ev); in hci_ev_skb_pull()
69 bt_dev_err(hdev, "Malformed Command Complete: 0x%4.4x", op); in hci_cc_skb_pull()
81 bt_dev_err(hdev, "Malformed LE Event: 0x%2.2x", ev); in hci_le_ev_skb_pull()
89 struct hci_ev_status *rp = data; in hci_cc_inquiry_cancel() local
91 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_inquiry_cancel()
100 if (rp->status == HCI_ERROR_COMMAND_DISALLOWED && !test_bit(HCI_INQUIRY, &hdev->flags)) { in hci_cc_inquiry_cancel()
102 rp->status = 0x00; in hci_cc_inquiry_cancel()
105 if (rp->status) in hci_cc_inquiry_cancel()
[all …]
H A Dmsft.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #define MSFT_RSSI_THRESHOLD_VALUE_MIN -127
146 struct msft_rp_read_supported_features *rp; in read_supported_features() local
151 skb = __hci_cmd_sync(hdev, hdev->msft_opcode, sizeof(cp), &cp, in read_supported_features()
159 if (skb->len < sizeof(*rp)) { in read_supported_features()
164 rp = (struct msft_rp_read_supported_features *)skb->data; in read_supported_features()
166 if (rp->sub_opcode != MSFT_OP_READ_SUPPORTED_FEATURES) in read_supported_features()
169 if (rp->evt_prefix_len > 0) { in read_supported_features()
170 msft->evt_prefix = kmemdup(rp->evt_prefix, rp->evt_prefix_len, in read_supported_features()
172 if (!msft->evt_prefix) in read_supported_features()
[all …]
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c1 /* 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 …]
/openbmc/linux/tools/perf/arch/x86/util/
H A Diostat.c1 // SPDX-License-Identifier: GPL-2.0
77 const struct iio_root_port * const rp) in iio_root_port_show() argument
79 if (output && rp) in iio_root_port_show()
80 fprintf(output, "S%d-uncore_iio_%d<%04x:%02x>\n", in iio_root_port_show()
81 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show()
90 p->domain = domain; in iio_root_port_new()
91 p->bus = bus; in iio_root_port_new()
92 p->die = die; in iio_root_port_new()
93 p->pmu_idx = pmu_idx; in iio_root_port_new()
103 for (idx = 0; idx < list->nr_entries; idx++) in iio_root_ports_list_free()
[all …]
/openbmc/linux/drivers/media/pci/tw68/
H A Dtw68-risc.c1 // 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 …]
/openbmc/linux/arch/arm/include/debug/
H A Dbrcmstb.S1 /* 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 …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dvideo-interface-devices.yaml1 # 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 …]
/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821-core.c1 // 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 …]
/openbmc/linux/drivers/nubus/
H A Dnubus.c1 // SPDX-License-Identifier: GPL-2.0
7 * Mostly rewritten by David Huggins-Daines, C. Scott Ananian,
60 little-endian machine. Again, stranger things have happened)
88 len--; in nubus_get_rom()
100 p--; in nubus_rewind()
102 len--; in nubus_rewind()
115 len--; in nubus_advance()
127 nubus_rewind(ptr, -len, map); in nubus_move()
135 /* Each sResource entry consists of a 1-byte ID and a 3-byte data
137 have to expand it from a 24-bit signed number to a 32-bit signed
[all …]
/openbmc/linux/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil-host.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright 2019-2020 NXP
25 #include "pcie-mobiveil.h"
37 if ((bus->primary == to_pci_host_bridge(bus->bridge)->busnr) && (PCI_SLOT(devfn) > 0)) in mobiveil_pcie_valid_device()
44 * mobiveil_pcie_map_bus - routine to get the configuration base of either
50 struct mobiveil_pcie *pcie = bus->sysdata; in mobiveil_pcie_map_bus()
51 struct mobiveil_root_port *rp = &pcie->rp; in mobiveil_pcie_map_bus() local
59 return pcie->csr_axi_slave_base + where; in mobiveil_pcie_map_bus()
67 value = bus->number << PAB_BUS_SHIFT | in mobiveil_pcie_map_bus()
73 return rp->config_axi_slave_base + where; in mobiveil_pcie_map_bus()
[all …]
/openbmc/linux/drivers/usb/mon/
H A Dmon_text.c1 // 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 …]
/openbmc/linux/arch/parisc/kernel/
H A Dunwind.c1 // 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>
31 #define dbg(x...) pr_debug(x) argument
33 #define dbg(x...) do { } while (0) argument
57 hi = table->length - 1; in find_unwind_entry_in_table()
60 mid = (hi - lo) / 2 + lo; in find_unwind_entry_in_table()
61 e = &table->table[mid]; in find_unwind_entry_in_table()
62 if (addr < e->region_start) in find_unwind_entry_in_table()
[all …]
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-core.c1 // 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 …]
/openbmc/linux/drivers/misc/sgi-xp/
H A Dxpc_partition.c7 * 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 …]
/openbmc/linux/drivers/s390/char/
H A Draw3270.c1 // SPDX-License-Identifier: GPL-2.0
3 * IBM/3270 Driver - core functions.
52 unsigned char *ascebc; /* ascii -> ebcdic table */
62 /* raw3270->state */
69 /* raw3270->flags */
70 #define RAW3270_FLAGS_14BITADDR 0 /* 14-bit buffer addresses */
97 static void __raw3270_disconnect(struct raw3270 *rp);
113 static inline int raw3270_state_ready(struct raw3270 *rp) in raw3270_state_ready() argument
115 return rp->state == RAW3270_STATE_READY; in raw3270_state_ready()
118 void raw3270_buffer_address(struct raw3270 *rp, char *cp, int x, int y) in raw3270_buffer_address() argument
[all …]
/openbmc/linux/drivers/pci/
H A Dof_property.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
57 prop[0] = FIELD_PREP(OF_PCI_ADDR_FIELD_BUS, pdev->bus->number) | in of_pci_set_address()
58 FIELD_PREP(OF_PCI_ADDR_FIELD_DEV, PCI_SLOT(pdev->devfn)) | in of_pci_set_address()
59 FIELD_PREP(OF_PCI_ADDR_FIELD_FUNC, PCI_FUNC(pdev->devfn)); in of_pci_set_address()
72 if (res->flags & IORESOURCE_IO) in of_pci_get_addr_flags()
74 else if (res->flags & IORESOURCE_MEM_64) in of_pci_get_addr_flags()
76 else if (res->flags & IORESOURCE_MEM) in of_pci_get_addr_flags()
79 return -EINVAL; in of_pci_get_addr_flags()
82 if (res->flags & IORESOURCE_PREFETCH) in of_pci_get_addr_flags()
[all …]
/openbmc/linux/arch/m68k/fpsp040/
H A Dsint.S12 | 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 …]
/openbmc/linux/drivers/powercap/
H A Dintel_rapl_msr.c1 // SPDX-License-Identifier: GPL-2.0-only
26 #include <asm/intel-family.h>
65 /* Handles CPU hotplug on multi-socket systems.
70 * per-domain level.
74 struct rapl_package *rp; in rapl_cpu_online() local
76 rp = rapl_find_package_domain_cpuslocked(cpu, rapl_msr_priv, true); in rapl_cpu_online()
77 if (!rp) { in rapl_cpu_online()
78 rp = rapl_add_package_cpuslocked(cpu, rapl_msr_priv, true); in rapl_cpu_online()
79 if (IS_ERR(rp)) in rapl_cpu_online()
80 return PTR_ERR(rp); in rapl_cpu_online()
[all …]
/openbmc/linux/drivers/media/pci/saa7164/
H A Dsaa7164-core.c1 // 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 …]
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Ddebugfs.c1 // 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 …]
/openbmc/linux/sound/hda/
H A Dhdac_controller.c1 // 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 …]
/openbmc/linux/drivers/bus/mhi/host/
H A Ddebugfs.c1 // 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 …]
/openbmc/linux/drivers/media/pci/cx23885/
H A Dcx23885-core.c1 // 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 …]
/openbmc/linux/drivers/platform/olpc/
H A Dolpc-ec.c1 // 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 …]
/openbmc/linux/tools/usb/usbip/src/
H A Dusbip_network.c1 // 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 …]

12345678910>>...12