Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hid/
Dhid-cp2112.c507 u8 *addr, int addr_length, in cp2112_i2c_write_read_req() argument
513 addr_length > sizeof(report->target_address)) in cp2112_i2c_write_read_req()
519 report->target_address_length = addr_length; in cp2112_i2c_write_read_req()
520 memcpy(report->target_address, addr, addr_length); in cp2112_i2c_write_read_req()
521 return addr_length + 5; in cp2112_i2c_write_read_req()
/Linux-v4.19/tools/hv/
Dhv_kvp_daemon.c770 int addr_length; in kvp_process_ip_address() local
777 addr_length = INET_ADDRSTRLEN; in kvp_process_ip_address()
781 addr_length = INET6_ADDRSTRLEN; in kvp_process_ip_address()
784 if ((length - *offset) < addr_length + 2) in kvp_process_ip_address()