OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GPIO_PORT_SHIFT
(Results
1 - 3
of
3
) sorted by null
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
gpio.h
39
#define
GPIO_PORT_SHIFT
4
45
#define GPIO_PA(x) ((GPIO_PORTA <<
GPIO_PORT_SHIFT
) + (x))
46
#define GPIO_PB(x) ((GPIO_PORTB <<
GPIO_PORT_SHIFT
) + (x))
47
#define GPIO_PC(x) ((GPIO_PORTC <<
GPIO_PORT_SHIFT
) + (x))
48
#define GPIO_PD(x) ((GPIO_PORTD <<
GPIO_PORT_SHIFT
) + (x))
49
#define GPIO_PE(x) ((GPIO_PORTE <<
GPIO_PORT_SHIFT
) + (x))
50
#define GPIO_PF(x) ((GPIO_PORTF <<
GPIO_PORT_SHIFT
) + (x))
51
#define GPIO_PG(x) ((GPIO_PORTG <<
GPIO_PORT_SHIFT
) + (x))
52
#define GPIO_PH(x) ((GPIO_PORTH <<
GPIO_PORT_SHIFT
) + (x))
53
#define GPIO_PI(x) ((GPIO_PORTI <<
GPIO_PORT_SHIFT
) + (x)
[
all
...]
/device/google/contexthub/firmware/os/platform/stm32/
gpio.c
98
struct StmGpio *block = (struct StmGpio*)mGpioBases[gpioNum >>
GPIO_PORT_SHIFT
];
105
pwrUnitClock(PERIPH_BUS_AHB1, mGpioPeriphs[gpioNum >>
GPIO_PORT_SHIFT
], true);
121
struct StmGpio *block = (struct StmGpio*)mGpioBases[gpioNum >>
GPIO_PORT_SHIFT
];
139
struct StmGpio *block = (struct StmGpio*)mGpioBases[gpioNum >>
GPIO_PORT_SHIFT
];
160
struct StmGpio *block = (struct StmGpio*)mGpioBases[gpioNum >>
GPIO_PORT_SHIFT
];
162
const uint32_t regNo = pinNo >> (
GPIO_PORT_SHIFT
- 1);
186
struct StmGpio *block = (struct StmGpio*)mGpioBases[gpioNum >>
GPIO_PORT_SHIFT
];
205
struct StmGpio *block = (struct StmGpio*)mGpioBases[gpioNum >>
GPIO_PORT_SHIFT
];
221
struct StmGpio *block = (struct StmGpio*)mGpioBases[gpioNum >>
GPIO_PORT_SHIFT
];
240
struct StmGpio *block = (struct StmGpio*)mGpioBases[DEBUG_UART_PIN >>
GPIO_PORT_SHIFT
];
[
all
...]
syscfg.c
35
const uint32_t bankNo = gpioNum >>
GPIO_PORT_SHIFT
;
Completed in 369 milliseconds