Lines Matching full:spinlock

177 	spin_lock(&drvdata->spinlock);  in reset_store()
271 spin_unlock(&drvdata->spinlock); in reset_store()
302 spin_lock(&drvdata->spinlock); in mode_store()
439 spin_unlock(&drvdata->spinlock); in mode_store()
468 spin_lock(&drvdata->spinlock); in pe_store()
470 spin_unlock(&drvdata->spinlock); in pe_store()
475 spin_unlock(&drvdata->spinlock); in pe_store()
503 spin_lock(&drvdata->spinlock); in event_store()
524 spin_unlock(&drvdata->spinlock); in event_store()
552 spin_lock(&drvdata->spinlock); in event_instren_store()
580 spin_unlock(&drvdata->spinlock); in event_instren_store()
741 spin_lock(&drvdata->spinlock); in event_vinst_store()
745 spin_unlock(&drvdata->spinlock); in event_vinst_store()
773 spin_lock(&drvdata->spinlock); in s_exlevel_vinst_store()
779 spin_unlock(&drvdata->spinlock); in s_exlevel_vinst_store()
808 spin_lock(&drvdata->spinlock); in ns_exlevel_vinst_store()
814 spin_unlock(&drvdata->spinlock); in ns_exlevel_vinst_store()
845 * Use spinlock to ensure index doesn't change while it gets in addr_idx_store()
846 * dereferenced multiple times within a spinlock block elsewhere. in addr_idx_store()
848 spin_lock(&drvdata->spinlock); in addr_idx_store()
850 spin_unlock(&drvdata->spinlock); in addr_idx_store()
864 spin_lock(&drvdata->spinlock); in addr_instdatatype_show()
872 spin_unlock(&drvdata->spinlock); in addr_instdatatype_show()
890 spin_lock(&drvdata->spinlock); in addr_instdatatype_store()
896 spin_unlock(&drvdata->spinlock); in addr_instdatatype_store()
911 spin_lock(&drvdata->spinlock); in addr_single_show()
914 spin_unlock(&drvdata->spinlock); in addr_single_show()
918 spin_unlock(&drvdata->spinlock); in addr_single_show()
934 spin_lock(&drvdata->spinlock); in addr_single_store()
938 spin_unlock(&drvdata->spinlock); in addr_single_store()
944 spin_unlock(&drvdata->spinlock); in addr_single_store()
958 spin_lock(&drvdata->spinlock); in addr_range_show()
961 spin_unlock(&drvdata->spinlock); in addr_range_show()
968 spin_unlock(&drvdata->spinlock); in addr_range_show()
974 spin_unlock(&drvdata->spinlock); in addr_range_show()
997 spin_lock(&drvdata->spinlock); in addr_range_store()
1000 spin_unlock(&drvdata->spinlock); in addr_range_store()
1008 spin_unlock(&drvdata->spinlock); in addr_range_store()
1025 spin_unlock(&drvdata->spinlock); in addr_range_store()
1039 spin_lock(&drvdata->spinlock); in addr_start_show()
1044 spin_unlock(&drvdata->spinlock); in addr_start_show()
1049 spin_unlock(&drvdata->spinlock); in addr_start_show()
1065 spin_lock(&drvdata->spinlock); in addr_start_store()
1068 spin_unlock(&drvdata->spinlock); in addr_start_store()
1073 spin_unlock(&drvdata->spinlock); in addr_start_store()
1080 spin_unlock(&drvdata->spinlock); in addr_start_store()
1094 spin_lock(&drvdata->spinlock); in addr_stop_show()
1099 spin_unlock(&drvdata->spinlock); in addr_stop_show()
1104 spin_unlock(&drvdata->spinlock); in addr_stop_show()
1120 spin_lock(&drvdata->spinlock); in addr_stop_store()
1123 spin_unlock(&drvdata->spinlock); in addr_stop_store()
1128 spin_unlock(&drvdata->spinlock); in addr_stop_store()
1135 spin_unlock(&drvdata->spinlock); in addr_stop_store()
1149 spin_lock(&drvdata->spinlock); in addr_ctxtype_show()
1156 spin_unlock(&drvdata->spinlock); in addr_ctxtype_show()
1174 spin_lock(&drvdata->spinlock); in addr_ctxtype_store()
1201 spin_unlock(&drvdata->spinlock); in addr_ctxtype_store()
1215 spin_lock(&drvdata->spinlock); in addr_context_show()
1219 spin_unlock(&drvdata->spinlock); in addr_context_show()
1240 spin_lock(&drvdata->spinlock); in addr_context_store()
1245 spin_unlock(&drvdata->spinlock); in addr_context_store()
1259 spin_lock(&drvdata->spinlock); in addr_exlevel_s_ns_show()
1262 spin_unlock(&drvdata->spinlock); in addr_exlevel_s_ns_show()
1281 spin_lock(&drvdata->spinlock); in addr_exlevel_s_ns_store()
1286 spin_unlock(&drvdata->spinlock); in addr_exlevel_s_ns_store()
1309 spin_lock(&drvdata->spinlock); in addr_cmp_view_show()
1324 spin_unlock(&drvdata->spinlock); in addr_cmp_view_show()
1368 spin_lock(&drvdata->spinlock); in vinst_pe_cmp_start_stop_store()
1370 spin_unlock(&drvdata->spinlock); in vinst_pe_cmp_start_stop_store()
1401 * Use spinlock to ensure index doesn't change while it gets in seq_idx_store()
1402 * dereferenced multiple times within a spinlock block elsewhere. in seq_idx_store()
1404 spin_lock(&drvdata->spinlock); in seq_idx_store()
1406 spin_unlock(&drvdata->spinlock); in seq_idx_store()
1450 spin_lock(&drvdata->spinlock); in seq_event_show()
1453 spin_unlock(&drvdata->spinlock); in seq_event_show()
1469 spin_lock(&drvdata->spinlock); in seq_event_store()
1473 spin_unlock(&drvdata->spinlock); in seq_event_store()
1534 * Use spinlock to ensure index doesn't change while it gets in cntr_idx_store()
1535 * dereferenced multiple times within a spinlock block elsewhere. in cntr_idx_store()
1537 spin_lock(&drvdata->spinlock); in cntr_idx_store()
1539 spin_unlock(&drvdata->spinlock); in cntr_idx_store()
1553 spin_lock(&drvdata->spinlock); in cntrldvr_show()
1556 spin_unlock(&drvdata->spinlock); in cntrldvr_show()
1574 spin_lock(&drvdata->spinlock); in cntrldvr_store()
1577 spin_unlock(&drvdata->spinlock); in cntrldvr_store()
1591 spin_lock(&drvdata->spinlock); in cntr_val_show()
1594 spin_unlock(&drvdata->spinlock); in cntr_val_show()
1612 spin_lock(&drvdata->spinlock); in cntr_val_store()
1615 spin_unlock(&drvdata->spinlock); in cntr_val_store()
1629 spin_lock(&drvdata->spinlock); in cntr_ctrl_show()
1632 spin_unlock(&drvdata->spinlock); in cntr_ctrl_show()
1648 spin_lock(&drvdata->spinlock); in cntr_ctrl_store()
1651 spin_unlock(&drvdata->spinlock); in cntr_ctrl_store()
1686 * Use spinlock to ensure index doesn't change while it gets in res_idx_store()
1687 * dereferenced multiple times within a spinlock block elsewhere. in res_idx_store()
1689 spin_lock(&drvdata->spinlock); in res_idx_store()
1691 spin_unlock(&drvdata->spinlock); in res_idx_store()
1705 spin_lock(&drvdata->spinlock); in res_ctrl_show()
1708 spin_unlock(&drvdata->spinlock); in res_ctrl_show()
1724 spin_lock(&drvdata->spinlock); in res_ctrl_store()
1734 spin_unlock(&drvdata->spinlock); in res_ctrl_store()
1763 spin_lock(&drvdata->spinlock); in sshot_idx_store()
1765 spin_unlock(&drvdata->spinlock); in sshot_idx_store()
1778 spin_lock(&drvdata->spinlock); in sshot_ctrl_show()
1780 spin_unlock(&drvdata->spinlock); in sshot_ctrl_show()
1796 spin_lock(&drvdata->spinlock); in sshot_ctrl_store()
1801 spin_unlock(&drvdata->spinlock); in sshot_ctrl_store()
1813 spin_lock(&drvdata->spinlock); in sshot_status_show()
1815 spin_unlock(&drvdata->spinlock); in sshot_status_show()
1828 spin_lock(&drvdata->spinlock); in sshot_pe_ctrl_show()
1830 spin_unlock(&drvdata->spinlock); in sshot_pe_ctrl_show()
1846 spin_lock(&drvdata->spinlock); in sshot_pe_ctrl_store()
1851 spin_unlock(&drvdata->spinlock); in sshot_pe_ctrl_store()
1882 * Use spinlock to ensure index doesn't change while it gets in ctxid_idx_store()
1883 * dereferenced multiple times within a spinlock block elsewhere. in ctxid_idx_store()
1885 spin_lock(&drvdata->spinlock); in ctxid_idx_store()
1887 spin_unlock(&drvdata->spinlock); in ctxid_idx_store()
1908 spin_lock(&drvdata->spinlock); in ctxid_pid_show()
1911 spin_unlock(&drvdata->spinlock); in ctxid_pid_show()
1946 spin_lock(&drvdata->spinlock); in ctxid_pid_store()
1949 spin_unlock(&drvdata->spinlock); in ctxid_pid_store()
1969 spin_lock(&drvdata->spinlock); in ctxid_masks_show()
1972 spin_unlock(&drvdata->spinlock); in ctxid_masks_show()
2005 spin_lock(&drvdata->spinlock); in ctxid_masks_store()
2077 spin_unlock(&drvdata->spinlock); in ctxid_masks_store()
2108 * Use spinlock to ensure index doesn't change while it gets in vmid_idx_store()
2109 * dereferenced multiple times within a spinlock block elsewhere. in vmid_idx_store()
2111 spin_lock(&drvdata->spinlock); in vmid_idx_store()
2113 spin_unlock(&drvdata->spinlock); in vmid_idx_store()
2133 spin_lock(&drvdata->spinlock); in vmid_val_show()
2135 spin_unlock(&drvdata->spinlock); in vmid_val_show()
2163 spin_lock(&drvdata->spinlock); in vmid_val_store()
2165 spin_unlock(&drvdata->spinlock); in vmid_val_store()
2184 spin_lock(&drvdata->spinlock); in vmid_masks_show()
2187 spin_unlock(&drvdata->spinlock); in vmid_masks_show()
2219 spin_lock(&drvdata->spinlock); in vmid_masks_store()
2292 spin_unlock(&drvdata->spinlock); in vmid_masks_store()