Home
last modified time | relevance | path

Searched refs:hw (Results 1 – 25 of 169) sorted by relevance

1234567

/u-boot/drivers/net/
A De1000.c1889 hw-> in e1000_init_hw()
2133 hw->original_fc = hw->fc; in e1000_setup_link()
2174 E1000_WRITE_REG(hw, FCTTV, hw->fc_pause_time); in e1000_setup_link()
2192 E1000_WRITE_REG(hw, FCRTH, hw->fc_high_water); in e1000_setup_link()
2194 E1000_WRITE_REG(hw, FCRTL, hw->fc_low_water); in e1000_setup_link()
2195 E1000_WRITE_REG(hw, FCRTH, hw->fc_high_water); in e1000_setup_link()
4030 E1000_WRITE_REG(hw, TXCW, hw->txcw); in e1000_check_for_link()
5725 struct e1000_hw *hw = malloc(sizeof(*hw)); in e1000_initialize() local
5729 free(hw); in e1000_initialize()
5735 memset(hw, 0, sizeof(*hw)); in e1000_initialize()
[all …]
A De1000_spi.c51 E1000_WRITE_FLUSH(hw); in e1000_spi_xfer()
88 if (!hw) { in spi_setup_slave()
111 return &hw->spi; in spi_setup_slave()
135 e1000_release_eeprom(hw); in spi_release_bus()
175 e1000_standby_eeprom(hw); in e1000_spi_eeprom_enable_wr()
187 e1000_standby_eeprom(hw); in e1000_spi_eeprom_disable_wr()
195 e1000_standby_eeprom(hw); in e1000_spi_eeprom_write_status()
218 if (e1000_spi_xfer(hw, 8 + hw->eeprom.address_bits, op, NULL, intr)) in e1000_spi_eeprom_write_page()
236 if (e1000_spi_xfer(hw, 8 + hw->eeprom.address_bits, op, NULL, intr)) in e1000_spi_eeprom_read_page()
515 hw->name, checksum); in do_e1000_spi_checksum()
[all …]
/u-boot/drivers/net/octeontx/
A Dnic_main.c365 struct hw_info *hw = nic->hw; in nic_set_tx_pkt_pad() local
428 struct hw_info *hw = nic->hw; in nic_get_hw_info() local
442 hw->tl1_cnt = 2; in nic_get_hw_info()
537 struct hw_info *hw = nic->hw; in nic_config_cpi() local
547 chan = (lmac * hw->chans_per_lmac) + (bgx * hw->chans_per_bgx); in nic_config_cpi()
625 struct hw_info *hw = nic->hw; in nic_tx_channel_cfg() local
646 tl4 = bgx * (hw->tl4_cnt / hw->bgx_cnt); in nic_tx_channel_cfg()
665 tl3 = tl4 / (hw->tl4_cnt / hw->tl3_cnt); in nic_tx_channel_cfg()
680 chan = (lmac * hw->chans_per_lmac) + (bgx * hw->chans_per_bgx); in nic_tx_channel_cfg()
712 if (!nic->hw) in nic_initialize()
[all …]
/u-boot/drivers/power/
A Dpower_fsl.c42 p->hw.spi.cs = CONFIG_FSL_PMIC_CS; in pmic_init()
43 p->hw.spi.clk = CONFIG_FSL_PMIC_CLK; in pmic_init()
44 p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; in pmic_init()
45 p->hw.spi.bitlen = CONFIG_FSL_PMIC_BITLEN; in pmic_init()
46 p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; in pmic_init()
47 p->hw.spi.prepare_tx = pmic_spi_prepare_tx; in pmic_init()
50 p->hw.i2c.addr = CONFIG_SYS_FSL_PMIC_I2C_ADDR; in pmic_init()
51 p->hw.i2c.tx_num = FSL_PMIC_I2C_LENGTH; in pmic_init()
A Dpower_spi.c25 slave = spi_setup_slave(p->bus, p->hw.spi.cs, p->hw.spi.clk, in pmic_reg()
26 p->hw.spi.mode); in pmic_reg()
38 pmic_tx = p->hw.spi.prepare_tx(reg, val, write); in pmic_reg()
47 pmic_tx = p->hw.spi.prepare_tx(reg, val, 0); in pmic_reg()
/u-boot/drivers/clk/microchip/
A Dmpfs_clk_cfg.c63 struct clk hw; member
68 static ulong mpfs_cfg_clk_recalc_rate(struct clk *hw) in mpfs_cfg_clk_recalc_rate() argument
70 struct mpfs_cfg_hw_clock *cfg_hw = to_mpfs_cfg_clk(hw); in mpfs_cfg_clk_recalc_rate()
79 hw->rate = rate; in mpfs_cfg_clk_recalc_rate()
84 static ulong mpfs_cfg_clk_set_rate(struct clk *hw, ulong rate) in mpfs_cfg_clk_set_rate() argument
86 struct mpfs_cfg_hw_clock *cfg_hw = to_mpfs_cfg_clk(hw); in mpfs_cfg_clk_set_rate()
102 return clk_get_rate(hw); in mpfs_cfg_clk_set_rate()
126 struct clk *hw; in mpfs_clk_register_cfgs() local
130 hw = &mpfs_cfg_clks[i].hw; in mpfs_clk_register_cfgs()
134 ret = clk_register(hw, MPFS_CFG_CLOCK, name, parent_name); in mpfs_clk_register_cfgs()
[all …]
A Dmpfs_clk_periph.c54 struct clk hw; member
59 static int mpfs_periph_clk_enable(struct clk *hw) in mpfs_periph_clk_enable() argument
61 struct mpfs_periph_hw_clock *periph_hw = to_mpfs_periph_clk(hw); in mpfs_periph_clk_enable()
79 static int mpfs_periph_clk_disable(struct clk *hw) in mpfs_periph_clk_disable() argument
81 struct mpfs_periph_hw_clock *periph_hw = to_mpfs_periph_clk(hw); in mpfs_periph_clk_disable()
99 static ulong mpfs_periph_clk_recalc_rate(struct clk *hw) in mpfs_periph_clk_recalc_rate() argument
109 hw->rate = rate; in mpfs_periph_clk_recalc_rate()
159 struct clk *hw; in mpfs_clk_register_periphs() local
163 hw = &mpfs_periph_clks[i].hw; in mpfs_clk_register_periphs()
167 ret = clk_register(hw, MPFS_PERIPH_CLOCK, name, parent_name); in mpfs_clk_register_periphs()
[all …]
/u-boot/board/BuR/brppt2/
A Dconfig.mk7 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE) | sed -e 's/imx6dl-//')
25 ifeq ($(hw-platform-y),brppt2)
27 INPUTS-y += $(hw-platform-y)_prog.bin
28 INPUTS-y += $(hw-platform-y)_prod.zip
32 $(hw-platform-y)_prog.bin: u-boot-dtb.img spl SPL
35 $(hw-platform-y)_prod.zip: $(hw-platform-y)_prog.bin
/u-boot/board/BuR/brppt1/
A Dconfig.mk8 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE) | sed -e 's/am335x-//')
27 ifeq ($(hw-platform-y),brppt1-spi)
28 INPUTS-y += $(hw-platform-y)_prog.bin
29 INPUTS-y += $(hw-platform-y)_prod.zip
32 $(hw-platform-y)_prog.bin: u-boot-dtb.img spl/u-boot-spl.bin
35 $(hw-platform-y)_prod.zip: $(hw-platform-y)_prog.bin
/u-boot/drivers/phy/
A Dbcm6368-usbh-phy.c46 const struct bcm6368_usbh_hw *hw; member
53 const struct bcm6368_usbh_hw *hw = priv->hw; in bcm6368_usbh_init() local
61 if (hw->setup_clr) in bcm6368_usbh_init()
62 clrbits_be32(priv->regs + USBH_SETUP_REG, hw->setup_clr); in bcm6368_usbh_init()
67 if (hw->pll_clr) in bcm6368_usbh_init()
68 clrbits_be32(priv->regs + USBH_PLL_REG, hw->pll_clr); in bcm6368_usbh_init()
116 const struct bcm6368_usbh_hw *hw = in bcm6368_usbh_probe() local
129 priv->hw = hw; in bcm6368_usbh_probe()
/u-boot/board/BuR/brsmarc1/
A Dconfig.mk7 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE) | sed -e 's/am335x-//')
26 INPUTS-y += $(hw-platform-y)_prog.bin
27 INPUTS-y += $(hw-platform-y)_prod.zip
29 $(hw-platform-y)_prog.bin: u-boot-dtb.img spl/u-boot-spl.bin
32 $(hw-platform-y)_prod.zip: $(hw-platform-y)_prog.bin
/u-boot/drivers/pinctrl/broadcom/
A Dpinctrl-bcm6838.c36 const struct bcm6838_test_port_hw *hw; member
75 const struct bcm6838_test_port_hw *hw = priv->hw; in bcm6838_pinctrl_pinmux_set() local
78 regmap_write(priv->regmap, hw->port_blk_data1, 0); in bcm6838_pinctrl_pinmux_set()
81 regmap_write(priv->regmap, hw->port_blk_data2, data); in bcm6838_pinctrl_pinmux_set()
82 regmap_write(priv->regmap, hw->port_command, BCM6838_CMD_LOAD_MUX); in bcm6838_pinctrl_pinmux_set()
90 const struct bcm6838_test_port_hw *hw = in bcm6838_pinctrl_probe() local
132 priv->hw = hw; in bcm6838_pinctrl_probe()
/u-boot/drivers/clk/
A Dclk.c60 const char *clk_hw_get_name(const struct clk *hw) in clk_hw_get_name() argument
62 assert(hw); in clk_hw_get_name()
63 assert(hw->dev); in clk_hw_get_name()
65 return hw->dev->name; in clk_hw_get_name()
/u-boot/drivers/ram/
A Dbmips_ram.c48 const struct bmips_ram_hw *hw; member
106 const struct bmips_ram_hw *hw = priv->hw; in bmips_ram_get_info() local
112 info->size = hw->get_ram_size(priv); in bmips_ram_get_info()
156 const struct bmips_ram_hw *hw = in bmips_ram_probe() local
165 priv->hw = hw; in bmips_ram_probe()
/u-boot/drivers/cpu/
A Dbmips_cpu.c85 const struct bmips_cpu_hw *hw; member
385 const struct bmips_cpu_hw *hw = priv->hw; in bmips_cpu_get_desc() local
387 return hw->get_cpu_desc(priv, buf, size); in bmips_cpu_get_desc()
393 const struct bmips_cpu_hw *hw = priv->hw; in bmips_cpu_get_info() local
395 info->cpu_freq = hw->get_cpu_freq(priv); in bmips_cpu_get_info()
406 const struct bmips_cpu_hw *hw = priv->hw; in bmips_cpu_get_count() local
408 return hw->get_cpu_count(priv); in bmips_cpu_get_count()
439 const struct bmips_cpu_hw *hw = in bmips_cpu_probe() local
446 priv->hw = hw; in bmips_cpu_probe()
/u-boot/include/power/
A Dpmic.h72 union hw { union
75 } hw; member
324 #define pmic_i2c_addr (p->hw.i2c.addr)
325 #define pmic_i2c_tx_num (p->hw.i2c.tx_num)
327 #define pmic_spi_bitlen (p->hw.spi.bitlen)
328 #define pmic_spi_flags (p->hw.spi.flags)
/u-boot/doc/device-tree-bindings/thermal/
A Drockchip-thermal.txt16 - 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>;
/u-boot/board/opalkelly/zynq/
A DMakefile5 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE))
7 obj-$(CONFIG_SPL_BUILD) += $(hw-platform-y)/ps7_init_gpl.o
/u-boot/drivers/video/
A Dfsl_diu_fb.c254 struct diu *hw = (struct diu *)CONFIG_SYS_DIU_ADDR; in fsl_diu_init() local
348 out_be32(&hw->diu_mode, 0); /* Temporarily disable the DIU */ in fsl_diu_init()
350 out_be32(&hw->gamma, gamma.paddr); in fsl_diu_init()
351 out_be32(&hw->cursor, cursor.paddr); in fsl_diu_init()
352 out_be32(&hw->bgnd, 0x007F7F7F); in fsl_diu_init()
354 out_be32(&hw->hsyn_para, info.var.left_margin << 22 | in fsl_diu_init()
358 out_be32(&hw->vsyn_para, info.var.upper_margin << 22 | in fsl_diu_init()
366 out_be32(&hw->desc[0], virt_to_phys(ad)); in fsl_diu_init()
367 out_be32(&hw->desc[1], 0); in fsl_diu_init()
368 out_be32(&hw->desc[2], 0); in fsl_diu_init()
[all …]
/u-boot/board/bitmain/antminer_s9/
A DMakefile7 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE))
9 obj-$(CONFIG_SPL_BUILD) += $(hw-platform-y)/ps7_init_gpl.o
/u-boot/board/topic/zynq/
A DMakefile7 hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE))
9 obj-$(CONFIG_SPL_BUILD) += $(hw-platform-y)/ps7_init_gpl.o
/u-boot/drivers/power/pmic/
A Dpmic_pca9450.c26 p->hw.i2c.addr = 0x25; in power_pca9450_init()
27 p->hw.i2c.tx_num = 1; in power_pca9450_init()
A Dpmic_pfuze100.c26 p->hw.i2c.addr = CONFIG_POWER_PFUZE100_I2C_ADDR; in power_pfuze100_init()
27 p->hw.i2c.tx_num = 1; in power_pfuze100_init()
A Dpmic_ltc3676.c26 p->hw.i2c.addr = CONFIG_POWER_LTC3676_I2C_ADDR; in power_ltc3676_init()
27 p->hw.i2c.tx_num = 1; in power_ltc3676_init()
/u-boot/board/phytec/phycore_rk3288/
A Dphycore-rk3288.c29 int hw = 0; in valid_rk3288_som() local
32 hw += hweight8(*p); in valid_rk3288_som()
36 return hw == som->bs; in valid_rk3288_som()

Completed in 72 milliseconds

1234567