Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-hisi-sfc-v3xx.c153 int max_byte_count; in hisi_sfc_v3xx_adjust_op_size() local
157 max_byte_count = host->max_cmd_dword * 4; in hisi_sfc_v3xx_adjust_op_size()
161 else if (op->data.nbytes > max_byte_count) in hisi_sfc_v3xx_adjust_op_size()
162 op->data.nbytes = max_byte_count; in hisi_sfc_v3xx_adjust_op_size()
/openbmc/linux/sound/pci/asihpi/
H A Dhpifunc.c1690 u16 hpi_cobranet_hmi_read(u32 h_control, u32 hmi_address, u32 max_byte_count, in hpi_cobranet_hmi_read() argument
1703 if (max_byte_count > sizeof(hr.bytes)) in hpi_cobranet_hmi_read()
1707 hm.p.byte_count = max_byte_count; in hpi_cobranet_hmi_read()
1719 if (hr.byte_count < max_byte_count) in hpi_cobranet_hmi_read()
1720 max_byte_count = *pbyte_count; in hpi_cobranet_hmi_read()
1722 memcpy(pb_data, hr.bytes, max_byte_count); in hpi_cobranet_hmi_read()
H A Dhpi.h1645 u16 hpi_cobranet_hmi_read(u32 h_control, u32 hmi_address, u32 max_byte_count,