Home
last modified time | relevance | path

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

/linux/drivers/base/regmap/
H A Dregmap-spi-avmm.c149 * @phy_len: length of valid data in phy_buf.
162 unsigned int phy_len; member
227 * layer data length in br->phy_len.
309 br->phy_len = pb - br->phy_buf; in br_pkt_phy_tx_prepare()
315 aligned_phy_len = ALIGN(br->phy_len, br->word_len); in br_pkt_phy_tx_prepare()
319 if (aligned_phy_len == br->phy_len) in br_pkt_phy_tx_prepare()
327 memset(pb_eop, PHY_IDLE, aligned_phy_len - br->phy_len); in br_pkt_phy_tx_prepare()
330 br->phy_len = aligned_phy_len; in br_pkt_phy_tx_prepare()
343 br->swap_words(br->phy_buf, br->phy_len); in br_do_tx()
346 return spi_write(br->spi, br->phy_buf, br->phy_len); in br_do_tx()
[all...]