Searched refs:shi_reg (Results 1 – 2 of 2) sorted by relevance
32 #define HAL_INSTANCE(dev) (struct shi_reg *)(((const struct shi_npcx_config *)(dev)->config)->base)187 static uint32_t shi_npcx_read_buf_pointer(struct shi_reg *const inst) in shi_npcx_read_buf_pointer()203 static uint32_t shi_npcx_write_buf_pointer(struct shi_reg *const inst) in shi_npcx_write_buf_pointer()225 static uint32_t shi_npcx_valid_obuf_offset(struct shi_reg *const inst) in shi_npcx_valid_obuf_offset()264 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_read_inbuf_wait()285 static void shi_npcx_fill_out_status(struct shi_reg *const inst, uint8_t status) in shi_npcx_fill_out_status()336 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_bad_received_data()363 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_write_first_pkg_outbuf()407 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_handle_host_package()507 static void shi_npcx_sec_ibf_int_enable(struct shi_reg *const inst, int enable) in shi_npcx_sec_ibf_int_enable()[all …]
1683 struct shi_reg { struct