Home
last modified time | relevance | path

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

/openbmc/linux/drivers/base/regmap/
H A Dregmap-spi-avmm.c250 unsigned int aligned_phy_len, move_size; in br_pkt_phy_tx_prepare() local
315 aligned_phy_len = ALIGN(br->phy_len, br->word_len); in br_pkt_phy_tx_prepare()
316 if (aligned_phy_len > sizeof(br->phy_buf)) in br_pkt_phy_tx_prepare()
319 if (aligned_phy_len == br->phy_len) in br_pkt_phy_tx_prepare()
324 memmove(&br->phy_buf[aligned_phy_len - move_size], pb_eop, move_size); 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()