Lines Matching refs:header_size
469 size_t header_size = ADIN2111_WRITE_HEADER_SIZE; in eth_adin2111_reg_write_generic() local
480 buf[2] = crc8_ccitt(0, buf, header_size); in eth_adin2111_reg_write_generic()
481 ++header_size; in eth_adin2111_reg_write_generic()
485 *(uint32_t *)(buf + header_size) = htonl(val); in eth_adin2111_reg_write_generic()
487 buf[header_size + data_size] = crc8_ccitt(0, &buf[header_size], data_size); in eth_adin2111_reg_write_generic()
493 .len = header_size + data_size in eth_adin2111_reg_write_generic()
809 size_t header_size = ADIN2111_WRITE_HEADER_SIZE; in adin2111_port_send() local
888 ctx->buf[2] = crc8_ccitt(0, ctx->buf, header_size); in adin2111_port_send()
889 ++header_size; in adin2111_port_send()
893 *(uint16_t *)(ctx->buf + header_size) = htons(cfg->port_idx); in adin2111_port_send()
897 (ctx->buf + header_size + ADIN2111_FRAME_HEADER_SIZE), in adin2111_port_send()
917 .len = header_size + burst_size in adin2111_port_send()