Lines Matching refs:if_cs_write16
129 static inline void if_cs_write16(struct if_cs_card *card, uint reg, u16 val) in if_cs_write16() function
326 if_cs_write16(card, IF_CS_HOST_INT_MASK, 0); in if_cs_enable_ints()
331 if_cs_write16(card, IF_CS_HOST_INT_MASK, IF_CS_BIT_MASK); in if_cs_disable_ints()
357 if_cs_write16(card, IF_CS_CMD_LEN, nb); in if_cs_send_cmd()
366 if_cs_write16(card, IF_CS_HOST_STATUS, IF_CS_BIT_COMMAND); in if_cs_send_cmd()
370 if_cs_write16(card, IF_CS_HOST_INT_CAUSE, IF_CS_BIT_COMMAND); in if_cs_send_cmd()
391 if_cs_write16(card, IF_CS_WRITE_LEN, nb); in if_cs_send_data()
398 if_cs_write16(card, IF_CS_HOST_STATUS, IF_CS_BIT_TX); in if_cs_send_data()
399 if_cs_write16(card, IF_CS_HOST_INT_CAUSE, IF_CS_BIT_TX); in if_cs_send_data()
475 if_cs_write16(priv->card, IF_CS_HOST_STATUS, IF_CS_BIT_RX); in if_cs_receive_data()
476 if_cs_write16(priv->card, IF_CS_HOST_INT_CAUSE, IF_CS_BIT_RX); in if_cs_receive_data()
536 if_cs_write16(priv->card, IF_CS_HOST_INT_CAUSE, in if_cs_interrupt()
542 if_cs_write16(card, IF_CS_CARD_INT_CAUSE, cause & IF_CS_BIT_MASK); in if_cs_interrupt()
604 if_cs_write16(card, IF_CS_CMD_LEN, count); in if_cs_prog_helper()
622 if_cs_write16(card, IF_CS_HOST_INT_CAUSE, IF_CS_BIT_COMMAND); in if_cs_prog_helper()
682 if_cs_write16(card, IF_CS_CMD_LEN, len); in if_cs_prog_real()
688 if_cs_write16(card, IF_CS_HOST_INT_CAUSE, IF_CS_BIT_COMMAND); in if_cs_prog_real()
736 if_cs_write16(card, IF_CS_CARD_INT_CAUSE, IF_CS_BIT_MASK); in if_cs_prog_firmware()