host-drivers/base-driver/vca/plx87xx/plx_hw.c
u32 plx_get_cpu_num(struct plx_device *xdev)
{
	u32 nums = 0;
	if (xdev->card_type & VCA_VV ) {
		nums = PLX_VV_CPU_NUMS;
	} else if (xdev->card_type & VCA_MV ) {
		nums = PLX_MV_CPU_NUMS;
	} else {
		dev_err(&xdev->pdev->dev, "Unknown Card %d\n", xdev->card_id);
	}
	return nums;
}
/**
 * plx_get_cpu_num() - return number of cpu
 * @xdev: pointer to plx_device instance
 * RETURNS: number of CPUs available on card
 */
return number of cpu
@xdev: pointer to plx_device instance
RETURNS: number of CPUs available on card
return number of cpu @xdev : pointer to plx_device instance RETURNS : number of CPUs available on card
u32 plx_get_cpu_num(struct plx_device *xdev)
{
	u32 nums = 0;
	if (xdev->card_type & VCA_VV ) {
		nums = PLX_VV_CPU_NUMS;
	} else if (xdev->card_type & VCA_MV ) {
		nums = PLX_MV_CPU_NUMS;
	} else {
		dev_err(&xdev->pdev->dev, "Unknown Card %d\n", xdev->card_id);
	}
	return nums;
}
u32 plx_get_cpu_num ( struct plx_device * xdev ) { u32 nums = 0 ; if ( xdev -> card_type & VCA_VV ) { nums = PLX_VV_CPU_NUMS ; } else if ( xdev -> card_type & VCA_MV ) { nums = PLX_MV_CPU_NUMS ; } else { dev_err ( & xdev -> pdev -> dev , " \n " , xdev -> card_id ) ; } return nums ; }
plx_get_cpu_num() - return number of cpu
 @xdev: pointer to plx_device instance
 RETURNS: number of CPUs available on card
plx_get_cpu_num () - return number of cpu @xdev : pointer to plx_device instance RETURNS : number of CPUs available on card