Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/cxl/
Dpci.c1040 size_t aligned_length; in cxl_pci_afu_read_err_buffer() local
1051 aligned_length = aligned_end - aligned_start; in cxl_pci_afu_read_err_buffer()
1054 if (aligned_length > ERR_BUFF_MAX_COPY_SIZE) { in cxl_pci_afu_read_err_buffer()
1055 aligned_length = ERR_BUFF_MAX_COPY_SIZE; in cxl_pci_afu_read_err_buffer()
1065 memcpy_fromio(tbuf, ebuf + aligned_start, aligned_length); in cxl_pci_afu_read_err_buffer()
/linux-6.1.9/drivers/i2c/busses/
Di2c-mlxbf.c635 u8 offset, aligned_length; in mlxbf_i2c_smbus_write_data() local
638 aligned_length = round_up(length, 4); in mlxbf_i2c_smbus_write_data()
648 for (offset = 0; offset < aligned_length; offset += sizeof(u32)) { in mlxbf_i2c_smbus_write_data()