Searched refs:BYTE_2 (Results 1 – 5 of 5) sorted by relevance
22 #define BYTE_2(x) (uint8_t)(((x) >> 16) & 0xFF) macro249 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()
602 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()
29 #define BYTE_2(x) (uint8_t)(((x) >> 16) & 0xFF) macro
258 pd->sc.pd_client_uid[6] = BYTE_2(pd->id.serial_number); in osdp_sc_setup()
263 buf[len++] = BYTE_2(cmd->comset.baud_rate); in cp_build_command()