Home
last modified time | relevance | path

Searched refs:pinmap (Results 1 – 17 of 17) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dintel_galileo_rev_d.c179 b->pins[0].gpio.pinmap = 50; in mraa_intel_galileo_rev_d()
184 b->pins[0].uart.pinmap = 0; in mraa_intel_galileo_rev_d()
192 b->pins[1].gpio.pinmap = 51; in mraa_intel_galileo_rev_d()
196 b->pins[1].uart.pinmap = 0; in mraa_intel_galileo_rev_d()
204 b->pins[2].gpio.pinmap = 32; in mraa_intel_galileo_rev_d()
208 b->pins[2].mmap.gpio.pinmap = 14; in mraa_intel_galileo_rev_d()
220 b->pins[3].gpio.pinmap = 18; in mraa_intel_galileo_rev_d()
224 b->pins[3].mmap.gpio.pinmap = 15; in mraa_intel_galileo_rev_d()
233 b->pins[3].pwm.pinmap = 3; in mraa_intel_galileo_rev_d()
242 b->pins[4].gpio.pinmap = 28; in mraa_intel_galileo_rev_d()
[all …]
Dintel_sofia_3gr.c60 b->pins[0].i2c.pinmap = 1; in mraa_intel_sofia_3gr()
65 b->pins[1].i2c.pinmap = 1; in mraa_intel_sofia_3gr()
70 b->pins[2].i2c.pinmap = 1; in mraa_intel_sofia_3gr()
75 b->pins[3].i2c.pinmap = 1; in mraa_intel_sofia_3gr()
80 b->pins[4].i2c.pinmap = 1; in mraa_intel_sofia_3gr()
85 b->pins[5].i2c.pinmap = 1; in mraa_intel_sofia_3gr()
90 b->pins[6].i2c.pinmap = 1; in mraa_intel_sofia_3gr()
95 b->pins[7].i2c.pinmap = 1; in mraa_intel_sofia_3gr()
Dintel_edison_fab_c.c258 int scl = plat->pins[plat->i2c_bus[bus].scl].gpio.pinmap; in mraa_intel_edison_i2c_init_pre()
259 int sda = plat->pins[plat->i2c_bus[bus].sda].gpio.pinmap; in mraa_intel_edison_i2c_init_pre()
373 return mraa_intel_edison_pinmode_change(plat->pins[pin].gpio.pinmap, 1); in mraa_intel_edison_pwm_init_pre()
408 mraa_intel_edison_pinmode_change(plat->pins[pin].gpio.pinmap, 1); in mraa_intel_edison_pwm_init_pre()
814 b->pins[pos].gpio.pinmap = 182; in mraa_intel_edison_miniboard()
816 b->pins[pos].pwm.pinmap = 2; in mraa_intel_edison_miniboard()
833 b->pins[pos].gpio.pinmap = 135; in mraa_intel_edison_miniboard()
843 b->pins[pos].gpio.pinmap = 27; in mraa_intel_edison_miniboard()
845 b->pins[pos].i2c.pinmap = 1; in mraa_intel_edison_miniboard()
851 b->pins[pos].gpio.pinmap = 20; in mraa_intel_edison_miniboard()
[all …]
Dintel_galileo_rev_g.c358 b->pins[0].gpio.pinmap = 11; in mraa_intel_galileo_gen2()
364 b->pins[0].mmap.gpio.pinmap = 11; in mraa_intel_galileo_gen2()
378 b->pins[1].gpio.pinmap = 12; in mraa_intel_galileo_gen2()
386 b->pins[1].mmap.gpio.pinmap = 12; in mraa_intel_galileo_gen2()
404 b->pins[2].gpio.pinmap = 13; in mraa_intel_galileo_gen2()
412 b->pins[2].mmap.gpio.pinmap = 13; in mraa_intel_galileo_gen2()
426 b->pins[3].gpio.pinmap = 14; in mraa_intel_galileo_gen2()
436 b->pins[3].pwm.pinmap = 1; in mraa_intel_galileo_gen2()
445 b->pins[3].mmap.gpio.pinmap = 14; in mraa_intel_galileo_gen2()
461 b->pins[4].gpio.pinmap = 6; in mraa_intel_galileo_gen2()
[all …]
Dintel_nuc5.c84 b->pins[10].pwm.pinmap = 0; in mraa_intel_nuc5()
90 b->pins[11].pwm.pinmap = 0; in mraa_intel_nuc5()
96 b->pins[12].i2c.pinmap = 1; in mraa_intel_nuc5()
101 b->pins[13].i2c.pinmap = 1; in mraa_intel_nuc5()
106 b->pins[14].i2c.pinmap = 1; in mraa_intel_nuc5()
111 b->pins[15].i2c.pinmap = 1; in mraa_intel_nuc5()
Dintel_de3815.c90 b->pins[10].pwm.pinmap = 0; in mraa_intel_de3815()
96 b->pins[11].pwm.pinmap = 0; in mraa_intel_de3815()
102 b->pins[12].i2c.pinmap = 1; in mraa_intel_de3815()
107 b->pins[13].i2c.pinmap = 1; in mraa_intel_de3815()
112 b->pins[14].i2c.pinmap = 1; in mraa_intel_de3815()
117 b->pins[15].i2c.pinmap = 1; in mraa_intel_de3815()
Dintel_minnow_byt_compatible.c50 pin_info->gpio.pinmap = sysfs_pin | arch_nr_gpios_adjust; in mraa_set_pininfo()
54 pin_info->i2c.pinmap = 1; in mraa_set_pininfo()
62 pin_info->pwm.pinmap = 0; in mraa_set_pininfo()
/hardware/bsp/intel/peripheral/libmraa/src/arm/
Draspberry_pi.c305 b->pins[3].gpio.pinmap = 2; in mraa_raspberry_pi()
307 b->pins[3].i2c.pinmap = 0; in mraa_raspberry_pi()
315 b->pins[5].gpio.pinmap = 3; in mraa_raspberry_pi()
317 b->pins[5].i2c.pinmap = 0; in mraa_raspberry_pi()
325 b->pins[7].gpio.pinmap = 4; in mraa_raspberry_pi()
330 b->pins[8].gpio.pinmap = 14; in mraa_raspberry_pi()
340 b->pins[10].gpio.pinmap = 15; in mraa_raspberry_pi()
347 b->pins[11].gpio.pinmap = 17; in mraa_raspberry_pi()
352 b->pins[12].gpio.pinmap = 18; in mraa_raspberry_pi()
357 b->pins[13].gpio.pinmap = 21; in mraa_raspberry_pi()
[all …]
Dbanana.c323 b->pins[3].gpio.pinmap = 53; in mraa_banana()
335 b->pins[5].gpio.pinmap = 52; in mraa_banana()
342 b->pins[7].gpio.pinmap = 226; in mraa_banana()
345 b->pins[7].gpio.pinmap = 259; in mraa_banana()
351 b->pins[8].gpio.pinmap = 228; in mraa_banana()
354 b->pins[8].gpio.pinmap = 224; in mraa_banana()
363 b->pins[10].gpio.pinmap = 229; in mraa_banana()
366 b->pins[10].gpio.pinmap = 225; in mraa_banana()
372 b->pins[11].gpio.pinmap = 275; in mraa_banana()
376 b->pins[12].gpio.pinmap = 259; in mraa_banana()
[all …]
Dbeaglebone.c343 sprintf(devpath, SYSFS_CLASS_PWM "pwm%u", plat->pins[pin].pwm.pinmap); in mraa_beaglebone_pwm_init_replace()
352 if (fprintf(fh, "%d", plat->pins[pin].pwm.pinmap) < 0) { in mraa_beaglebone_pwm_init_replace()
364 dev->pin = plat->pins[pin].pwm.pinmap; in mraa_beaglebone_pwm_init_replace()
547 b->pins[3].gpio.pinmap = 38; in mraa_beaglebone()
558 b->pins[4].gpio.pinmap = 39; in mraa_beaglebone()
569 b->pins[5].gpio.pinmap = 34; in mraa_beaglebone()
580 b->pins[6].gpio.pinmap = 35; in mraa_beaglebone()
587 b->pins[7].gpio.pinmap = 66; in mraa_beaglebone()
594 b->pins[8].gpio.pinmap = 67; in mraa_beaglebone()
601 b->pins[9].gpio.pinmap = 69; in mraa_beaglebone()
[all …]
D96boards.c121 b->pins[pin].gpio.pinmap = pin; in mraa_96boards()
/hardware/bsp/intel/peripheral/libmraa/src/usb/
Dftdi_ft4222.c693 sub_plat->pins[pinIndex].gpio.pinmap = pinIndex; in mraa_ftdi_ft4222()
700 sub_plat->pins[pinIndex].gpio.pinmap = pinIndex; in mraa_ftdi_ft4222()
709 sub_plat->pins[pinIndex].gpio.pinmap = pinIndex; in mraa_ftdi_ft4222()
714 sub_plat->pins[pinIndex].gpio.pinmap = pinIndex; in mraa_ftdi_ft4222()
723 sub_plat->pins[pinIndex].gpio.pinmap = pinIndex; in mraa_ftdi_ft4222()
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_internal_types.h187 unsigned int pinmap; /**< sysfs pin */ member
/hardware/bsp/intel/peripheral/libmraa/src/aio/
Daio.c89 dev->channel = plat->pins[pin].aio.pinmap; in mraa_aio_init()
/hardware/bsp/intel/peripheral/libmraa/src/pwm/
Dpwm.c205 mux_i = mraa_gpio_init_raw(plat->pins[pin].gpio.pinmap); in mraa_pwm_init()
232 int pinn = plat->pins[pin].pwm.pinmap; in mraa_pwm_init()
/hardware/bsp/intel/peripheral/libmraa/docs/
Dinternals.md45 initialised during mraa_init(). The pinmap file in
95 platforms with no level shifters or expanders will work with just the pinmap
139 'pinmap'. Because calling this is tedious libmraa uses a C constructor to run
/hardware/bsp/intel/peripheral/libmraa/src/gpio/
Dgpio.c163 mraa_gpio_context r = mraa_gpio_init_internal(board->adv_func, board->pins[pin].gpio.pinmap); in mraa_gpio_init()