Lines Matching defs:phy_buf
148 * @phy_len: length of valid data in phy_buf.
150 * @phy_buf: the bridge buffer for physical layer data.
164 char phy_buf[PHY_BUF_SIZE];
232 * them in br->phy_buf. Pad the phy_buf aligned with SPI's BPW. Store valid phy
235 * phy_buf len should be aligned with SPI's BPW. Spare bytes should be padded
261 pb = br->phy_buf;
262 pb_limit = pb + ARRAY_SIZE(br->phy_buf);
315 br->phy_len = pb - br->phy_buf;
322 if (aligned_phy_len > sizeof(br->phy_buf))
330 memmove(&br->phy_buf[aligned_phy_len - move_size], pb_eop, move_size);
349 br->swap_words(br->phy_buf, br->phy_len);
351 /* send all data in phy_buf */
352 return spi_write(br->spi, br->phy_buf, br->phy_len);
375 pb = br->phy_buf;