Searched refs:hwdata (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/clk/ |
| H A D | clk-si5351.c | 308 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 …]
|
| H A D | clk-versaclock5.c | 438 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_recalc_rate() local 439 struct vc5_driver_data *vc5 = hwdata->vc5; in vc5_pll_recalc_rate() 455 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_determine_rate() local 456 struct vc5_driver_data *vc5 = hwdata->vc5; in vc5_pll_determine_rate() 472 hwdata->div_int = div_int; in vc5_pll_determine_rate() 473 hwdata->div_frc = (u32)div_frc; in vc5_pll_determine_rate() 483 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_set_rate() local 484 struct vc5_driver_data *vc5 = hwdata->vc5; in vc5_pll_set_rate() 487 fb[0] = hwdata->div_int >> 4; in vc5_pll_set_rate() 488 fb[1] = hwdata->div_int << 4; in vc5_pll_set_rate() [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-mxc.c | 77 const struct mxc_gpio_hwdata *hwdata; member 125 #define GPIO_DR (port->hwdata->dr_reg) 126 #define GPIO_GDIR (port->hwdata->gdir_reg) 127 #define GPIO_PSR (port->hwdata->psr_reg) 128 #define GPIO_ICR1 (port->hwdata->icr1_reg) 129 #define GPIO_ICR2 (port->hwdata->icr2_reg) 130 #define GPIO_IMR (port->hwdata->imr_reg) 131 #define GPIO_ISR (port->hwdata->isr_reg) 132 #define GPIO_EDGE_SEL (port->hwdata->edge_sel_reg) 134 #define GPIO_INT_LOW_LEV (port->hwdata->low_level) [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-imx.c | 250 const struct imx_i2c_hwdata *hwdata; member 359 return i2c_imx->hwdata->devtype == IMX1_I2C; in is_imx1_i2c() 364 return i2c_imx->hwdata->devtype == VF610_I2C; in is_vf610_i2c() 370 writeb(val, i2c_imx->base + (reg << i2c_imx->hwdata->regshift)); in imx_i2c_write_reg() 376 return readb(i2c_imx->base + (reg << i2c_imx->hwdata->regshift)); in imx_i2c_read_reg() 388 temp = ~i2c_imx->hwdata->i2sr_clr_opcode ^ bits; in i2c_imx_clear_irq() 395 imx_i2c_write_reg(i2c_imx->hwdata->i2cr_ien_opcode ^ I2CR_IEN, in i2c_imx_reset_regs() 421 (IMX_I2C_I2DR << i2c_imx->hwdata->regshift); in i2c_imx_dma_request() 440 (IMX_I2C_I2DR << i2c_imx->hwdata->regshift); in i2c_imx_dma_request() 576 void __iomem *addr = i2c_imx->base + (IMX_I2C_I2SR << i2c_imx->hwdata->regshift); in i2c_imx_trx_complete() [all …]
|
| H A D | i2c-imx-lpi2c.c | 198 const struct imx_lpi2c_hwdata *hwdata; member 1472 lpi2c_imx->hwdata = of_device_get_match_data(&pdev->dev); in lpi2c_imx_probe() 1473 if (!lpi2c_imx->hwdata) in lpi2c_imx_probe() 1528 if (lpi2c_imx->hwdata->need_prepare_unprepare_clk) in lpi2c_imx_probe() 1587 bool need_prepare_unprepare_clk = lpi2c_imx->hwdata->need_prepare_unprepare_clk; in lpi2c_runtime_suspend() 1588 bool need_request_free_irq = lpi2c_imx->hwdata->need_request_free_irq; in lpi2c_runtime_suspend() 1605 bool need_prepare_unprepare_clk = lpi2c_imx->hwdata->need_prepare_unprepare_clk; in lpi2c_runtime_resume() 1606 bool need_request_free_irq = lpi2c_imx->hwdata->need_request_free_irq; in lpi2c_runtime_resume()
|
| /linux/tools/usb/usbip/ |
| H A D | configure.ac | 89 [where usb.ids is found (default /usr/share/hwdata/)])], 90 [USBIDS_DIR=$withval], [USBIDS_DIR="/usr/share/hwdata/"])
|
| H A D | README | 46 - hwdata
|
| /linux/drivers/block/mtip32xx/ |
| H A D | mtip32xx.c | 2298 u32 hwdata; in hba_setup() local 2299 hwdata = readl(dd->mmio + HOST_HSORG); in hba_setup() 2302 writel(hwdata | in hba_setup() 2325 u32 hwdata; in mtip_detect_product() local 2335 hwdata = readl(dd->mmio + HOST_HSORG); in mtip_detect_product() 2340 if (hwdata & 0x8) { in mtip_detect_product() 2342 rev = (hwdata & HSORG_HWREV) >> 8; in mtip_detect_product() 2343 slotgroups = (hwdata & HSORG_SLOTGROUPS) + 1; in mtip_detect_product()
|