/openbmc/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | brcm,bcm4329-fmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/wireless/brcm,bcm4329-fmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arend van Spriel <arend@broadcom.com> 19 - $ref: ieee80211.yaml# 24 - items: 25 - enum: 26 - brcm,bcm43143-fmac 27 - brcm,bcm4341b0-fmac [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | of.c | 1 // SPDX-License-Identifier: ISC 19 struct device_node *np = dev->of_node; in brcmf_of_get_country_codes() 25 count = of_property_count_strings(np, "brcm,ccode-map"); in brcmf_of_get_country_codes() 27 /* If no explicit country code map is specified, check whether in brcmf_of_get_country_codes() 28 * the trivial map should be used. in brcmf_of_get_country_codes() 30 settings->trivial_ccode_map = in brcmf_of_get_country_codes() 31 of_property_read_bool(np, "brcm,ccode-map-trivial"); in brcmf_of_get_country_codes() 36 return (count == -EINVAL) ? 0 : count; in brcmf_of_get_country_codes() 41 return -ENOMEM; in brcmf_of_get_country_codes() 43 cc->table_size = count; in brcmf_of_get_country_codes() [all …]
|
H A D | fwil_types.h | 1 // SPDX-License-Identifier: ISC 79 #define BRCMF_OBSS_COEX_AUTO (-1) 88 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 98 /* Wakeup after receipt of EAP-Identity Req: */ 255 * struct tdls_iovar - common structure for tdls iovars. 375 __le32 nprobes; /* -1 use default, number of probes per channel */ 376 __le32 active_time; /* -1 use default, dwell time per channel for 379 __le32 passive_time; /* -1 use default, dwell time per channel 382 __le32 home_time; /* -1 use default, dwell time for the 394 * implies a 2-byte pad between end of [all …]
|
H A D | cfg80211.c | 1 // SPDX-License-Identifier: ISC 51 #define WPA_CIPHER_WEP_40 1 /* WEP (40-bit) */ 54 #define WPA_CIPHER_WEP_104 5 /* WEP (104-bit) */ 58 #define RSN_AKM_PSK 2 /* Pre-shared Key */ 60 #define RSN_AKM_SHA256_PSK 6 /* SHA256, Pre-shared Key */ 94 #define CHAN_NOISE_DUMMY (-80) 103 (sizeof(struct brcmf_assoc_params_le) - sizeof(u16)) 106 (BRCMF_DCMD_MEDLEN / sizeof(__le32) - 1) 130 if (!test_bit(BRCMF_VIF_STATUS_READY, &vif->sme_state)) { in check_vif_up() 132 vif->sme_state); in check_vif_up() [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm4709-netgear-r8000.dts | 20 /dts-v1/; 23 #include "bcm5301x-nand-cs0-bch8.dtsi" 40 compatible = "gpio-leds"; 42 led-power-white { 45 linux,default-trigger = "default-on"; 48 led-power-amber { 53 led-wan-white { 56 linux,default-trigger = "default-on"; 59 led-wan-amber { 64 led-5ghz-1 { [all …]
|
H A D | bcm47094-luxul-xap-1610.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "luxul,xap-1610-v1", "brcm,bcm47094", "brcm,bcm4708"; 12 model = "Luxul XAP-1610 V1"; 32 compatible = "gpio-leds"; 34 led-status { 37 linux,default-trigger = "timer"; 40 led-2ghz { 45 led-5ghz { 51 gpio-keys { [all …]
|
H A D | bcm47094-luxul-xwr-3150-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 12 compatible = "luxul,xwr-3150-v1", "brcm,bcm47094", "brcm,bcm4708"; 13 model = "Luxul XWR-3150 V1"; 30 #nvmem-cell-cells = <1>; 35 compatible = "gpio-leds"; 37 led-power { 40 linux,default-trigger = "default-on"; 43 led-usb3 { [all …]
|
/openbmc/linux/drivers/s390/cio/ |
H A D | chsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * S/390 common I/O routines -- channel subsystem call 44 * chsc_error_from_response() - convert a chsc response to an error 61 return -EINVAL; in chsc_error_from_response() 64 return -EOPNOTSUPP; in chsc_error_from_response() 67 return -EBUSY; in chsc_error_from_response() 70 return -ENOMEM; in chsc_error_from_response() 72 return -EUSERS; in chsc_error_from_response() 74 return -EIO; in chsc_error_from_response() 99 u8 chpid[8]; /* chpids 0-7 */ [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_delloem.c | 6 * - Redistributions of source code must retain the above copyright notice, 9 * - Redistributions in binary form must reproduce the above copyright notice, 12 * - Neither the name of Dell Inc nor the names of its contributors 69 #define INVALID (-1) 80 #define INVAILD_FAILOVER_MODE -2 81 #define INVAILD_FAILOVER_MODE_SETTINGS -3 82 #define INVAILD_SHARED_MODE -4 129 * 11G || 12G || 13G -> _ALL 130 * 12G || 13G -> _12_13 258 * Input: intf - ipmi interface [all …]
|
H A D | ipmi_pef.c | 22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 49 {"%-*s : %u\n", " | %u"}, /* F_DEC: unsigned value */ 50 {"%-*s : %d\n", " | %d"}, /* F_INT: signed value */ 51 {"%-*s : %s\n", " | %s"}, /* F_STR: string value */ 52 {"%-*s : 0x%x\n", " | 0x%x"}, /* F_HEX: "N hex digits" */ 53 {"%-*s : 0x%04x\n", " | 0x%04x"}, /* F_2XD: "2 hex digits" */ 54 {"%-*s : 0x%02x\n", " | 0x%02x"}, /* F_1XD: "1 hex digit" */ 55 {"%-*s : %02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\n", 56 " | %02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x"}, 79 ipmi_pef_bit_desc(struct bit_desc_map * map, uint32_t value) in ipmi_pef_bit_desc() argument [all …]
|
H A D | ipmi_sdr.c | 2 * Copyright (c) 2012 Hewlett-Packard Development Company, L.P. 25 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 72 /* ipmi_sdr_get_unit_string - return units for base/modifier 86 * By default, if units are supposed to be percent, we will pre-pend in ipmi_sdr_get_unit_string() 117 /* sdr_sensor_has_analog_reading - Determine if sensor has an analog reading 125 if (!sr->full) { in sdr_sensor_has_analog_reading() 135 * readings into some of their non-Threshold Sensor. There is in sdr_sensor_has_analog_reading() 137 * an Analog reading is available in a Non-Threshod sensor and in sdr_sensor_has_analog_reading() 140 * non-Threshold. To be safe, we provide this extension for in sdr_sensor_has_analog_reading() 144 if ( UNITS_ARE_DISCRETE(&sr->full->cmn) ) { in sdr_sensor_has_analog_reading() [all …]
|
/openbmc/qemu/hw/s390x/ |
H A D | css.c | 8 * your option) any later version. See the COPYING file in the top-level 16 #include "qemu/error-report.h" 17 #include "exec/address-spaces.h" 19 #include "hw/qdev-properties.h" 23 #include "hw/s390x/s390-virtio-ccw.h" 24 #include "hw/s390x/s390-ccw.h" 243 IndAddr **ind_addr = ptmp->parent; in post_load_ind_addr() 245 if (ptmp->len != 0) { in post_load_ind_addr() 246 *ind_addr = get_indicator(ptmp->addr, ptmp->len); in post_load_ind_addr() 256 IndAddr *ind_addr = *(ptmp->parent); in pre_save_ind_addr() [all …]
|
/openbmc/ipmitool/src/plugins/imb/ |
H A D | imbapi.h | 11 /*----------------------------------------------------------------------* 35 *----------------------------------------------------------------------*/ 146 Unicode strings are counted 16-bit character strings. If they are 161 #define FIELD_OFFSET(type, field) ((LONG)&(((type *)0)->field)) 164 #define INVALID_HANDLE_VALUE ((HANDLE)-1) 185 that function codes 0-2047 are reserved for Microsoft Corporation, and 186 2048-4095 are reserved for customers. 195 * us from imb_if.h - Mahendra 206 /*----------------------------------------------------------------------*/ 252 /*----------------------------------------------------------------------*/ [all …]
|
H A D | imbapi.c | 15 /*----------------------------------------------------------------------* 39 *----------------------------------------------------------------------*/ 43 * ID: 65 - Fixes for configure.in for cross compilation 45 * 'src/plugins/imb/imbapi.c' - don't cast NULL to int, ever!!! 48 * ID: 65 - Fixes for configure.in for cross compilation 58 * fix lots of little errors that show up with -Werror -Wall 66 * Mods for open-source & various compile cleanup mods 122 /* uncomment out the #define below or use -DLINUX_DEBUG_MAX in the makefile 134 // pre-processor directives to separate os-specific code (pai 11/21) */ 210 if (respLength < (IPMI10_GET_DEVICE_ID_RESP_LENGTH-1)) in open_imb() [all …]
|
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * get_free_pending_entry - get free entry from pending queue 20 ent = &q->head[q->rear]; in get_free_pending_entry() 21 if (unlikely(ent->busy)) { in get_free_pending_entry() 26 q->rear++; in get_free_pending_entry() 27 if (unlikely(q->rear == qlen)) in get_free_pending_entry() 28 q->rear = 0; in get_free_pending_entry() 37 struct pending_queue *queue = &pqinfo->queue[qno]; in pending_queue_inc_front() 39 queue->front++; in pending_queue_inc_front() 40 if (unlikely(queue->front == pqinfo->qlen)) in pending_queue_inc_front() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_pci.c | 36 #include "hw/pci-host/spapr.h" 40 #include "qemu/error-report.h" 47 #include "hw/qdev-properties.h" 70 QLIST_FOREACH(sphb, &spapr->phbs, list) { in spapr_pci_find_phb() 71 if (sphb->buid != buid) { in spapr_pci_find_phb() 92 return pci_find_device(phb->bus, bus_num, devfn); in spapr_pci_find_dev() 254 trace_spapr_pci_msi_setup(pdev->name, 0, msg.address); in spapr_msi_setmsg() 260 trace_spapr_pci_msi_setup(pdev->name, i, msg.address); in spapr_msi_setmsg() 330 msi = (SpaprPciMsi *) g_hash_table_lookup(phb->msi, &config_addr); in rtas_ibm_change_msi() 346 g_hash_table_remove(phb->msi, &config_addr); in rtas_ibm_change_msi() [all …]
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cpt_hw_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 154 * CPT OcteonTX VF MSI-X Vector Enumeration 155 * Enumerates the MSI-X interrupt vectors. 167 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set. 179 * Address must be 16-byte aligned. 181 * sign-extended bit <48> for forward compatibility. 183 * grp:10 [171:162] If [WQ_PTR] is nonzero, the SSO guest-group to use when 185 * For the SSO to not discard the add-work request, FPA_PF_MAP() must map 193 * work-queue entry that CPT submits work to SSO after all context, 197 * use a sign-extended bit <48> for forward compatibility. [all …]
|
/openbmc/linux/drivers/ssb/ |
H A D | sdio.c | 3 * SDIO-Hostbus related functions 9 * Copyright 2007-2008 Michael Buesch <m@bues.ch> 60 #define SBSDIO_FUNC1_SBADDRMID 0x1000b /* SB Address window Mid (b23-b16) */ 61 #define SBSDIO_FUNC1_SBADDRHIGH 0x1000c /* SB Address window High (b24-b31) */ 71 #define SBSDIO_SB_ACCESS_2_4B_FLAG 0x8000 /* forces 32-bit SB access */ 75 * Address map within the SDIO function address space (128K). 78 * ------- ------- ------------------------------------------ 85 * In order to access the contents of a 32-bit Silicon Backplane address 94 * a 32-bit access flag 106 return &bus->host_sdio->dev; in ssb_sdio_dev() [all …]
|