Home
last modified time | relevance | path

Searched refs:msic (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/platforms/cell/
H A Daxon_msi.c79 void axon_msi_debug_setup(struct device_node *dn, struct axon_msic *msic);
82 struct axon_msic *msic) { } in axon_msi_debug_setup() argument
86 static void msic_dcr_write(struct axon_msic *msic, unsigned int dcr_n, u32 val) in msic_dcr_write() argument
90 dcr_write(msic->dcr_host, dcr_n, val); in msic_dcr_write()
96 struct axon_msic *msic = irq_desc_get_handler_data(desc); in axon_msi_cascade() local
101 write_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG); in axon_msi_cascade()
107 while (msic->read_offset != write_offset && retry < 100) { in axon_msi_cascade()
108 idx = msic->read_offset / sizeof(__le32); in axon_msi_cascade()
109 msi = le32_to_cpu(msic->fifo_virt[idx]); in axon_msi_cascade()
113 write_offset, msic->read_offset, msi); in axon_msi_cascade()
[all …]
/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_port.c218 #define misc_to_cc(msic) !!(misc & CC_ORIENTATION) ? "cc1" : "cc2" argument
219 #define misc_to_vconn(msic) !!(misc & CC_ORIENTATION) ? "cc2" : "cc1" argument