Searched refs:gpio_init (Results 1 - 17 of 17) sorted by relevance

/linux-4.4.14/include/linux/platform_data/
H A Ds3c-hsudc.h22 * @gpio_init: Platform specific USB related GPIO initialization.
30 void (*gpio_init)(void); member in struct:s3c24xx_hsudc_platdata
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-cards.c97 .gpio_init.initial_value = 0x3001,
98 .gpio_init.direction = 0x3001,
144 .gpio_init.initial_value = 0x3801,
145 .gpio_init.direction = 0x3801,
191 .gpio_init.initial_value = 0x3001,
192 .gpio_init.direction = 0x3001,
297 .gpio_init.initial_value = 0x1,
298 .gpio_init.direction = 0x3,
357 .gpio_init.initial_value = 0x1,
358 .gpio_init.direction = 0x3,
413 .gpio_init.initial_value = 0x1002,
414 .gpio_init.direction = 0xf002,
510 .gpio_init.initial_value = 0x6,
511 .gpio_init.direction = 0x7,
563 .gpio_init.initial_value = 0x6,
564 .gpio_init.direction = 0x7,
H A Dcx18-gpio.c271 cx->gpio_dir = cx->card->gpio_init.direction; cx18_gpio_init()
272 cx->gpio_val = cx->card->gpio_init.initial_value; cx18_gpio_init()
H A Dcx18-cards.h142 struct cx18_gpio_init gpio_init; member in struct:cx18_card
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-cards.c224 .gpio_init = { .direction = 0x1f01, .initial_value = 0x26f3 },
255 .gpio_init = { .direction = 0xe380, .initial_value = 0x8290 },
298 .gpio_init = { .direction = 0x3080, .initial_value = 0x0004 },
340 .gpio_init = { .direction = 0x7080, .initial_value = 0x400c },
491 .gpio_init = { .direction = 0xe080, .initial_value = 0x8000 },
568 .gpio_init = { .direction = 0xf880, .initial_value = 0x8800 },
600 .gpio_init = { .direction = 0xf880, .initial_value = 0x8800 },
630 .gpio_init = { .direction = 0xf880, .initial_value = 0x8800 },
672 .gpio_init = { .direction = 0xc301, .initial_value = 0x0200 },
709 .gpio_init = { .direction = 0xc301, .initial_value = 0x0200 },
745 .gpio_init = { .direction = 0xf000, .initial_value = 0xA000 },
783 .gpio_init = { .direction = 0x0800, .initial_value = 0 },
820 .gpio_init = { .direction = 0x00ff, .initial_value = 0x0002 },
857 .gpio_init = { .direction = 0xe080, .initial_value = 0x8000 },
975 .gpio_init = { .direction = 0xe000, .initial_value = 0x4000 },
1015 .gpio_init = { .direction = 0xc000, .initial_value = 0 },
1061 .gpio_init = { .direction = 0xc000, .initial_value = 0 },
1099 .gpio_init = { .direction = 0x4000, .initial_value = 0x4000 },
1170 .gpio_init = { .direction = 0xe000, .initial_value = 0x4000 },
1240 .gpio_init = { .direction = 0x03e1, .initial_value = 0x0320 },
H A Divtv-gpio.c347 if ((itv->card->gpio_init.direction | pin) == 0) ivtv_gpio_init()
354 write_reg(itv->card->gpio_init.initial_value | pin, IVTV_REG_GPIO_OUT); ivtv_gpio_init()
355 write_reg(itv->card->gpio_init.direction | pin, IVTV_REG_GPIO_DIR); ivtv_gpio_init()
H A Divtv-cards.h287 struct ivtv_gpio_init gpio_init; member in struct:ivtv_card
/linux-4.4.14/include/sound/
H A Dwm8962.h42 u32 gpio_init[WM8962_MAX_GPIO]; member in struct:wm8962_pdata
/linux-4.4.14/arch/arm/mach-omap2/
H A Dgpio.c148 * gpio_init needs to be done before
150 * Hence gpio_init is a omap_postcore_initcall.
/linux-4.4.14/arch/m68k/coldfire/
H A Dm53xx.c279 void gpio_init(void);
294 gpio_init(); sysinit()
449 void gpio_init(void) gpio_init() function
/linux-4.4.14/arch/cris/arch-v10/drivers/
H A Dgpio.c800 static int __init gpio_init(void) gpio_init() function
829 printk(KERN_WARNING "gpio_init: Failed to install IO " gpio_init()
854 /* this makes sure that gpio_init is called during kernel boot */
855 module_init(gpio_init); variable
/linux-4.4.14/arch/arm/mach-s3c24xx/
H A Dmach-smdk2416.c145 .gpio_init = smdk2416_hsudc_gpio_init,
/linux-4.4.14/drivers/media/usb/gspca/
H A Dsq930x.c612 static void gpio_init(struct sd *sd, gpio_init() function
649 gpio_init(sd, sensor->gpio); cmos_probe()
715 gpio_init(sd, sensor_tb[sd->sensor].gpio); global_init()
727 gpio_init(sd, sensor_tb[sd->sensor].gpio); global_init()
735 gpio_init(sd, sensor_tb[sd->sensor].gpio); global_init()
743 gpio_init(sd, sensor_tb[sd->sensor].gpio); global_init()
/linux-4.4.14/arch/arm/mach-s3c64xx/
H A Dmach-crag6410-module.c140 .gpio_init = {
/linux-4.4.14/sound/soc/codecs/
H A Dwm8962.c3528 if (of_property_read_u32_array(np, "gpio-cfg", pdata->gpio_init, wm8962_set_pdata_from_of()
3529 ARRAY_SIZE(pdata->gpio_init)) >= 0) wm8962_set_pdata_from_of()
3530 for (i = 0; i < ARRAY_SIZE(pdata->gpio_init); i++) { wm8962_set_pdata_from_of()
3536 if (pdata->gpio_init[i] > 0xffff) wm8962_set_pdata_from_of()
3537 pdata->gpio_init[i] = 0x0; wm8962_set_pdata_from_of()
3661 for (i = 0; i < ARRAY_SIZE(wm8962->pdata.gpio_init); i++) wm8962_i2c_probe()
3662 if (wm8962->pdata.gpio_init[i]) { wm8962_i2c_probe()
3665 wm8962->pdata.gpio_init[i] & 0xffff); wm8962_i2c_probe()
/linux-4.4.14/sound/pci/hda/
H A Dpatch_realtek.c3365 static const struct hda_verb gpio_init[] = { alc269_fixup_hp_gpio_led() local
3378 snd_hda_add_verbs(codec, gpio_init); alc269_fixup_hp_gpio_led()
3386 static const struct hda_verb gpio_init[] = { alc286_fixup_hp_gpio_led() local
3399 snd_hda_add_verbs(codec, gpio_init); alc286_fixup_hp_gpio_led()
3433 static const struct hda_verb gpio_init[] = { alc269_fixup_hp_gpio_mic1_led() local
3446 snd_hda_add_verbs(codec, gpio_init); alc269_fixup_hp_gpio_mic1_led()
3456 static const struct hda_verb gpio_init[] = { alc280_fixup_hp_gpio4() local
3469 snd_hda_add_verbs(codec, gpio_init); alc280_fixup_hp_gpio4()
3525 static const struct hda_verb gpio_init[] = { alc280_fixup_hp_gpio2_mic_hotkey() local
3538 snd_hda_add_verbs(codec, gpio_init); alc280_fixup_hp_gpio2_mic_hotkey()
3571 static const struct hda_verb gpio_init[] = { alc233_fixup_lenovo_line2_mic_hotkey() local
3583 snd_hda_add_verbs(codec, gpio_init); alc233_fixup_lenovo_line2_mic_hotkey()
4699 static const struct hda_verb gpio_init[] = { alc280_fixup_hp_9480m() local
4722 snd_hda_add_verbs(codec, gpio_init); alc280_fixup_hp_9480m()
6438 static const struct hda_verb gpio_init[] = { alc662_fixup_led_gpio1() local
6449 snd_hda_add_verbs(codec, gpio_init); alc662_fixup_led_gpio1()
/linux-4.4.14/drivers/usb/gadget/udc/
H A Ds3c-hsudc.c1195 if (hsudc->pd->gpio_init) s3c_hsudc_start()
1196 hsudc->pd->gpio_init(); s3c_hsudc_start()

Completed in 569 milliseconds