Lines Matching refs:byte_count
1663 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count, in hpi_cobranet_hmi_write() argument
1676 if (byte_count > sizeof(hm.bytes)) in hpi_cobranet_hmi_write()
1680 hm.p.byte_count = byte_count; in hpi_cobranet_hmi_write()
1682 memcpy(hm.bytes, pb_data, byte_count); in hpi_cobranet_hmi_write()
1683 hm.h.size = (u16)(sizeof(hm.h) + sizeof(hm.p) + byte_count); in hpi_cobranet_hmi_write()
1706 hm.p.byte_count = max_byte_count; in hpi_cobranet_hmi_read()
1712 if (hr.byte_count > sizeof(hr.bytes)) in hpi_cobranet_hmi_read()
1716 *pbyte_count = hr.byte_count; in hpi_cobranet_hmi_read()
1718 if (hr.byte_count < max_byte_count) in hpi_cobranet_hmi_read()
1755 u32 byte_count; in hpi_cobranet_get_ip_address() local
1760 HPI_COBRANET_HMI_cobra_ip_mon_currentIP, 4, &byte_count, in hpi_cobranet_get_ip_address()
1792 u32 byte_count; in hpi_cobranet_get_static_ip_address() local
1796 HPI_COBRANET_HMI_cobra_ip_mon_staticIP, 4, &byte_count, in hpi_cobranet_get_static_ip_address()
1829 u32 byte_count; in hpi_cobranet_get_macaddress() local
1834 HPI_COBRANET_HMI_cobra_if_phy_address, 4, &byte_count, in hpi_cobranet_get_macaddress()
1845 &byte_count, (u8 *)&mac); in hpi_cobranet_get_macaddress()