/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/Native_Driver/ |
D | gpio_cmsdk_drv.c | 102 gpio_cmsdk_pin_config(struct gpio_cmsdk_dev_t* dev, uint32_t pin_num, in gpio_cmsdk_pin_config() argument 106 uint32_t pin_mask = (1UL << pin_num); in gpio_cmsdk_pin_config() 108 if(pin_num >= GPIO_CMSDK_MAX_PIN_NUM) { in gpio_cmsdk_pin_config() 154 uint32_t pin_num, in gpio_cmsdk_pin_write() argument 164 if(pin_num >= GPIO_CMSDK_MAX_PIN_NUM) { in gpio_cmsdk_pin_write() 169 p_gpio_port->dataout |= (1UL << pin_num); in gpio_cmsdk_pin_write() 172 p_gpio_port->dataout &= ~(1UL << pin_num); in gpio_cmsdk_pin_write() 204 uint32_t pin_num, in gpio_cmsdk_pin_read() argument 211 if(pin_num >= GPIO_CMSDK_MAX_PIN_NUM) { in gpio_cmsdk_pin_read() 217 *data = (value >> pin_num) & 1UL; in gpio_cmsdk_pin_read() [all …]
|
D | gpio_cmsdk_drv.h | 100 gpio_cmsdk_pin_config(struct gpio_cmsdk_dev_t* dev, uint32_t pin_num, 151 uint32_t pin_num, 184 gpio_cmsdk_pin_read(struct gpio_cmsdk_dev_t* dev, uint32_t pin_num, 214 gpio_cmsdk_set_pin_irq_cfg(struct gpio_cmsdk_dev_t* dev, uint32_t pin_num, 246 uint32_t pin_num, uint32_t* status); 275 uint8_t pin_num);
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/Native_Driver/ |
D | gpio_cmsdk_drv.c | 102 gpio_cmsdk_pin_config(struct gpio_cmsdk_dev_t* dev, uint32_t pin_num, in gpio_cmsdk_pin_config() argument 106 uint32_t pin_mask = (1UL << pin_num); in gpio_cmsdk_pin_config() 108 if(pin_num >= GPIO_CMSDK_MAX_PIN_NUM) { in gpio_cmsdk_pin_config() 154 uint32_t pin_num, in gpio_cmsdk_pin_write() argument 164 if(pin_num >= GPIO_CMSDK_MAX_PIN_NUM) { in gpio_cmsdk_pin_write() 169 p_gpio_port->dataout |= (1UL << pin_num); in gpio_cmsdk_pin_write() 172 p_gpio_port->dataout &= ~(1UL << pin_num); in gpio_cmsdk_pin_write() 204 uint32_t pin_num, in gpio_cmsdk_pin_read() argument 211 if(pin_num >= GPIO_CMSDK_MAX_PIN_NUM) { in gpio_cmsdk_pin_read() 217 *data = (value >> pin_num) & 1UL; in gpio_cmsdk_pin_read() [all …]
|
D | gpio_cmsdk_drv.h | 100 gpio_cmsdk_pin_config(struct gpio_cmsdk_dev_t* dev, uint32_t pin_num, 151 uint32_t pin_num, 184 gpio_cmsdk_pin_read(struct gpio_cmsdk_dev_t* dev, uint32_t pin_num, uint32_t *data); 213 gpio_cmsdk_set_pin_irq_cfg(struct gpio_cmsdk_dev_t* dev, uint32_t pin_num, 245 uint32_t pin_num, uint32_t* status); 274 uint8_t pin_num);
|
D | musca_b1_scc_drv.c | 336 uint32_t pin_num, in musca_b1_scc_set_default_in() argument 346 if ((altfunc >= GPIO_ALTFUNC_MAX) || (pin_num >= GPIO_ALTFUNC_MAX_PINS)) { in musca_b1_scc_set_default_in() 352 if (pin_num >= GPIO_UPPER_PINS_MIN_VALUE) { in musca_b1_scc_set_default_in() 353 pin_num -= GPIO_UPPER_PINS_MIN_VALUE; in musca_b1_scc_set_default_in() 362 pin_mask = (1U << pin_num); in musca_b1_scc_set_default_in() 363 default_in_mask = ((default_in_value ? 1U : 0U) << pin_num); in musca_b1_scc_set_default_in()
|
D | musca_b1_scc_drv.h | 130 uint32_t pin_num,
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/services/include/ |
D | tfm_ioctl_api.h | 181 tfm_platform_gpio_pin_config(uint32_t pin_num, uint32_t direction, 194 tfm_platform_gpio_pin_write(uint32_t pin_num, uint32_t value, uint32_t *result); 206 tfm_platform_gpio_pin_read(uint32_t pin_num, uint32_t *data, uint32_t *result);
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/services/include/ |
D | tfm_ioctl_api.h | 181 tfm_platform_gpio_pin_config(uint32_t pin_num, uint32_t direction, 194 tfm_platform_gpio_pin_write(uint32_t pin_num, uint32_t value, uint32_t *result); 206 tfm_platform_gpio_pin_read(uint32_t pin_num, uint32_t *data, uint32_t *result);
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/services/src/ |
D | tfm_ioctl_ns_api.c | 130 tfm_platform_gpio_pin_config(uint32_t pin_num, uint32_t direction, in tfm_platform_gpio_pin_config() argument 140 args.u.gpio_config.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_config() 159 tfm_platform_gpio_pin_write(uint32_t pin_num, uint32_t value, uint32_t *result) in tfm_platform_gpio_pin_write() argument 168 args.u.gpio_write.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_write() 187 tfm_platform_gpio_pin_read(uint32_t pin_num, uint32_t *data, uint32_t *result) in tfm_platform_gpio_pin_read() argument 196 args.u.gpio_read.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_read()
|
D | tfm_ioctl_s_api.c | 141 tfm_platform_gpio_pin_config(uint32_t pin_num, uint32_t direction, in tfm_platform_gpio_pin_config() argument 151 args.u.gpio_config.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_config() 171 tfm_platform_gpio_pin_write(uint32_t pin_num, uint32_t value, uint32_t *result) in tfm_platform_gpio_pin_write() argument 180 args.u.gpio_write.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_write() 200 tfm_platform_gpio_pin_read(uint32_t pin_num, uint32_t *data, uint32_t *result) in tfm_platform_gpio_pin_read() argument 209 args.u.gpio_read.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_read()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/services/src/ |
D | tfm_ioctl_ns_api.c | 130 tfm_platform_gpio_pin_config(uint32_t pin_num, uint32_t direction, in tfm_platform_gpio_pin_config() argument 140 args.u.gpio_config.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_config() 159 tfm_platform_gpio_pin_write(uint32_t pin_num, uint32_t value, uint32_t *result) in tfm_platform_gpio_pin_write() argument 168 args.u.gpio_write.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_write() 188 tfm_platform_gpio_pin_read(uint32_t pin_num, uint32_t *data, uint32_t *result) in tfm_platform_gpio_pin_read() argument 197 args.u.gpio_read.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_read()
|
D | tfm_ioctl_s_api.c | 140 tfm_platform_gpio_pin_config(uint32_t pin_num, uint32_t direction, in tfm_platform_gpio_pin_config() argument 150 args.u.gpio_config.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_config() 169 tfm_platform_gpio_pin_write(uint32_t pin_num, uint32_t value, uint32_t *result) in tfm_platform_gpio_pin_write() argument 178 args.u.gpio_write.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_write() 197 tfm_platform_gpio_pin_read(uint32_t pin_num, uint32_t *data, uint32_t *result) in tfm_platform_gpio_pin_read() argument 206 args.u.gpio_read.pin_num_or_mask = pin_num; in tfm_platform_gpio_pin_read()
|