Searched +full:apb3 +full:- +full:bus (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | baikal,bt1-pvt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/hwmon/baikal,bt1-pvt.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Baikal-T1 PVT Sensor 11 - Serge Semin <fancer.lancer@gmail.com> 14 Baikal-T1 SoC provides an embedded process, voltage and temperature 17 which may cause the system instability and even damages. The IP-block 19 control wrapper, which provides a MMIO registers-based access to the 20 sensor core functionality (APB3-bus based) and exposes an additional [all …]
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-dev.c | 4 * Copyright (c) 2014-2016,2020 Advanced Micro Devices, Inc. 116 #include "xgbe-common.h" 122 return (if_getmtu(pdata->netdev) + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN); in xgbe_get_max_frame() 131 rate = pdata->sysclk_rate; in xgbe_usec_to_riwt() 150 rate = pdata->sysclk_rate; in xgbe_riwt_to_usec() 170 pbl = pdata->pbl; in xgbe_config_pbl_val() 172 if (pdata->pbl > 32) { in xgbe_config_pbl_val() 177 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_pbl_val() 178 XGMAC_DMA_IOWRITE_BITS(pdata->channel[i], DMA_CH_CR, PBLX8, in xgbe_config_pbl_val() 181 if (pdata->channel[i]->tx_ring) in xgbe_config_pbl_val() [all …]
|
H A D | xgbe-common.h | 4 * Copyright (c) 2014-2016,2020 Advanced Micro Devices, Inc. 117 #include <sys/bus.h> 931 * when the underlying APB3 interface is using indirect addressing. 1451 (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) 1455 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ 1456 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ 1460 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) 1464 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ 1466 ((0x1 << (_width)) - 1)) << (_index))); \ 1505 bus_read_4((_pdata)->xgmac_re [all...] |