Home
last modified time | relevance | path

Searched refs:hwdata (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/clk/
Dclk-si5351.c308 struct si5351_hw_data *hwdata = in si5351_vxco_prepare() local
311 dev_warn(&hwdata->drvdata->client->dev, "VXCO currently unsupported\n"); in si5351_vxco_prepare()
387 struct si5351_hw_data *hwdata = in si5351_pll_get_parent() local
389 u8 mask = (hwdata->num == 0) ? SI5351_PLLA_SOURCE : SI5351_PLLB_SOURCE; in si5351_pll_get_parent()
392 val = si5351_reg_read(hwdata->drvdata, SI5351_PLL_INPUT_SOURCE); in si5351_pll_get_parent()
399 struct si5351_hw_data *hwdata = in si5351_pll_set_parent() local
402 if (hwdata->drvdata->variant != SI5351_VARIANT_C && in si5351_pll_set_parent()
409 return _si5351_pll_reparent(hwdata->drvdata, hwdata->num, in si5351_pll_set_parent()
417 struct si5351_hw_data *hwdata = in si5351_pll_recalc_rate() local
419 u8 reg = (hwdata->num == 0) ? SI5351_PLLA_PARAMETERS : in si5351_pll_recalc_rate()
[all …]
Dclk-versaclock5.c404 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_recalc_rate() local
405 struct vc5_driver_data *vc5 = hwdata->vc5; in vc5_pll_recalc_rate()
421 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_round_rate() local
440 hwdata->div_int = div_int; in vc5_pll_round_rate()
441 hwdata->div_frc = (u32)div_frc; in vc5_pll_round_rate()
449 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_set_rate() local
450 struct vc5_driver_data *vc5 = hwdata->vc5; in vc5_pll_set_rate()
453 fb[0] = hwdata->div_int >> 4; in vc5_pll_set_rate()
454 fb[1] = hwdata->div_int << 4; in vc5_pll_set_rate()
455 fb[2] = hwdata->div_frc >> 16; in vc5_pll_set_rate()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-imx.c198 const struct imx_i2c_hwdata *hwdata; member
267 return i2c_imx->hwdata->devtype == IMX1_I2C; in is_imx1_i2c()
273 writeb(val, i2c_imx->base + (reg << i2c_imx->hwdata->regshift)); in imx_i2c_write_reg()
279 return readb(i2c_imx->base + (reg << i2c_imx->hwdata->regshift)); in imx_i2c_read_reg()
304 (IMX_I2C_I2DR << i2c_imx->hwdata->regshift); in i2c_imx_dma_request()
323 (IMX_I2C_I2DR << i2c_imx->hwdata->regshift); in i2c_imx_dma_request()
480 struct imx_i2c_clk_pair *i2c_clk_div = i2c_imx->hwdata->clk_div; in i2c_imx_set_clk()
493 else if (div > i2c_clk_div[i2c_imx->hwdata->ndivs - 1].div) in i2c_imx_set_clk()
494 i = i2c_imx->hwdata->ndivs - 1; in i2c_imx_set_clk()
542 imx_i2c_write_reg(i2c_imx->hwdata->i2sr_clr_opcode, i2c_imx, IMX_I2C_I2SR); in i2c_imx_start()
[all …]
/Linux-v5.4/tools/usb/usbip/
Dconfigure.ac89 [where usb.ids is found (default /usr/share/hwdata/)])],
90 [USBIDS_DIR=$withval], [USBIDS_DIR="/usr/share/hwdata/"])
DREADME46 - hwdata
/Linux-v5.4/drivers/block/mtip32xx/
Dmtip32xx.c2463 u32 hwdata; in hba_setup() local
2464 hwdata = readl(dd->mmio + HOST_HSORG); in hba_setup()
2467 writel(hwdata | in hba_setup()
2490 u32 hwdata; in mtip_detect_product() local
2500 hwdata = readl(dd->mmio + HOST_HSORG); in mtip_detect_product()
2505 if (hwdata & 0x8) { in mtip_detect_product()
2507 rev = (hwdata & HSORG_HWREV) >> 8; in mtip_detect_product()
2508 slotgroups = (hwdata & HSORG_SLOTGROUPS) + 1; in mtip_detect_product()