Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 25 of 41) sorted by relevance

12

/drivers/watchdog/
Dit87_wdt.c137 static DEFINE_SPINLOCK(spinlock);
229 spin_lock_irqsave(&spinlock, flags); in wdt_start()
245 spin_unlock_irqrestore(&spinlock, flags); in wdt_start()
252 spin_lock_irqsave(&spinlock, flags); in wdt_stop()
262 spin_unlock_irqrestore(&spinlock, flags); in wdt_stop()
284 spin_lock_irqsave(&spinlock, flags); in wdt_set_timeout()
294 spin_unlock_irqrestore(&spinlock, flags); in wdt_set_timeout()
317 spin_lock_irqsave(&spinlock, flags); in wdt_get_status()
327 spin_unlock_irqrestore(&spinlock, flags); in wdt_get_status()
536 spin_lock_irqsave(&spinlock, flags); in it87_wdt_init()
[all …]
Dwdt977.c63 static DEFINE_SPINLOCK(spinlock);
85 spin_lock_irqsave(&spinlock, flags); in wdt977_start()
121 spin_unlock_irqrestore(&spinlock, flags); in wdt977_start()
134 spin_lock_irqsave(&spinlock, flags); in wdt977_stop()
166 spin_unlock_irqrestore(&spinlock, flags); in wdt977_stop()
180 spin_lock_irqsave(&spinlock, flags); in wdt977_keepalive()
195 spin_unlock_irqrestore(&spinlock, flags); in wdt977_keepalive()
238 spin_lock_irqsave(&spinlock, flags); in wdt977_get_status()
253 spin_unlock_irqrestore(&spinlock, flags); in wdt977_get_status()
Dw83977f_wdt.c53 static DEFINE_SPINLOCK(spinlock);
76 spin_lock_irqsave(&spinlock, flags); in wdt_start()
132 spin_unlock_irqrestore(&spinlock, flags); in wdt_start()
147 spin_lock_irqsave(&spinlock, flags); in wdt_stop()
186 spin_unlock_irqrestore(&spinlock, flags); in wdt_stop()
202 spin_lock_irqsave(&spinlock, flags); in wdt_keepalive()
217 spin_unlock_irqrestore(&spinlock, flags); in wdt_keepalive()
263 spin_lock_irqsave(&spinlock, flags); in wdt_get_status()
278 spin_unlock_irqrestore(&spinlock, flags); in wdt_get_status()
/drivers/gpu/drm/
Ddrm_lock.c75 spin_lock_bh(&master->lock.spinlock); in drm_lock()
77 spin_unlock_bh(&master->lock.spinlock); in drm_lock()
101 spin_lock_bh(&master->lock.spinlock); in drm_lock()
103 spin_unlock_bh(&master->lock.spinlock); in drm_lock()
200 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()
212 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take()
275 spin_lock_bh(&lock_data->spinlock); in drm_lock_free()
279 spin_unlock_bh(&lock_data->spinlock); in drm_lock_free()
282 spin_unlock_bh(&lock_data->spinlock); in drm_lock_free()
348 spin_lock_bh(&lock_data->spinlock); in drm_idlelock_take()
[all …]
/drivers/char/
Dn_hdlc.c131 spinlock_t spinlock; member
376 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
379 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
384 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
444 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
446 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
746 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
751 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
759 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
762 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
[all …]
/drivers/net/wireless/
Dwavelan_cs.c545 spin_lock_irqsave(&lp->spinlock, flags); in wv_nwid_filter()
556 spin_unlock_irqrestore(&lp->spinlock, flags); in wv_nwid_filter()
725 spin_lock_irqsave(&lp->spinlock, flags); in wv_roam_handover()
733 spin_unlock_irqrestore(&lp->spinlock, flags); in wv_roam_handover()
995 spin_lock_irqsave(&lp->spinlock, flags); /* Disable interrupts */ in wv_82593_reconfig()
997 spin_unlock_irqrestore(&lp->spinlock, flags); /* Re-enable interrupts */ in wv_82593_reconfig()
1104 spin_lock_irqsave(&lp->spinlock, flags); in wv_mmc_show()
1114 spin_unlock_irqrestore(&lp->spinlock, flags); in wv_mmc_show()
1822 spin_lock_irqsave(&lp->spinlock, flags); in wavelan_set_nwid()
1859 spin_unlock_irqrestore(&lp->spinlock, flags); in wavelan_set_nwid()
[all …]
Dwavelan.c835 spin_lock_irqsave(&lp->spinlock, flags); in wv_82586_reconfig()
838 spin_unlock_irqrestore(&lp->spinlock, flags); in wv_82586_reconfig()
1752 spin_lock_irqsave(&lp->spinlock, flags); in wavelan_set_nwid()
1789 spin_unlock_irqrestore(&lp->spinlock, flags); in wavelan_set_nwid()
1810 spin_lock_irqsave(&lp->spinlock, flags); in wavelan_get_nwid()
1821 spin_unlock_irqrestore(&lp->spinlock, flags); in wavelan_get_nwid()
1841 spin_lock_irqsave(&lp->spinlock, flags); in wavelan_set_freq()
1851 spin_unlock_irqrestore(&lp->spinlock, flags); in wavelan_set_freq()
1872 spin_lock_irqsave(&lp->spinlock, flags); in wavelan_get_freq()
1897 spin_unlock_irqrestore(&lp->spinlock, flags); in wavelan_get_freq()
[all …]
Dnetwave_cs.c271 spinlock_t spinlock; /* Serialize access to the hardware (SMP) */ member
350 spin_lock_irqsave(&priv->spinlock, flags); in netwave_get_wireless_stats()
362 spin_unlock_irqrestore(&priv->spinlock, flags); in netwave_get_wireless_stats()
412 spin_lock_init(&priv->spinlock); in netwave_probe()
479 spin_lock_irqsave(&priv->spinlock, flags); in netwave_set_nwid()
493 spin_unlock_irqrestore(&priv->spinlock, flags); in netwave_set_nwid()
526 spin_lock_irqsave(&priv->spinlock, flags); in netwave_set_scramble()
536 spin_unlock_irqrestore(&priv->spinlock, flags); in netwave_set_scramble()
629 spin_lock_irqsave(&priv->spinlock, flags); in netwave_get_snap()
639 spin_unlock_irqrestore(&priv->spinlock, flags); in netwave_get_snap()
[all …]
/drivers/net/irda/
Ddonauboe.c618 spin_lock_irqsave(&self->spinlock, flags); in toshoboe_checkstuck()
625 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_checkstuck()
845 spin_lock_irqsave(&self->spinlock, flags); in toshoboe_probe()
852 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_probe()
920 spin_lock_irqsave(&self->spinlock, flags); in toshoboe_probe()
922 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_probe()
1012 spin_lock_irqsave(&self->spinlock, flags); in toshoboe_hard_xmit()
1022 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_hard_xmit()
1030 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_hard_xmit()
1037 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_hard_xmit()
[all …]
/drivers/infiniband/hw/ehca/
Dehca_eq.c64 spin_lock_init(&eq->spinlock); in ehca_create_eq()
160 spin_lock_irqsave(&eq->spinlock, flags); in ehca_poll_eq()
162 spin_unlock_irqrestore(&eq->spinlock, flags); in ehca_poll_eq()
172 spin_lock_irqsave(&eq->spinlock, flags); in ehca_destroy_eq()
177 spin_unlock_irqrestore(&eq->spinlock, flags); in ehca_destroy_eq()
Dehca_cq.c59 spin_lock_irqsave(&cq->spinlock, flags); in ehca_cq_assign_qp()
61 spin_unlock_irqrestore(&cq->spinlock, flags); in ehca_cq_assign_qp()
77 spin_lock_irqsave(&cq->spinlock, flags); in ehca_cq_unassign_qp()
89 spin_unlock_irqrestore(&cq->spinlock, flags); in ehca_cq_unassign_qp()
153 spin_lock_init(&my_cq->spinlock); in ehca_create_cq()
Dehca_qp.c426 spin_lock_irqsave(&cq->spinlock, flags); in del_from_err_list()
431 spin_unlock_irqrestore(&cq->spinlock, flags); in del_from_err_list()
1181 spin_lock_irqsave(&my_qp->send_cq->spinlock, flags); in check_for_left_cqes()
1184 spin_unlock_irqrestore(&my_qp->send_cq->spinlock, flags); in check_for_left_cqes()
1189 spin_lock_irqsave(&my_qp->recv_cq->spinlock, flags); in check_for_left_cqes()
1192 spin_unlock_irqrestore(&my_qp->recv_cq->spinlock, flags); in check_for_left_cqes()
1196 spin_lock_irqsave(&my_qp->send_cq->spinlock, flags); in check_for_left_cqes()
1200 spin_unlock_irqrestore(&my_qp->send_cq->spinlock, flags); in check_for_left_cqes()
1202 spin_lock_irqsave(&my_qp->recv_cq->spinlock, flags); in check_for_left_cqes()
1206 spin_unlock_irqrestore(&my_qp->recv_cq->spinlock, flags); in check_for_left_cqes()
[all …]
Dehca_classes.h84 spinlock_t spinlock; member
241 spinlock_t spinlock; member
Dehca_reqs.c891 spin_lock_irqsave(&my_cq->spinlock, flags); in ehca_poll_cq()
923 spin_unlock_irqrestore(&my_cq->spinlock, flags); in ehca_poll_cq()
949 spin_lock_irqsave(&my_cq->spinlock, spl_flags); in ehca_req_notify_cq()
951 spin_unlock_irqrestore(&my_cq->spinlock, spl_flags); in ehca_req_notify_cq()
Dehca_main.c959 spin_lock_irqsave(&eq->spinlock, flags); in ehca_poll_eqs()
961 spin_unlock_irqrestore(&eq->spinlock, flags); in ehca_poll_eqs()
963 spin_lock_irqsave(&eq->spinlock, flags); in ehca_poll_eqs()
965 spin_unlock_irqrestore(&eq->spinlock, flags); in ehca_poll_eqs()
/drivers/ieee1394/
Ddv1394.c553 spin_lock_irqsave(&video->spinlock, irq_flags); in frame_prepare()
728 spin_unlock_irqrestore(&video->spinlock, irq_flags); in frame_prepare()
857 spin_lock_irqsave(&video->spinlock, irq_flags); in receive_packets()
891 spin_unlock_irqrestore(&video->spinlock, irq_flags); in receive_packets()
1114 spin_lock_irqsave(&video->spinlock, flags); in stop_dma()
1162 spin_unlock_irqrestore(&video->spinlock, flags); in stop_dma()
1305 spin_lock_irqsave(&video->spinlock, flags); in dv1394_poll()
1316 spin_unlock_irqrestore(&video->spinlock, flags); in dv1394_poll()
1372 spin_lock_irqsave(&video->spinlock, flags); in dv1394_write()
1376 spin_unlock_irqrestore(&video->spinlock, flags); in dv1394_write()
[all …]
/drivers/media/video/
Dstk-webcam.c379 spin_lock_irqsave(&dev->spinlock, flags); in stk_isoc_handler()
457 spin_unlock_irqrestore(&dev->spinlock, flags); in stk_isoc_handler()
459 spin_lock_irqsave(&dev->spinlock, flags); in stk_isoc_handler()
467 spin_unlock_irqrestore(&dev->spinlock, flags); in stk_isoc_handler()
608 spin_lock_irqsave(&dev->spinlock, flags); in stk_free_sio_buffers()
613 spin_unlock_irqrestore(&dev->spinlock, flags); in stk_free_sio_buffers()
722 spin_lock_irqsave(&dev->spinlock, flags); in v4l_stk_read()
727 spin_unlock_irqrestore(&dev->spinlock, flags); in v4l_stk_read()
741 spin_lock_irqsave(&dev->spinlock, flags); in v4l_stk_read()
743 spin_unlock_irqrestore(&dev->spinlock, flags); in v4l_stk_read()
[all …]
Dstk-webcam.h109 spinlock_t spinlock; member
/drivers/staging/comedi/
Drt.c135 comedi_spin_lock_irqsave(&dev->spinlock, flags); in comedi_switch_to_rt()
143 comedi_spin_unlock_irqrestore(&dev->spinlock, flags); in comedi_switch_to_rt()
157 comedi_spin_lock_irqsave(&dev->spinlock, flags); in comedi_switch_to_non_rt()
165 comedi_spin_unlock_irqrestore(&dev->spinlock, flags); in comedi_switch_to_non_rt()
/drivers/staging/go7007/
Dgo7007-v4l2.c82 spin_lock_irqsave(&go->spinlock, flags); in go7007_streamoff()
84 spin_unlock_irqrestore(&go->spinlock, flags); in go7007_streamoff()
865 spin_lock_irqsave(&go->spinlock, flags); in vidioc_qbuf()
867 spin_unlock_irqrestore(&go->spinlock, flags); in vidioc_qbuf()
918 spin_lock_irqsave(&go->spinlock, flags); in vidioc_dqbuf()
920 spin_unlock_irqrestore(&go->spinlock, flags); in vidioc_dqbuf()
1701 spin_lock_irqsave(&gobuf->go->spinlock, flags); in go7007_vm_close()
1703 spin_unlock_irqrestore(&gobuf->go->spinlock, flags); in go7007_vm_close()
1870 spin_lock_irqsave(&go->spinlock, flags); in go7007_v4l2_remove()
1872 spin_unlock_irqrestore(&go->spinlock, flags); in go7007_v4l2_remove()
Dgo7007-driver.c415 spin_lock(&go->spinlock); in go7007_parse_video_stream()
594 spin_unlock(&go->spinlock); in go7007_parse_video_stream()
617 spin_lock_init(&go->spinlock); in go7007_alloc()
/drivers/net/ehea/
Dehea_qmr.c269 spin_lock_init(&eq->spinlock); in ehea_create_eq()
331 spin_lock_irqsave(&eq->spinlock, flags); in ehea_poll_eq()
333 spin_unlock_irqrestore(&eq->spinlock, flags); in ehea_poll_eq()
343 spin_lock_irqsave(&eq->spinlock, flags); in ehea_destroy_eq_res()
346 spin_unlock_irqrestore(&eq->spinlock, flags); in ehea_destroy_eq_res()
/drivers/media/video/zoran/
Dzoran_driver.c699 spin_lock_irqsave(&zr->spinlock, flags); in zoran_v4l_queue_frame()
745 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_v4l_queue_frame()
865 spin_lock_irqsave(&zr->spinlock, flags); in v4l_sync()
877 spin_unlock_irqrestore(&zr->spinlock, flags); in v4l_sync()
944 spin_lock_irqsave(&zr->spinlock, flags); in zoran_jpg_queue_frame()
975 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_jpg_queue_frame()
1076 spin_lock_irqsave(&zr->spinlock, flags); in jpg_sync()
1094 spin_unlock_irqrestore(&zr->spinlock, flags); in jpg_sync()
1166 spin_lock_irqsave(&zr->spinlock, flags); in zoran_close_end_session()
1171 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_close_end_session()
[all …]
Dzoran_device.c673 spin_lock_irqsave(&zr->spinlock, flags); in wait_grab_pending()
675 spin_unlock_irqrestore(&zr->spinlock, flags); in wait_grab_pending()
1387 spin_lock_irqsave(&zr->spinlock, flags); in zoran_irq()
1399 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_irq()
1403 spin_lock_irqsave(&zr->spinlock, flags); in zoran_irq()
1608 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_irq()
/drivers/net/
Dni52.c193 spinlock_t spinlock; member
454 spin_lock_init(&priv->spinlock); in ni52_probe1()
884 spin_lock(&p->spinlock); in ni52_interrupt()
934 spin_unlock(&p->spinlock); in ni52_interrupt()
1258 spin_lock_irqsave(&p->spinlock); in ni52_send_packet()
1261 spin_unlock_irqrestore(&p->spinlock); in ni52_send_packet()

12