| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | e1000.c | 127 static int e1000_setup_link(struct e1000_hw *hw); 128 static int e1000_setup_fiber_link(struct e1000_hw *hw); 129 static int e1000_setup_copper_link(struct e1000_hw *hw); 130 static int e1000_phy_setup_autoneg(struct e1000_hw *hw); 131 static void e1000_config_collision_dist(struct e1000_hw *hw); 132 static int e1000_config_mac_to_phy(struct e1000_hw *hw); 133 static int e1000_config_fc_after_link_up(struct e1000_hw *hw); 134 static int e1000_check_for_link(struct e1000_hw *hw); 135 static int e1000_wait_autoneg(struct e1000_hw *hw); 136 static int e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t * speed, [all …]
|
| H A D | e1000_spi.c | 21 static int e1000_spi_xfer(struct e1000_hw *hw, unsigned int bitlen, in e1000_spi_xfer() argument 32 eecd = E1000_READ_REG(hw, EECD); in e1000_spi_xfer() 47 E1000_WRITE_REG(hw, EECD, eecd); in e1000_spi_xfer() 48 E1000_WRITE_FLUSH(hw); in e1000_spi_xfer() 52 e1000_raise_ee_clk(hw, &eecd); in e1000_spi_xfer() 55 eecd = E1000_READ_REG(hw, EECD); in e1000_spi_xfer() 64 e1000_lower_ee_clk(hw, &eecd); in e1000_spi_xfer() 87 struct e1000_hw *hw = e1000_find_card(bus); in spi_setup_slave() local 88 if (!hw) { in spi_setup_slave() 94 if (hw->eeprom.type != e1000_eeprom_spi) { in spi_setup_slave() [all …]
|
| /rk3399_rockchip-uboot/drivers/power/ |
| H A D | power_fsl.c | 43 p->hw.spi.cs = CONFIG_FSL_PMIC_CS; in pmic_init() 44 p->hw.spi.clk = CONFIG_FSL_PMIC_CLK; in pmic_init() 45 p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; in pmic_init() 46 p->hw.spi.bitlen = CONFIG_FSL_PMIC_BITLEN; in pmic_init() 47 p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; in pmic_init() 48 p->hw.spi.prepare_tx = pmic_spi_prepare_tx; in pmic_init() 51 p->hw.i2c.addr = CONFIG_SYS_FSL_PMIC_I2C_ADDR; in pmic_init() 52 p->hw.i2c.tx_num = FSL_PMIC_I2C_LENGTH; in pmic_init()
|
| H A D | power_spi.c | 26 slave = spi_setup_slave(p->bus, p->hw.spi.cs, p->hw.spi.clk, in pmic_reg() 27 p->hw.spi.mode); in pmic_reg() 39 pmic_tx = p->hw.spi.prepare_tx(reg, val, write); in pmic_reg() 48 pmic_tx = p->hw.spi.prepare_tx(reg, val, 0); in pmic_reg()
|
| H A D | power_dialog.c | 27 p->hw.i2c.addr = CONFIG_SYS_DIALOG_PMIC_I2C_ADDR; in pmic_dialog_init() 28 p->hw.i2c.tx_num = 1; in pmic_dialog_init()
|
| /rk3399_rockchip-uboot/drivers/cpu/ |
| H A D | bmips_cpu.c | 63 const struct bmips_cpu_hw *hw; member 243 const struct bmips_cpu_hw *hw = priv->hw; in bmips_cpu_get_desc() local 245 return hw->get_cpu_desc(priv, buf, size); in bmips_cpu_get_desc() 251 const struct bmips_cpu_hw *hw = priv->hw; in bmips_cpu_get_info() local 253 info->cpu_freq = hw->get_cpu_freq(priv); in bmips_cpu_get_info() 264 const struct bmips_cpu_hw *hw = priv->hw; in bmips_cpu_get_count() local 266 return hw->get_cpu_count(priv); in bmips_cpu_get_count() 298 const struct bmips_cpu_hw *hw = in bmips_cpu_probe() local 308 priv->hw = hw; in bmips_cpu_probe()
|
| /rk3399_rockchip-uboot/drivers/ram/ |
| H A D | bmips_ram.c | 45 const struct bmips_ram_hw *hw; member 93 const struct bmips_ram_hw *hw = priv->hw; in bmips_ram_get_info() local 96 info->size = hw->get_ram_size(priv); in bmips_ram_get_info() 133 const struct bmips_ram_hw *hw = in bmips_ram_probe() local 143 priv->hw = hw; in bmips_ram_probe()
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/thermal/ |
| H A D | rockchip-thermal.txt | 16 - rockchip,hw-tshut-temp : The hardware-controlled shutdown temperature value. 17 - rockchip,hw-tshut-mode : The hardware-controlled shutdown mode 0:CRU 1:GPIO. 18 - rockchip,hw-tshut-polarity : The hardware-controlled active polarity 0:LOW 33 rockchip,hw-tshut-temp = <95000>; 34 rockchip,hw-tshut-mode = <0>; 35 rockchip,hw-tshut-polarity = <0>;
|
| /rk3399_rockchip-uboot/include/power/power_delivery/ |
| H A D | pd_vdo.h | 362 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument 363 (((hw) & 0x7) << 28 | ((fw) & 0x7) << 24 | ((cbl) & 0x3) << 18 \ 367 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument 368 (((hw) & 0xf) << 28 | ((fw) & 0xf) << 24 | ((ver) & 0x7) << 21 \ 371 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument 372 (((hw) & 0xf) << 28 | ((fw) & 0xf) << 24 | ((ver) & 0x7) << 21 \ 449 #define VDO_AMA(hw, fw, tx1d, tx2d, rx1d, rx2d, vcpwr, vcr, vbr, usbss) \ argument 450 (((hw) & 0x7) << 28 | ((fw) & 0x7) << 24 \ 487 #define VDO_VPD(hw, fw, ver, vbm, curr, vbi, gi, ct) \ argument 488 (((hw) & 0xf) << 28 | ((fw) & 0xf) << 24 | ((ver) & 0x7) << 21 \
|
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | fsl_diu_fb.c | 255 struct diu *hw = (struct diu *)CONFIG_SYS_DIU_ADDR; in fsl_diu_init() local 349 out_be32(&hw->diu_mode, 0); /* Temporarily disable the DIU */ in fsl_diu_init() 351 out_be32(&hw->gamma, gamma.paddr); in fsl_diu_init() 352 out_be32(&hw->cursor, cursor.paddr); in fsl_diu_init() 353 out_be32(&hw->bgnd, 0x007F7F7F); in fsl_diu_init() 354 out_be32(&hw->disp_size, info.var.yres << 16 | info.var.xres); in fsl_diu_init() 355 out_be32(&hw->hsyn_para, info.var.left_margin << 22 | in fsl_diu_init() 359 out_be32(&hw->vsyn_para, info.var.upper_margin << 22 | in fsl_diu_init() 367 out_be32(&hw->desc[0], virt_to_phys(ad)); in fsl_diu_init() 368 out_be32(&hw->desc[1], 0); in fsl_diu_init() [all …]
|
| /rk3399_rockchip-uboot/board/xilinx/zynq/ |
| H A D | Makefile | 10 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)) 12 init-objs := $(if $(wildcard $(srctree)/$(src)/$(hw-platform-y)/ps7_init_gpl.c),\ 13 $(hw-platform-y)/ps7_init_gpl.o)
|
| /rk3399_rockchip-uboot/include/power/ |
| H A D | pmic.h | 73 union hw { union 76 } hw; member 344 #define pmic_i2c_addr (p->hw.i2c.addr) 345 #define pmic_i2c_tx_num (p->hw.i2c.tx_num) 347 #define pmic_spi_bitlen (p->hw.spi.bitlen) 348 #define pmic_spi_flags (p->hw.spi.flags)
|
| /rk3399_rockchip-uboot/board/xilinx/zynqmp/ |
| H A D | Makefile | 10 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)) 12 init-objs := $(if $(wildcard $(srctree)/$(src)/$(hw-platform-y)/psu_init_gpl.c),\ 13 $(hw-platform-y)/psu_init_gpl.o)
|
| /rk3399_rockchip-uboot/board/topic/zynq/ |
| H A D | Makefile | 8 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)) 10 obj-$(CONFIG_SPL_BUILD) += $(hw-platform-y)/ps7_init_gpl.o ps7_init_common.o
|
| /rk3399_rockchip-uboot/board/phytec/phycore_rk3288/ |
| H A D | phycore-rk3288.c | 21 int hw = 0; in valid_rk3288_som() local 24 hw += hweight8(*p); in valid_rk3288_som() 28 return hw == som->bs; in valid_rk3288_som()
|
| /rk3399_rockchip-uboot/drivers/power/pmic/ |
| H A D | pmic_pfuze100.c | 27 p->hw.i2c.addr = CONFIG_POWER_PFUZE100_I2C_ADDR; in power_pfuze100_init() 28 p->hw.i2c.tx_num = 1; in power_pfuze100_init()
|
| H A D | pmic_ltc3676.c | 27 p->hw.i2c.addr = CONFIG_POWER_LTC3676_I2C_ADDR; in power_ltc3676_init() 28 p->hw.i2c.tx_num = 1; in power_ltc3676_init()
|
| H A D | pmic_max77696.c | 27 p->hw.i2c.addr = CONFIG_POWER_MAX77696_I2C_ADDR; in power_max77696_init() 28 p->hw.i2c.tx_num = 1; in power_max77696_init()
|
| H A D | pmic_pfuze3000.c | 27 p->hw.i2c.addr = CONFIG_POWER_PFUZE3000_I2C_ADDR; in power_pfuze3000_init() 28 p->hw.i2c.tx_num = 1; in power_pfuze3000_init()
|
| H A D | pmic_mc34vr500.c | 27 p->hw.i2c.addr = MC34VR500_I2C_ADDR; in power_mc34vr500_init() 28 p->hw.i2c.tx_num = 1; in power_mc34vr500_init()
|
| H A D | pmic_max8998.c | 28 p->hw.i2c.addr = MAX8998_I2C_ADDR; in pmic_init() 29 p->hw.i2c.tx_num = 1; in pmic_init()
|
| H A D | pmic_tps62362.c | 42 p->hw.i2c.addr = TPS62362_I2C_ADDR; in power_tps62362_init() 43 p->hw.i2c.tx_num = 1; in power_tps62362_init()
|
| H A D | muic_max8997.c | 68 p->hw.i2c.addr = MAX8997_MUIC_I2C_ADDR; in power_muic_init() 69 p->hw.i2c.tx_num = 1; in power_muic_init()
|
| /rk3399_rockchip-uboot/drivers/power/mfd/ |
| H A D | muic_max77693.c | 70 p->hw.i2c.addr = MAX77693_MUIC_I2C_ADDR; in power_muic_init() 71 p->hw.i2c.tx_num = 1; in power_muic_init()
|
| H A D | pmic_max77693.c | 89 p->hw.i2c.addr = MAX77693_PMIC_I2C_ADDR; in pmic_init_max77693() 90 p->hw.i2c.tx_num = 1; in pmic_init_max77693()
|