Lines Matching refs:byte_count
1664 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count, in hpi_cobranet_hmi_write() argument
1677 if (byte_count > sizeof(hm.bytes)) in hpi_cobranet_hmi_write()
1681 hm.p.byte_count = byte_count; in hpi_cobranet_hmi_write()
1683 memcpy(hm.bytes, pb_data, byte_count); in hpi_cobranet_hmi_write()
1684 hm.h.size = (u16)(sizeof(hm.h) + sizeof(hm.p) + byte_count); in hpi_cobranet_hmi_write()
1707 hm.p.byte_count = max_byte_count; in hpi_cobranet_hmi_read()
1713 if (hr.byte_count > sizeof(hr.bytes)) in hpi_cobranet_hmi_read()
1717 *pbyte_count = hr.byte_count; in hpi_cobranet_hmi_read()
1719 if (hr.byte_count < max_byte_count) in hpi_cobranet_hmi_read()
1756 u32 byte_count; in hpi_cobranet_get_ip_address() local
1761 HPI_COBRANET_HMI_cobra_ip_mon_currentIP, 4, &byte_count, in hpi_cobranet_get_ip_address()
1793 u32 byte_count; in hpi_cobranet_get_static_ip_address() local
1797 HPI_COBRANET_HMI_cobra_ip_mon_staticIP, 4, &byte_count, in hpi_cobranet_get_static_ip_address()
1830 u32 byte_count; in hpi_cobranet_get_macaddress() local
1835 HPI_COBRANET_HMI_cobra_if_phy_address, 4, &byte_count, in hpi_cobranet_get_macaddress()
1846 &byte_count, (u8 *)&mac); in hpi_cobranet_get_macaddress()