Home
last modified time | relevance | path

Searched refs:BYTE_2 (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_it8xxx2.c22 #define BYTE_2(x) (uint8_t)(((x) >> 16) & 0xFF) macro
249 data->cmdq_data.check_bit_mask |= ((BYTE_2(mem_address)) & 0x03); in spi_it8xxx2_tx()
308 data->cmdq_data.check_bit_mask |= ((BYTE_2(mem_address)) & 0x03); in spi_it8xxx2_tx_rx()
357 sys_write8(BYTE_2(cmd_address), cfg->base + SPI21_CH0_CMD_ADDR_HB2); in spi_it8xxx2_next_xfer()
362 sys_write8(BYTE_2(mem_address), cfg->base + SPI23_CH0_WR_MEM_ADDR_HB2); in spi_it8xxx2_next_xfer()
367 sys_write8(BYTE_2(cmd_address), cfg->base + SPI25_CH1_CMD_ADDR_HB2); in spi_it8xxx2_next_xfer()
372 sys_write8(BYTE_2(mem_address), cfg->base + SPI27_CH1_WR_MEM_ADDR_HB2); in spi_it8xxx2_next_xfer()
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_pd.c602 buf[len++] = BYTE_2(pd->id.vendor_code); in pd_build_reply()
609 buf[len++] = BYTE_2(pd->id.serial_number); in pd_build_reply()
613 buf[len++] = BYTE_2(pd->id.firmware_version); in pd_build_reply()
716 buf[len++] = BYTE_2(cmd->comset.baud_rate); in pd_build_reply()
Dosdp_common.h29 #define BYTE_2(x) (uint8_t)(((x) >> 16) & 0xFF) macro
Dosdp_sc.c258 pd->sc.pd_client_uid[6] = BYTE_2(pd->id.serial_number); in osdp_sc_setup()
Dosdp_cp.c263 buf[len++] = BYTE_2(cmd->comset.baud_rate); in cp_build_command()