• Home
  • Raw
  • Download

Lines Matching +full:0 +full:xff0000ff

17 #define	SIC_IRQ_MODE_ALL		0
41 u64 req = ZPCI_CREATE_REQ(zdev->fh, 0, ZPCI_MOD_FC_REG_INT); in zpci_set_airq()
42 struct zpci_fib fib = {0}; in zpci_set_airq()
49 fib.fmt0.aibvo = 0; /* each zdev has its own interrupt vector */ in zpci_set_airq()
53 return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; in zpci_set_airq()
59 u64 req = ZPCI_CREATE_REQ(zdev->fh, 0, ZPCI_MOD_FC_DEREG_INT); in zpci_clear_airq()
60 struct zpci_fib fib = {0}; in zpci_clear_airq()
66 cc = 0; in zpci_clear_airq()
68 return cc ? -EIO : 0; in zpci_clear_airq()
74 u64 req = ZPCI_CREATE_REQ(zdev->fh, 0, ZPCI_MOD_FC_REG_INT_D); in zpci_set_directed_irq()
75 struct zpci_fib fib = {0}; in zpci_set_directed_irq()
82 return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; in zpci_set_directed_irq()
88 u64 req = ZPCI_CREATE_REQ(zdev->fh, 0, ZPCI_MOD_FC_DEREG_INT_D); in zpci_clear_directed_irq()
89 struct zpci_fib fib = {0}; in zpci_clear_directed_irq()
96 cc = 0; in zpci_clear_directed_irq()
98 return cc ? -EIO : 0; in zpci_clear_directed_irq()
108 msg.address_lo &= 0xff0000ff; in zpci_set_irq_affinity()
125 int irqs_on = 0; in zpci_handle_cpu_local_irq()
127 for (bit = 0;;) { in zpci_handle_cpu_local_irq()
137 bit = 0; in zpci_handle_cpu_local_irq()
164 int irqs_on = 0; in zpci_handle_fallback_irq()
166 for (cpu = 0;;) { in zpci_handle_fallback_irq()
175 cpu = 0; in zpci_handle_fallback_irq()
184 cpu_data->csd.flags = 0; in zpci_handle_fallback_irq()
204 int irqs_on = 0; in zpci_floating_irq_handler()
207 for (si = 0;;) { in zpci_floating_irq_handler()
217 si = 0; in zpci_floating_irq_handler()
223 for (ai = 0;;) { in zpci_floating_irq_handler()
253 bit = airq_iv_alloc(zpci_ibv[0], msi_vecs); in arch_setup_msi_irqs()
271 bit = 0; in arch_setup_msi_irqs()
280 irq = __irq_alloc_descs(-1, 0, 1, 0, THIS_MODULE, in arch_setup_msi_irqs()
283 if (irq < 0) in arch_setup_msi_irqs()
295 cpu = 0; in arch_setup_msi_irqs()
298 msg.address_lo = zdev->msi_addr & 0xff0000ff; in arch_setup_msi_irqs()
305 msg.address_lo = zdev->msi_addr & 0xffffffff; in arch_setup_msi_irqs()
323 return (msi_vecs == nvec) ? 0 : msi_vecs; in arch_setup_msi_irqs()
350 msi->msg.address_lo = 0; in arch_teardown_msi_irqs()
351 msi->msg.address_hi = 0; in arch_teardown_msi_irqs()
352 msi->msg.data = 0; in arch_teardown_msi_irqs()
353 msi->irq = 0; in arch_teardown_msi_irqs()
367 airq_iv_free(zpci_ibv[0], zdev->msi_first_bit, zdev->msi_nr_irqs); in arch_teardown_msi_irqs()
377 union zpci_sic_iib iib = {{0}}; in cpu_enable_directed_irq()
381 __zpci_set_irq_ctrl(SIC_IRQ_MODE_SET_CPU, 0, &iib); in cpu_enable_directed_irq()
387 union zpci_sic_iib iib = {{0}}; in zpci_directed_irq_init()
390 zpci_sbv = airq_iv_create(num_possible_cpus(), 0); in zpci_directed_irq_init()
397 __zpci_set_irq_ctrl(SIC_IRQ_MODE_DIRECT, 0, &iib); in zpci_directed_irq_init()
412 (!cpu ? AIRQ_IV_ALLOC : 0)); in zpci_directed_irq_init()
420 return 0; in zpci_directed_irq_init()
433 return 0; in zpci_floating_irq_init()
475 return 0; in zpci_irq_init()