/external/u-boot/drivers/power/regulator/ |
D | sandbox.c | 86 if (dev->driver_data > output_count) { in out_get_value() 88 dev->driver_data, dev->name); in out_get_value() 92 reg = (dev->driver_data - 1) * OUT_REG_COUNT + reg_type; in out_get_value() 99 ret = REG2VAL(range[dev->driver_data - 1].min, in out_get_value() 100 range[dev->driver_data - 1].step, in out_get_value() 114 if (dev->driver_data > output_count) { in out_set_value() 116 dev->driver_data, dev->name); in out_set_value() 120 max_value = range[dev->driver_data - 1].max; in out_set_value() 123 dev->name, dev->driver_data, max_value); in out_set_value() 127 reg_val = VAL2REG(range[dev->driver_data - 1].min, in out_set_value() [all …]
|
D | stpmu1.c | 154 return stpmu1_buck_get_uv(dev->parent, dev->driver_data - 1); in stpmu1_buck_get_value() 159 int sel, buck = dev->driver_data - 1; in stpmu1_buck_set_value() 176 STPMU1_BUCKX_CTRL_REG(dev->driver_data - 1)); in stpmu1_buck_get_enable() 200 STPMU1_BUCKX_CTRL_REG(dev->driver_data - 1), in stpmu1_buck_set_enable() 213 STPMU1_BUCKX_CTRL_REG(dev->driver_data - 1)); in stpmu1_buck_get_mode() 224 STPMU1_BUCKX_CTRL_REG(dev->driver_data - 1), in stpmu1_buck_set_mode() 233 if (!dev->driver_data || dev->driver_data > STPMU1_MAX_BUCK) in stpmu1_buck_probe() 311 int sel, ldo = dev->driver_data - 1; in stpmu1_ldo_get_value() 333 int sel, ldo = dev->driver_data - 1; in stpmu1_ldo_set_value() 354 STPMU1_LDOX_CTRL_REG(dev->driver_data - 1)); in stpmu1_ldo_get_enable() [all …]
|
D | rk8xx.c | 150 int buck = dev->driver_data - 1; in buck_get_value() 167 int buck = dev->driver_data; in buck_set_value() 174 int buck = dev->driver_data; in buck_set_enable() 181 int buck = dev->driver_data - 1; in buck_get_enable() 196 int ldo = dev->driver_data - 1; in ldo_get_value() 213 int ldo = dev->driver_data - 1; in ldo_set_value() 229 int ldo = dev->driver_data - 1; in ldo_set_enable() 240 int ldo = dev->driver_data - 1; in ldo_get_enable() 255 int sw = dev->driver_data - 1; in switch_set_enable() 266 int sw = dev->driver_data - 1; in switch_get_enable()
|
D | s5m8767.c | 144 int ldo = dev->driver_data; in ldo_get_value() 151 int ldo = dev->driver_data; in ldo_set_value() 188 int ldo = dev->driver_data; in ldo_get_enable() 195 int ldo = dev->driver_data; in ldo_set_enable() 214 int buck = dev->driver_data; in buck_get_value() 221 int buck = dev->driver_data; in buck_set_value() 228 int buck = dev->driver_data; in buck_get_enable() 235 int buck = dev->driver_data; in buck_set_enable()
|
D | act8846.c | 87 int reg = dev->driver_data; in reg_get_value() 99 int reg = dev->driver_data; in reg_set_value() 111 int reg = dev->driver_data; in reg_set_enable() 119 int reg = dev->driver_data; in reg_get_enable() 132 int reg = dev->driver_data; in act8846_reg_probe()
|
D | palmas_regulator.c | 172 if (dev->driver_data > 2) in palmas_ldo_bypass_enable() 176 if (dev->driver_data != 9) in palmas_ldo_bypass_enable() 305 if (dev->driver_data) { in palmas_ldo_probe() 306 u8 idx = dev->driver_data - 1; in palmas_ldo_probe() 373 switch (dev->driver_data) { in palmas_smps_probe() 392 idx = dev->driver_data - 3; in palmas_smps_probe() 403 switch (dev->driver_data) { in palmas_smps_probe() 409 idx = dev->driver_data - 1; in palmas_smps_probe()
|
D | as3722_regulator.c | 31 int sd = dev->driver_data; in stepdown_set_enable() 47 int sd = dev->driver_data; in stepdown_get_enable() 74 int ldo = dev->driver_data; in ldo_set_enable() 96 int ldo = dev->driver_data; in ldo_get_enable()
|
D | max77686.c | 326 ldo = dev->driver_data; in max77686_ldo_val() 364 buck = dev->driver_data; in max77686_buck_val() 421 ldo = dev->driver_data; in max77686_ldo_mode() 543 buck = dev->driver_data; in max77686_buck_mode() 665 uc_pdata->mode_count = max77686_ldo_modes(dev->driver_data, in max77686_ldo_probe() 729 uc_pdata->mode_count = max77686_buck_modes(dev->driver_data, in max77686_buck_probe()
|
D | tps65090_regulator.c | 30 fet_id = dev->driver_data; in tps65090_fet_get_enable() 92 fet_id = dev->driver_data; in tps65090_fet_set_enable()
|
D | s2mps11_regulator.c | 122 buck = dev->driver_data; in s2mps11_buck_val() 172 buck = dev->driver_data; in s2mps11_buck_mode() 391 ldo = dev->driver_data; in s2mps11_ldo_val() 431 ldo = dev->driver_data; in s2mps11_ldo_mode()
|
/external/kernel-headers/original/uapi/rdma/ |
D | ib_user_verbs.h | 161 __aligned_u64 driver_data[0]; member 167 __aligned_u64 driver_data[0]; member 172 __aligned_u64 driver_data[0]; member 279 __aligned_u64 driver_data[0]; member 309 __aligned_u64 driver_data[0]; member 314 __u32 driver_data[0]; member 325 __aligned_u64 driver_data[0]; member 330 __u32 driver_data[0]; member 344 __aligned_u64 driver_data[0]; member 351 __u32 driver_data[0]; member [all …]
|
/external/u-boot/drivers/core/ |
D | syscon-uclass.c | 56 int syscon_get_by_driver_data(ulong driver_data, struct udevice **devp) in syscon_get_by_driver_data() argument 67 if (dev->driver_data == driver_data) { in syscon_get_by_driver_data() 76 struct regmap *syscon_get_regmap_by_driver_data(ulong driver_data) in syscon_get_regmap_by_driver_data() argument 82 ret = syscon_get_by_driver_data(driver_data, &dev); in syscon_get_regmap_by_driver_data() 90 void *syscon_get_first_range(ulong driver_data) in syscon_get_first_range() argument 94 map = syscon_get_regmap_by_driver_data(driver_data); in syscon_get_first_range()
|
D | device.c | 34 ulong driver_data, ofnode node, in device_bind_common() argument 63 dev->driver_data = driver_data; in device_bind_common() 218 ulong driver_data, ofnode node, in device_bind_with_driver_data() argument 221 return device_bind_common(parent, drv, name, NULL, driver_data, node, in device_bind_with_driver_data() 641 return dev->driver_data; in dev_get_driver_data()
|
/external/u-boot/test/dm/ |
D | syscon.c | 19 ut_asserteq(SYSCON0, dev->driver_data); in dm_test_syscon_base() 22 ut_asserteq(SYSCON1, dev->driver_data); in dm_test_syscon_base() 36 ut_asserteq(SYSCON0, dev->driver_data); in dm_test_syscon_by_driver_data() 39 ut_asserteq(SYSCON1, dev->driver_data); in dm_test_syscon_by_driver_data()
|
/external/u-boot/include/ |
D | syscon.h | 62 int syscon_get_by_driver_data(ulong driver_data, struct udevice **devp); 74 struct regmap *syscon_get_regmap_by_driver_data(ulong driver_data); 83 void *syscon_get_first_range(ulong driver_data);
|
/external/u-boot/drivers/usb/gadget/ |
D | f_thor.c | 813 ep->driver_data = dev; in thor_func_bind() 826 ep->driver_data = dev; in thor_func_bind() 835 ep->driver_data = dev; in thor_func_bind() 879 if (dev->in_ep->driver_data) { in thor_func_disable() 882 dev->in_ep->driver_data = NULL; in thor_func_disable() 885 if (dev->out_ep->driver_data) { in thor_func_disable() 888 dev->out_ep->driver_data = NULL; in thor_func_disable() 891 if (dev->int_ep->driver_data) { in thor_func_disable() 893 dev->int_ep->driver_data = NULL; in thor_func_disable() 915 ep->driver_data = cdev; /* claim */ in thor_eps_setup() [all …]
|
D | epautoconf.c | 57 if (NULL != ep->driver_data) in ep_matches() 309 ep->driver_data = NULL; in usb_ep_autoconfig_reset()
|
/external/u-boot/drivers/i2c/ |
D | mxc_i2c.c | 172 bool quirk = i2c_bus->driver_data & I2C_QUIRK_FLAG ? true : false; in bus_i2c_set_bus_speed() 197 bool quirk = i2c_bus->driver_data & I2C_QUIRK_FLAG ? true : false; in wait_for_sr_state() 230 int reg_shift = i2c_bus->driver_data & I2C_QUIRK_FLAG ? in tx_byte() 260 int reg_shift = i2c_bus->driver_data & I2C_QUIRK_FLAG ? in i2c_imx_stop() 281 bool quirk = i2c_bus->driver_data & I2C_QUIRK_FLAG ? true : false; in i2c_init_transfer_() 419 int reg_shift = i2c_bus->driver_data & I2C_QUIRK_FLAG ? in i2c_init_transfer() 476 int reg_shift = i2c_bus->driver_data & I2C_QUIRK_FLAG ? in i2c_read_data() 534 int reg_shift = i2c_bus->driver_data & I2C_QUIRK_FLAG ? in bus_i2c_read() 700 bool quirk = mxc_i2c_buses[I2C_EARLY_INIT_INDEX].driver_data in i2c_early_init_f() 813 i2c_bus->driver_data = dev_get_driver_data(bus); [all …]
|
/external/u-boot/arch/arm/mach-rockchip/rk3188/ |
D | syscon_rk3188.c | 28 dev->driver_data = dev->driver->of_match->data; in rk3188_syscon_bind_of_platdata() 29 debug("syscon: %s %d\n", dev->name, (uint)dev->driver_data); in rk3188_syscon_bind_of_platdata()
|
/external/u-boot/arch/arm/mach-rockchip/rk3288/ |
D | syscon_rk3288.c | 29 dev->driver_data = dev->driver->of_match->data; in rk3288_syscon_bind_of_platdata() 30 debug("syscon: %s %d\n", dev->name, (uint)dev->driver_data); in rk3288_syscon_bind_of_platdata()
|
/external/u-boot/arch/arm/mach-rockchip/rk3368/ |
D | syscon_rk3368.c | 34 dev->driver_data = dev->driver->of_match->data; in rk3368_syscon_bind_of_platdata() 35 debug("syscon: %s %d\n", dev->name, (uint)dev->driver_data); in rk3368_syscon_bind_of_platdata()
|
/external/u-boot/arch/arm/mach-rockchip/rk3399/ |
D | syscon_rk3399.c | 28 dev->driver_data = dev->driver->of_match->data; in rk3399_syscon_bind_of_platdata() 29 debug("syscon: %s %d\n", dev->name, (uint)dev->driver_data); in rk3399_syscon_bind_of_platdata()
|
/external/u-boot/drivers/gpio/ |
D | pca953x_gpio.c | 250 ulong driver_data; in pca953x_probe() local 261 driver_data = dev_get_driver_data(dev); in pca953x_probe() 263 info->gpio_count = driver_data & PCA_GPIO_MASK; in pca953x_probe() 269 info->chip_type = PCA_CHIP_TYPE(driver_data); in pca953x_probe()
|
/external/u-boot/drivers/watchdog/ |
D | ast_wdt.c | 23 ulong driver_data = dev_get_driver_data(dev); in ast_wdt_start() local 30 if (driver_data >= WDT_AST2500 && reset_mode == WDT_CTRL_RESET_SOC) in ast_wdt_start()
|
/external/u-boot/include/linux/usb/ |
D | gadget.h | 157 void *driver_data; member 518 gadget->dev.driver_data = data; in set_gadget_data() 523 return gadget->dev.driver_data; in get_gadget_data()
|