parameters: (self, int_type, int_num, int_trigger, partition=None)
return_statement: return [ int_type, int_num, affinity | int_trigger ]
docstring: Interupt cells generation helper:
          Following specifications described in
  
          Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
docstring_summary: Interupt cells generation helper:
          Following specifications described in
docstring_tokens: Interupt cells generation helper : Following specifications described in
function: def interruptCells(self, int_type, int_num, int_trigger, partition=None):
          """
          Interupt cells generation helper:
          Following specifications described in
  
          Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
          """
          assert self._state.interrupt_cells == 3
  
          # Check for affinity in case of PPI. If there is no PPI
          # partitioning, set the affinity to target all CPUs
          # (affinity = 0xf00)
          if partition is None and int_type == ArmPPI._LINUX_ID:
              affinity = 0xf00
          else:
              affinity = 0
  
          return [ int_type, int_num, affinity | int_trigger ]
function_tokens: def interruptCells ( self , int_type , int_num , int_trigger , partition = None ) : assert self . _state . interrupt_cells == 3 # Check for affinity in case of PPI. If there is no PPI # partitioning, set the affinity to target all CPUs # (affinity = 0xf00) if partition is None and int_type == ArmPPI . _LINUX_ID : affinity = 0xf00 else : affinity = 0 return [ int_type , int_num , affinity | int_trigger ]