Home
last modified time | relevance | path

Searched refs:reg_data (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-omap2/
Dusb-host.c367 struct regulator_init_data *reg_data; in usbhs_add_regulator() local
380 reg_data = kzalloc(sizeof(*reg_data), GFP_KERNEL); in usbhs_add_regulator()
381 if (!reg_data) in usbhs_add_regulator()
384 reg_data->constraints.valid_ops_mask = REGULATOR_CHANGE_STATUS; in usbhs_add_regulator()
385 reg_data->consumer_supplies = supplies; in usbhs_add_regulator()
386 reg_data->num_consumer_supplies = 1; in usbhs_add_regulator()
399 config->init_data = reg_data; in usbhs_add_regulator()
423 kfree(reg_data); in usbhs_add_regulator()
/arch/powerpc/platforms/powermac/
Dlow_i2c.c135 reg_data enumerator
294 kw_write_reg(reg_data, *(host->data++)); in kw_i2c_handle_interrupt()
303 *(host->data++) = kw_read_reg(reg_data); in kw_i2c_handle_interrupt()
317 kw_write_reg(reg_data, *(host->data++)); in kw_i2c_handle_interrupt()