Searched refs:MCTP_PACKET_SIZE (Results 1 – 9 of 9) sorted by relevance
484 astlpc->proto->packet_size(MCTP_PACKET_SIZE(MCTP_BTU))) { in mctp_astlpc_buffer_validate()489 astlpc->proto->packet_size(MCTP_PACKET_SIZE(MCTP_BTU)), in mctp_astlpc_buffer_validate()550 sz = astlpc->proto->packet_size(MCTP_PACKET_SIZE(sz)); in mctp_astlpc_init_bmc()556 rpkt = astlpc->proto->packet_size(MCTP_PACKET_SIZE(rmtu)); in mctp_astlpc_init_bmc()664 sz = astlpc->proto->packet_size(MCTP_PACKET_SIZE(rmtu)); in mctp_astlpc_negotiate_layout_host()887 rpkt = astlpc->proto->packet_size(MCTP_PACKET_SIZE(rmtu)); in mctp_astlpc_calculate_mtu()917 sz = astlpc->proto->packet_size(MCTP_PACKET_SIZE(mtu)); in mctp_astlpc_negotiate_layout_bmc()944 astlpc->binding.pkt_size = MCTP_PACKET_SIZE(mtu); in mctp_astlpc_negotiate_layout_bmc()1270 MCTP_PACKET_SIZE(mtu > MCTP_BTU ? mtu : MCTP_BTU); in __mctp_astlpc_init()
47 #define MCTP_PACKET_SIZE(unit) ((unit) + sizeof(struct mctp_hdr)) macro
403 serial->binding.pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in mctp_serial_init()
739 if (binding->pkt_size < MCTP_PACKET_SIZE(MCTP_BTU)) { in mctp_binding_set_tx_enabled()
35 test->binding.pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in mctp_binding_test_init()
66 test_binding->pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in setup_test_binding()
75 binding->binding.pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in mctp_binding_bridge_init()
92 rx_pkt = __mctp_alloc(sizeof(*rx_pkt) + MCTP_PACKET_SIZE(alloc_size)); in receive_ptkbuf()96 rx_pkt->size = MCTP_PACKET_SIZE(len); in receive_ptkbuf()98 rx_pkt->end = MCTP_PACKET_SIZE(len); in receive_ptkbuf()
731 #define BUFFER_MIN (MCTP_PACKET_SIZE(MCTP_BTU) + 4 + 4)1062 astlpc_layout_ctx.proto->packet_size(MCTP_PACKET_SIZE(hmtu))); in astlpc_test_negotiate_mtu_low_high()1085 astlpc_layout_ctx.proto->packet_size(MCTP_PACKET_SIZE(bmtu))); in astlpc_test_negotiate_mtu_low_high()