Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 36) sorted by relevance

12

/bsp/nuvoton/libraries/nu_packages/BMX055/libraries/BMM050_driver/
A Dbmm050_support.c301 u8 array[I2C_BUFFER_LEN]; in BMM050_I2C_bus_write() local
304 array[BMM050_INIT_VALUE] = reg_addr; in BMM050_I2C_bus_write()
306 array[stringpos + C_BMM050_ONE_U8X] = *(reg_data + stringpos); in BMM050_I2C_bus_write()
338 u8 array[I2C_BUFFER_LEN] = {BMM050_INIT_VALUE}; in BMM050_I2C_bus_read() local
341 array[BMM050_INIT_VALUE] = reg_addr; in BMM050_I2C_bus_read()
353 *(reg_data + stringpos) = array[stringpos]; in BMM050_I2C_bus_read()
370 u8 array[SPI_BUFFER_LEN] = {MASK_DATA1}; in BMM050_SPI_bus_read() local
376 array[BMM050_INIT_VALUE] = reg_addr | MASK_DATA2; in BMM050_SPI_bus_read()
395 *(reg_data + stringpos) = array[stringpos + C_BMM050_ONE_U8X]; in BMM050_SPI_bus_read()
412 u8 array[SPI_BUFFER_LEN * C_BMM050_TWO_U8X]; in BMM050_SPI_bus_write() local
[all …]
/bsp/nuvoton/libraries/nu_packages/BMX055/libraries/BMA2x2_driver/
A Dbma2x2_support.c367 u8 array[I2C_BUFFER_LEN]; in BMA2x2_I2C_bus_write() local
370 array[BMA2x2_INIT_VALUE] = reg_addr; in BMA2x2_I2C_bus_write()
373 array[stringpos + BMA2x2_BUS_READ_WRITE_ARRAY_INDEX] = in BMA2x2_I2C_bus_write()
407 u8 array[I2C_BUFFER_LEN] = {BMA2x2_INIT_VALUE}; in BMA2x2_I2C_bus_read() local
410 array[BMA2x2_INIT_VALUE] = reg_addr; in BMA2x2_I2C_bus_read()
421 *(reg_data + stringpos) = array[stringpos]; in BMA2x2_I2C_bus_read()
436 u8 array[SPI_BUFFER_LEN] = {0xFF}; in BMA2x2_SPI_bus_read() local
461 *(reg_data + stringpos) = array[stringpos + in BMA2x2_SPI_bus_read()
479 u8 array[SPI_BUFFER_LEN * 2]; in BMA2x2_SPI_bus_write() local
488 array[stringpos * 2] = (reg_addr++) & in BMA2x2_SPI_bus_write()
[all …]
/bsp/nuvoton/libraries/nu_packages/BMX055/libraries/BMG160_driver/
A Dbmg160_support.c302 u8 array[I2C_BUFFER_LEN]; in BMG160_I2C_bus_write() local
304 array[BMG160_INIT_VALUE] = reg_addr; in BMG160_I2C_bus_write()
307 array[stringpos + BMG160_GEN_READ_WRITE_DATA_LENGTH] = *(reg_data + stringpos); in BMG160_I2C_bus_write()
337 u8 array[I2C_BUFFER_LEN] = {BMG160_INIT_VALUE}; in BMG160_I2C_bus_read() local
339 array[BMG160_INIT_VALUE] = reg_addr; in BMG160_I2C_bus_read()
351 *(reg_data + stringpos) = array[stringpos]; in BMG160_I2C_bus_read()
366 u8 array[SPI_BUFFER_LEN] = {MASK_DATA1}; in BMG160_SPI_bus_read() local
390 *(reg_data + stringpos) = array[stringpos + BMG160_GEN_READ_WRITE_DATA_LENGTH]; in BMG160_SPI_bus_read()
406 u8 array[SPI_BUFFER_LEN * C_BMG160_TWO_U8X]; in BMG160_SPI_bus_write() local
413 array[stringpos * C_BMG160_TWO_U8X] = (reg_addr++) & MASK_DATA3; in BMG160_SPI_bus_write()
[all …]
/bsp/apollo2/libraries/drivers/hal/
A Dam_hal_queue.h95 #define am_hal_queue_from_array(queue, array) \ argument
96 am_hal_queue_init((queue), (array), sizeof((array)[0]), sizeof(array))
/bsp/qemu-virt64-riscv/applications/test/test_vector/
A Dtest_vector.c30 static char array[ARR_SIZE]; variable
34 memcpy(array, constant, sizeof array); in test_feature()
36 char *dst = array; in test_feature()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/inc/
A Dco_utils.h83 #define ARRAY_LEN(array) (sizeof((array))/sizeof((array)[0])) argument
86 #define ARRAY_NB_COLUMNS(array) (sizeof((array[0]))/sizeof((array)[0][0])) argument
/bsp/nxp/lpc/lpc178x/drivers/
A Dlpc_types.h134 #define NELEMENTS(array) (sizeof (array) / sizeof (array[0])) argument
/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Source/
A Dgd32vf103_crc.c121 uint32_t crc_block_data_calculate(uint32_t array[], uint32_t size) in crc_block_data_calculate() argument
125 CRC_DATA = array[index]; in crc_block_data_calculate()
/bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/
A Dmbr.h53 PARTITION array[MAX_PART_COUNT]; // part info member
89 sunxi_partition array[SUNXI_MBR_MAX_PART_COUNT]; // member
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/elementary/src/
A Dvelm.h78 #define COUNT_OF(array) (sizeof(array) / sizeof(array[0])) argument
/bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/
A Dinter.h28 #define ARRAY_SIZE(array) (sizeof(array)/sizeof(array[0])) argument
/bsp/stm32/stm32h750-artpi/board/port/
A Ddrv_spi_ili9488.c482 rt_uint8_t *array = RT_NULL; in lcd_fill_array() local
485 array = (rt_uint8_t *)rt_malloc(size); in lcd_fill_array()
487 if (!array) { in lcd_fill_array()
496 array[3 * i] = *color_p >> 16; in lcd_fill_array()
497 array[3 * i + 1] = *color_p >> 8; in lcd_fill_array()
498 array[3 * i + 2] = *color_p; in lcd_fill_array()
504 rt_spi_send(spi_dev_lcd, array, size); in lcd_fill_array()
506 rt_free(array); in lcd_fill_array()
/bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/MTP/
A Dusbh_mtp_ptp.c132 uint32_t PTP_GetArray16(uint16_t *array, uint8_t *data, uint32_t offset) in PTP_GetArray16() argument
139 array[idx] = (uint16_t)data[offset + (sizeof(uint16_t) * (idx + 2U))]; in PTP_GetArray16()
153 uint32_t PTP_GetArray32(uint32_t *array, uint8_t *data, uint32_t offset) in PTP_GetArray32() argument
160 array[idx] = PTP_LE32(&data[offset + (sizeof(uint32_t) * (idx + 1U))]); in PTP_GetArray32()
A Dusbh_mtp_ptp.h599 struct array struct
739 uint32_t PTP_GetArray16(uint16_t *array, uint8_t *data, uint32_t offset);
740 uint32_t PTP_GetArray32(uint32_t *array, uint8_t *data, uint32_t offset);
/bsp/samd21/sam_d2x_asflib/common2/services/gfx_mono/tools/
A Dreadme.txt6 Convert an indexed 2 color bitmap to an uint8_t array
/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include/
A Dgd32vf103_crc.h76 uint32_t crc_block_data_calculate(uint32_t array[], uint32_t size);
/bsp/nxp/lpc/lpc55sxx/Libraries/drivers/
A Ddrv_pin.c43 #define __ARRAY_LEN(array) (sizeof(array)/sizeof(array[0])) argument
/bsp/rv32m1_vega/ri5cy/driver/
A Ddrv_gpio.c35 #define __ARRAY_LEN(array) (sizeof(array)/sizeof(array[0])) argument
/bsp/maxim/max32660-evsys/board/linker_scripts/
A Dlink.lds67 /* These array sections are used by __libc_init_array to call static C++ constructors */
/bsp/nxp/imx/imx6sx/cortex-a9/cpu/
A DcortexA9_gcc.S179 mcr p15, 0, r0, c7, c5, 6 @ BPIALL - Invalidate entire branch predictor array
188 …r0, c7, c1, 6 @ BPIALLIS - Invalidate entire branch predictor array Inner Shareable
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-lib/test/
A Dtt-aw-alsa-lib.c784 unsigned long array[3] = {5, 6, 7}; in ctl_add_test() local
789 .count = ARRAY_SIZE(array), in ctl_add_test()
790 .private_data = array, in ctl_add_test()
/bsp/simulator/SDL2/include/
A DSDL_stdinc.h136 #define SDL_arraysize(array) (sizeof(array)/sizeof(array[0])) argument
/bsp/allwinner/libraries/sunxi-hal/hal/test/ce/
A Dtest_ce.h1581 ################################### generate aes test array ###################################
1609 ################################### generate hash test array ###################################
1628 ################################### generate rsa test array ###################################
/bsp/maxim/libraries/MAX32660PeriphDriver/CMSIS/Device/Maxim/MAX32660/Source/GCC/
A Dmax32660.ld73 /* These array sections are used by __libc_init_array to call static C++ constructors */
A Dmax32660_emulator.ld73 /* These array sections are used by __libc_init_array to call static C++ constructors */

Completed in 79 milliseconds

12