Home
last modified time | relevance | path

Searched +full:use +full:- +full:bcm +full:- +full:hdr (Results 1 – 9 of 9) sorted by relevance

/linux/arch/arm64/boot/dts/broadcom/northstar2/
H A Dns2.dtsi6 * Redistribution and use in source and binary forms, with or without
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35 #include <dt-bindings/interrupt-controller/arm-gic.h>
36 #include <dt-bindings/clock/bcm-ns2.h>
40 interrupt-parent = <&gic>;
41 #address-cells = <2>;
42 #size-cells = <2>;
45 #address-cells = <2>;
46 #size-cells = <0>;
[all …]
/linux/Documentation/devicetree/bindings/net/dsa/
H A Dbrcm,sf2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Florian Fainelli <f.fainelli@gmail.com>
15 - enum:
16 - brcm,bcm4908-switch
17 - brcm,bcm7278-switch-v4.0
18 - brcm,bcm7278-switch-v4.8
19 - brcm,bcm7445-switch-v4.0
25 reg-names:
[all …]
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm-nsp.dtsi6 * Redistribution and use in source and binary forms, with or without
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33 #include <dt-bindings/interrupt-controller/arm-gic.h>
34 #include <dt-bindings/interrupt-controller/irq.h>
35 #include <dt-bindings/clock/bcm-nsp.h>
38 #address-cells = <1>;
39 #size-cells = <1>;
42 interrupt-parent = <&gic>;
53 #address-cells = <1>;
[all …]
/linux/drivers/soc/qcom/
H A Dcmd-db.c1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2016-2018, 2020, The Linux Foundation. All rights reserved.
18 #include <soc/qcom/cmd-db.h>
52 * @reserved: reserved for future use.
105 const u8 *magic = header->magic; in cmd_db_magic_matches()
112 static inline const void *rsc_to_entry_header(const struct rsc_hdr *hdr) in rsc_to_entry_header() argument
114 u16 offset = le16_to_cpu(hdr->header_offset); in rsc_to_entry_header()
116 return cmd_db_header->data + offset; in rsc_to_entry_header()
120 rsc_offset(const struct rsc_hdr *hdr, const struct entry_header *ent) in rsc_offset() argument
122 u16 offset = le16_to_cpu(hdr->data_offset); in rsc_offset()
[all …]
/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * offload engines. For example, the PDC driver works with both SPU-M and SPU2
41 #include <linux/mailbox/brcm-message.h>
43 #include <linux/dma-direction.h>
44 #include <linux/dma-mapping.h>
73 #define PREVTXD(i, max_mask) TXD((i) - 1, (max_mask))
75 #define PREVRXD(i, max_mask) RXD((i) - 1, (max_mask))
76 #define NTXDACTIVE(h, t, max_mask) TXD((t) - (h), (max_mask))
77 #define NRXDACTIVE(h, t, max_mask) RXD((t) - (h), (max_mask))
79 /* Length of BCM header at start of SPU msg, in bytes */
[all …]
/linux/drivers/net/phy/
H A Dbcm-phy-ptp.c1 // SPDX-License-Identifier: GPL-2.0
16 #include "bcm-phy-lib.h"
158 #define BCM_SKB_CB(skb) ((struct bcm_ptp_skb_cb *)(skb)->cb)
161 #define BCM_MAX_PULSE_8NS ((1U << 9) - 1)
162 #define BCM_MAX_PERIOD_8NS ((1U << 30) - 1)
165 ((phydev)->drv->phy_id & (phydev)->drv->phy_id_mask)
192 ts->tv_sec = (hb[3] << 16) | hb[2]; in bcm_ptp_get_framesync_ts()
193 ts->tv_nsec = (hb[1] << 16) | hb[0]; in bcm_ptp_get_framesync_ts()
213 /* trigger framesync - must have 0->1 transition. */ in bcm_ptp_framesync()
245 return reg & INTC_FSYNC ? 0 : -ETIMEDOUT; in bcm_ptp_framesync_ts()
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>
7 * Copyright (c) 2005-2008 Stefano Brivio <stefano.brivio@polimi.it>
14 * driver Copyright(c) 2003 - 2004 Intel Corporation.
27 #include <linux/dma-mapping.h>
157 if (!wl || !wl->current_dev) in b43legacy_ratelimit()
159 if (b43legacy_status(wl->current_dev) < B43legacy_STAT_STARTED) in b43legacy_ratelimit()
179 printk(KERN_INFO "b43legacy-%s: %pV", in b43legacyinfo()
180 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacyinfo()
198 printk(KERN_ERR "b43legacy-%s ERROR: %pV", in b43legacyerr()
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>
8 Copyright (c) 2005-2009 Michael Buesch <m@bues.ch>
11 Copyright (c) 2010-2011 Rafał Miłecki <zajec5@gmail.com>
17 driver Copyright(c) 2003 - 2004 Intel Corporation.
31 #include <linux/dma-mapping.h>
86 MODULE_PARM_DESC(hwpctl, "Enable hardware-side power control (default off)");
110 MODULE_PARM_DESC(pio, "Use PIO accesses by default: 0=DMA, 1=PIO");
373 if (!wl || !wl->current_dev) in b43_ratelimit()
375 if (b43_status(wl->current_dev) < B43_STAT_STARTED) in b43_ratelimit()
[all …]
/linux/drivers/net/dsa/
H A Dbcm_sf2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
37 switch (priv->type) { in bcm_sf2_reg_rgmii_cntrl()
76 switch (priv->type) { in bcm_sf2_reg_led_base()
99 switch (priv->type) { in bcm_sf2_port_override_offset()
108 WARN_ONCE(1, "Unsupported device: %d\n", priv->type); in bcm_sf2_port_override_offset()
121 for (port = 0; port < ds->num_ports; port++) { in bcm_sf2_num_active_ports()
124 if (priv->port_sts[port].enabled) in bcm_sf2_num_active_ports()
145 if (ports_active == 0 || !priv->clk_mdiv) in bcm_sf2_recalc_clock()
148 /* If we overflow our table, just use the recommended operational in bcm_sf2_recalc_clock()
154 new_rate = rate_table[ports_active - 1]; in bcm_sf2_recalc_clock()
[all …]