Searched refs:csumfunc (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/can/
H A Dgw.c112 } csumfunc; member in struct:cf_mod
423 if (gwj->mod.csumfunc.crc8) can_can_gw_rcv()
424 (*gwj->mod.csumfunc.crc8)(cf, &gwj->mod.csum.crc8); can_can_gw_rcv()
426 if (gwj->mod.csumfunc.xor) can_can_gw_rcv()
427 (*gwj->mod.csumfunc.xor)(cf, &gwj->mod.csum.xor); can_can_gw_rcv()
557 if (gwj->mod.csumfunc.crc8) { cgw_put_job()
563 if (gwj->mod.csumfunc.xor) { cgw_put_job()
741 mod->csumfunc.crc8 = cgw_csum_crc8_rel; cgw_parse_attr()
743 mod->csumfunc.crc8 = cgw_csum_crc8_pos; cgw_parse_attr()
745 mod->csumfunc.crc8 = cgw_csum_crc8_neg; cgw_parse_attr()
765 mod->csumfunc.xor = cgw_csum_xor_rel; cgw_parse_attr()
767 mod->csumfunc.xor = cgw_csum_xor_pos; cgw_parse_attr()
769 mod->csumfunc.xor = cgw_csum_xor_neg; cgw_parse_attr()

Completed in 97 milliseconds