Home
last modified time | relevance | path

Searched refs:addr_bits (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.4.0/components/driver/test/
Dtest_spi_master.c831 int addr_bits = in test_cmd_addr() local
838 int round_up = (cmd_bits + addr_bits + 7) / 8 * 8; in test_cmd_addr()
839 addr_bits = round_up - cmd_bits; in test_cmd_addr()
848 .address_bits = addr_bits, in test_cmd_addr()
852 ESP_LOGI(MASTER_TAG, "cmd_bits: %d, addr_bits: %d", cmd_bits, addr_bits); in test_cmd_addr()
863 TEST_ASSERT_EQUAL(rcv_data->len, cmd_bits + addr_bits); in test_cmd_addr()
867 uint64_t addr_expected = trans.base.addr & ((1ULL << addr_bits) - 1); in test_cmd_addr()
881 addr_got = addr_got >> (64 - addr_bits); in test_cmd_addr()
896 addr_got = addr_got >> (64 - addr_bits); in test_cmd_addr()
902 if (addr_bits > 0) { in test_cmd_addr()
/hal_espressif-3.4.0/components/hal/include/hal/
Dspi_hal.h97 int addr_bits; ///< Length (in bits) of the address phase member
/hal_espressif-3.4.0/components/hal/
Dspi_hal_iram.c119 int addrlen = trans->addr_bits; in spi_hal_setup_trans()
/hal_espressif-3.4.0/components/driver/
Dspi_master.c551 hal_trans.addr_bits = ((spi_transaction_ext_t *)trans)->address_bits; in spi_new_trans()
553 hal_trans.addr_bits = dev->cfg.address_bits; in spi_new_trans()