Lines Matching refs:p

215 	u8 *p = buf + SJA1105_SIZE_VL_LOOKUP_ENTRY;  in sja1105pqrs_vl_lookup_cmd_packing()  local
218 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_vl_lookup_cmd_packing()
219 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_vl_lookup_cmd_packing()
220 sja1105_packing(p, &cmd->rdwrset, 29, 29, size, op); in sja1105pqrs_vl_lookup_cmd_packing()
221 sja1105_packing(p, &cmd->index, 9, 0, size, op); in sja1105pqrs_vl_lookup_cmd_packing()
228 u8 *p = buf + SJA1105PQRS_SIZE_L2_LOOKUP_ENTRY; in sja1110_vl_lookup_cmd_packing() local
231 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_vl_lookup_cmd_packing()
232 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_vl_lookup_cmd_packing()
233 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_vl_lookup_cmd_packing()
234 sja1105_packing(p, &cmd->index, 11, 0, size, op); in sja1110_vl_lookup_cmd_packing()
252 u8 *p = buf + SJA1105_SIZE_VL_LOOKUP_ENTRY; in sja1110_vl_policing_cmd_packing() local
255 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_vl_policing_cmd_packing()
256 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_vl_policing_cmd_packing()
257 sja1105_packing(p, &cmd->index, 11, 0, size, op); in sja1110_vl_policing_cmd_packing()
265 u8 *p = buf + entry_size; in sja1105pqrs_common_l2_lookup_cmd_packing() local
268 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing()
269 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing()
270 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing()
271 sja1105_packing(p, &cmd->valident, 27, 27, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing()
306 sja1105_packing(p, &hostcmd, 25, 23, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing()
413 u8 *p = buf + SJA1105ET_SIZE_L2_LOOKUP_ENTRY; in sja1105et_l2_lookup_cmd_packing() local
416 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105et_l2_lookup_cmd_packing()
417 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1105et_l2_lookup_cmd_packing()
418 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1105et_l2_lookup_cmd_packing()
419 sja1105_packing(p, &cmd->valident, 27, 27, size, op); in sja1105et_l2_lookup_cmd_packing()
441 u8 *p = buf + SJA1105ET_SIZE_L2_LOOKUP_ENTRY; in sja1105et_mgmt_route_cmd_packing() local
446 sja1105_pack(p, &mgmtroute, 26, 26, SJA1105_SIZE_DYN_CMD); in sja1105et_mgmt_route_cmd_packing()
473 u8 *p = buf + SJA1105PQRS_SIZE_L2_LOOKUP_ENTRY; in sja1105pqrs_mgmt_route_cmd_packing() local
478 sja1105_pack(p, &mgmtroute, 26, 26, SJA1105_SIZE_DYN_CMD); in sja1105pqrs_mgmt_route_cmd_packing()
507 u8 *p = buf + SJA1105_SIZE_VLAN_LOOKUP_ENTRY + 4; in sja1105_vlan_lookup_cmd_packing() local
510 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105_vlan_lookup_cmd_packing()
511 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1105_vlan_lookup_cmd_packing()
512 sja1105_packing(p, &cmd->valident, 27, 27, size, op); in sja1105_vlan_lookup_cmd_packing()
525 u8 *p = buf + SJA1110_SIZE_VLAN_LOOKUP_ENTRY; in sja1110_vlan_lookup_cmd_packing() local
529 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_vlan_lookup_cmd_packing()
530 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_vlan_lookup_cmd_packing()
531 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_vlan_lookup_cmd_packing()
557 u8 *p = buf + SJA1105_SIZE_L2_FORWARDING_ENTRY; in sja1105_l2_forwarding_cmd_packing() local
560 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105_l2_forwarding_cmd_packing()
561 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105_l2_forwarding_cmd_packing()
562 sja1105_packing(p, &cmd->rdwrset, 29, 29, size, op); in sja1105_l2_forwarding_cmd_packing()
563 sja1105_packing(p, &cmd->index, 4, 0, size, op); in sja1105_l2_forwarding_cmd_packing()
570 u8 *p = buf + SJA1105_SIZE_L2_FORWARDING_ENTRY; in sja1110_l2_forwarding_cmd_packing() local
573 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_l2_forwarding_cmd_packing()
574 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_l2_forwarding_cmd_packing()
575 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_l2_forwarding_cmd_packing()
576 sja1105_packing(p, &cmd->index, 4, 0, size, op); in sja1110_l2_forwarding_cmd_packing()
625 u8 *p = buf + SJA1105PQRS_SIZE_MAC_CONFIG_ENTRY; in sja1105pqrs_mac_config_cmd_packing() local
627 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_mac_config_cmd_packing()
628 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_mac_config_cmd_packing()
629 sja1105_packing(p, &cmd->rdwrset, 29, 29, size, op); in sja1105pqrs_mac_config_cmd_packing()
630 sja1105_packing(p, &cmd->index, 2, 0, size, op); in sja1105pqrs_mac_config_cmd_packing()
637 u8 *p = buf + SJA1105PQRS_SIZE_MAC_CONFIG_ENTRY; in sja1110_mac_config_cmd_packing() local
640 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_mac_config_cmd_packing()
641 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_mac_config_cmd_packing()
642 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_mac_config_cmd_packing()
643 sja1105_packing(p, &cmd->index, 3, 0, size, op); in sja1110_mac_config_cmd_packing()
671 u8 *p = buf + SJA1105PQRS_SIZE_L2_LOOKUP_PARAMS_ENTRY; in sja1105pqrs_l2_lookup_params_cmd_packing() local
674 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_l2_lookup_params_cmd_packing()
675 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1105pqrs_l2_lookup_params_cmd_packing()
682 u8 *p = buf + SJA1110_SIZE_L2_LOOKUP_PARAMS_ENTRY; in sja1110_l2_lookup_params_cmd_packing() local
685 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_l2_lookup_params_cmd_packing()
686 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_l2_lookup_params_cmd_packing()
687 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_l2_lookup_params_cmd_packing()
716 u8 *p = buf + SJA1105PQRS_SIZE_GENERAL_PARAMS_ENTRY; in sja1105pqrs_general_params_cmd_packing() local
719 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_general_params_cmd_packing()
720 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_general_params_cmd_packing()
721 sja1105_packing(p, &cmd->rdwrset, 28, 28, size, op); in sja1105pqrs_general_params_cmd_packing()
728 u8 *p = buf + SJA1110_SIZE_GENERAL_PARAMS_ENTRY; in sja1110_general_params_cmd_packing() local
731 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_general_params_cmd_packing()
732 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_general_params_cmd_packing()
733 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_general_params_cmd_packing()
740 u8 *p = buf + SJA1105PQRS_SIZE_AVB_PARAMS_ENTRY; in sja1105pqrs_avb_params_cmd_packing() local
743 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_avb_params_cmd_packing()
744 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_avb_params_cmd_packing()
745 sja1105_packing(p, &cmd->rdwrset, 29, 29, size, op); in sja1105pqrs_avb_params_cmd_packing()
752 u8 *p = buf + SJA1105_SIZE_RETAGGING_ENTRY; in sja1105_retagging_cmd_packing() local
755 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105_retagging_cmd_packing()
756 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105_retagging_cmd_packing()
757 sja1105_packing(p, &cmd->valident, 29, 29, size, op); in sja1105_retagging_cmd_packing()
758 sja1105_packing(p, &cmd->rdwrset, 28, 28, size, op); in sja1105_retagging_cmd_packing()
759 sja1105_packing(p, &cmd->index, 5, 0, size, op); in sja1105_retagging_cmd_packing()
766 u8 *p = buf + SJA1105_SIZE_RETAGGING_ENTRY; in sja1110_retagging_cmd_packing() local
769 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_retagging_cmd_packing()
770 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_retagging_cmd_packing()
771 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_retagging_cmd_packing()
772 sja1105_packing(p, &cmd->valident, 28, 28, size, op); in sja1110_retagging_cmd_packing()
773 sja1105_packing(p, &cmd->index, 4, 0, size, op); in sja1110_retagging_cmd_packing()
779 u8 *p = buf + SJA1105ET_SIZE_CBS_ENTRY; in sja1105et_cbs_cmd_packing() local
782 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105et_cbs_cmd_packing()
783 sja1105_packing(p, &cmd->index, 19, 16, size, op); in sja1105et_cbs_cmd_packing()
792 u32 *p = buf; in sja1105et_cbs_entry_packing() local
796 sja1105_packing(p + 3, &entry->credit_lo, 31, 0, size, op); in sja1105et_cbs_entry_packing()
797 sja1105_packing(p + 2, &entry->credit_hi, 31, 0, size, op); in sja1105et_cbs_entry_packing()
798 sja1105_packing(p + 1, &entry->send_slope, 31, 0, size, op); in sja1105et_cbs_entry_packing()
799 sja1105_packing(p + 0, &entry->idle_slope, 31, 0, size, op); in sja1105et_cbs_entry_packing()
806 u8 *p = buf + SJA1105PQRS_SIZE_CBS_ENTRY; in sja1105pqrs_cbs_cmd_packing() local
809 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_cbs_cmd_packing()
810 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1105pqrs_cbs_cmd_packing()
811 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1105pqrs_cbs_cmd_packing()
812 sja1105_packing(p, &cmd->index, 3, 0, size, op); in sja1105pqrs_cbs_cmd_packing()
818 u8 *p = buf + SJA1105PQRS_SIZE_CBS_ENTRY; in sja1110_cbs_cmd_packing() local
821 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_cbs_cmd_packing()
822 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_cbs_cmd_packing()
823 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_cbs_cmd_packing()
824 sja1105_packing(p, &cmd->index, 7, 0, size, op); in sja1110_cbs_cmd_packing()
866 u8 *p = buf + SJA1105_SIZE_L2_POLICING_ENTRY; in sja1110_l2_policing_cmd_packing() local
869 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1110_l2_policing_cmd_packing()
870 sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); in sja1110_l2_policing_cmd_packing()
871 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_l2_policing_cmd_packing()
872 sja1105_packing(p, &cmd->index, 6, 0, size, op); in sja1110_l2_policing_cmd_packing()