Home
last modified time | relevance | path

Searched defs:sp (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/Linux-v4.19/kernel/rcu/
Dsrcutree.c91 static void init_srcu_struct_nodes(struct srcu_struct *sp, bool is_static) in init_srcu_struct_nodes()
175 static int init_srcu_struct_fields(struct srcu_struct *sp, bool is_static) in init_srcu_struct_fields()
196 int __init_srcu_struct(struct srcu_struct *sp, const char *name, in __init_srcu_struct()
217 int init_srcu_struct(struct srcu_struct *sp) in init_srcu_struct()
234 static void check_init_srcu_struct(struct srcu_struct *sp) in check_init_srcu_struct()
255 static unsigned long srcu_readers_lock_idx(struct srcu_struct *sp, int idx) in srcu_readers_lock_idx()
272 static unsigned long srcu_readers_unlock_idx(struct srcu_struct *sp, int idx) in srcu_readers_unlock_idx()
289 static bool srcu_readers_active_idx_check(struct srcu_struct *sp, int idx) in srcu_readers_active_idx_check()
341 static bool srcu_readers_active(struct srcu_struct *sp) in srcu_readers_active()
363 static unsigned long srcu_get_delay(struct srcu_struct *sp) in srcu_get_delay()
[all …]
Dsrcutiny.c38 static int init_srcu_struct_fields(struct srcu_struct *sp) in init_srcu_struct_fields()
54 int __init_srcu_struct(struct srcu_struct *sp, const char *name, in __init_srcu_struct()
74 int init_srcu_struct(struct srcu_struct *sp) in init_srcu_struct()
89 void _cleanup_srcu_struct(struct srcu_struct *sp, bool quiesced) in _cleanup_srcu_struct()
107 void __srcu_read_unlock(struct srcu_struct *sp, int idx) in __srcu_read_unlock()
127 struct srcu_struct *sp; in srcu_drive_gp() local
171 void call_srcu(struct srcu_struct *sp, struct rcu_head *rhp, in call_srcu()
190 void synchronize_srcu(struct srcu_struct *sp) in synchronize_srcu()
/Linux-v4.19/include/linux/
Dsrcu.h44 #define init_srcu_struct(sp) \ argument
84 static inline void cleanup_srcu_struct(struct srcu_struct *sp) in cleanup_srcu_struct()
106 static inline void cleanup_srcu_struct_quiesced(struct srcu_struct *sp) in cleanup_srcu_struct_quiesced()
129 static inline int srcu_read_lock_held(const struct srcu_struct *sp) in srcu_read_lock_held()
138 static inline int srcu_read_lock_held(const struct srcu_struct *sp) in srcu_read_lock_held()
157 #define srcu_dereference_check(p, sp, c) \ argument
170 #define srcu_dereference(p, sp) srcu_dereference_check((p), (sp), 0) argument
175 #define srcu_dereference_notrace(p, sp) srcu_dereference_check((p), (sp), 1) argument
194 static inline int srcu_read_lock(struct srcu_struct *sp) __acquires(sp) in srcu_read_lock()
205 srcu_read_lock_notrace(struct srcu_struct *sp) __acquires(sp) in srcu_read_lock_notrace()
[all …]
/Linux-v4.19/drivers/crypto/ccp/
Dsp-dev.c45 static void sp_add_device(struct sp_device *sp) in sp_add_device()
56 static void sp_del_device(struct sp_device *sp) in sp_del_device()
69 struct sp_device *sp = data; in sp_irq_handler() local
80 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq()
108 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_psp_irq()
136 void sp_free_ccp_irq(struct sp_device *sp, void *data) in sp_free_ccp_irq()
155 void sp_free_psp_irq(struct sp_device *sp, void *data) in sp_free_psp_irq()
181 struct sp_device *sp; in sp_alloc_struct() local
194 int sp_init(struct sp_device *sp) in sp_init()
206 void sp_destroy(struct sp_device *sp) in sp_destroy()
[all …]
Dsp-pci.c38 static int sp_get_msix_irqs(struct sp_device *sp) in sp_get_msix_irqs()
61 static int sp_get_msi_irq(struct sp_device *sp) in sp_get_msi_irq()
77 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
98 static void sp_free_irqs(struct sp_device *sp) in sp_free_irqs()
113 static bool sp_pci_is_master(struct sp_device *sp) in sp_pci_is_master()
136 static void psp_set_master(struct sp_device *sp) in psp_set_master()
154 struct sp_device *sp; in sp_pci_probe() local
241 struct sp_device *sp = dev_get_drvdata(dev); in sp_pci_remove() local
257 struct sp_device *sp = dev_get_drvdata(dev); in sp_pci_suspend() local
265 struct sp_device *sp = dev_get_drvdata(dev); in sp_pci_resume() local
Dsp-platform.c63 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
104 struct sp_device *sp; in sp_platform_probe() local
176 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_remove() local
190 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_suspend() local
198 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_resume() local
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c130 struct pvr2_stream *sp = bp->stream; in pvr2_buffer_remove() local
162 struct pvr2_stream *sp; in pvr2_buffer_set_none() local
179 struct pvr2_stream *sp; in pvr2_buffer_set_ready() local
205 struct pvr2_stream *sp; in pvr2_buffer_set_idle() local
229 struct pvr2_stream *sp; in pvr2_buffer_set_queued() local
258 struct pvr2_stream *sp, in pvr2_buffer_init()
291 static int pvr2_stream_buffer_count(struct pvr2_stream *sp, unsigned int cnt) in pvr2_stream_buffer_count()
360 static int pvr2_stream_achieve_buffer_count(struct pvr2_stream *sp) in pvr2_stream_achieve_buffer_count()
388 static void pvr2_stream_internal_flush(struct pvr2_stream *sp) in pvr2_stream_internal_flush()
408 static void pvr2_stream_init(struct pvr2_stream *sp) in pvr2_stream_init()
[all …]
/Linux-v4.19/drivers/gpu/host1x/
Dsyncpt.c60 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc() local
110 u32 host1x_syncpt_id(struct host1x_syncpt *sp) in host1x_syncpt_id()
121 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs) in host1x_syncpt_incr_max()
168 u32 host1x_syncpt_load(struct host1x_syncpt *sp) in host1x_syncpt_load()
181 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp) in host1x_syncpt_load_wait_base()
192 int host1x_syncpt_incr(struct host1x_syncpt *sp) in host1x_syncpt_incr()
202 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired()
216 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait()
318 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) in host1x_syncpt_is_expired()
451 void host1x_syncpt_free(struct host1x_syncpt *sp) in host1x_syncpt_free()
[all …]
/Linux-v4.19/drivers/net/ethernet/seeq/
Dsgiseeq.c52 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \ argument
56 #define VIRT_TO_DMA(sp, v) ((sp)->srings_dma + \ argument
141 static inline void seeq_go(struct sgiseeq_private *sp, in seeq_go()
151 struct sgiseeq_private *sp = netdev_priv(dev); in __sgiseeq_set_mac_address() local
162 struct sgiseeq_private *sp = netdev_priv(dev); in sgiseeq_set_mac_address() local
180 struct sgiseeq_private *sp = netdev_priv(dev); in seeq_init_ring() local
220 struct sgiseeq_private *sp = netdev_priv(dev); in seeq_purge_ring() local
286 static int init_seeq(struct net_device *dev, struct sgiseeq_private *sp, in init_seeq()
326 static inline void rx_maybe_restart(struct sgiseeq_private *sp, in rx_maybe_restart()
336 static inline void sgiseeq_rx(struct net_device *dev, struct sgiseeq_private *sp, in sgiseeq_rx()
[all …]
/Linux-v4.19/drivers/misc/ibmasm/
Dcommand.c34 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command()
77 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command()
82 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command()
97 static inline void do_exec_command(struct service_processor *sp) in do_exec_command()
119 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd) in ibmasm_exec_command()
139 static void exec_next_command(struct service_processor *sp) in exec_next_command()
175 void ibmasm_receive_command_response(struct service_processor *sp, void *response, size_t size) in ibmasm_receive_command_response()
Devent.c40 static void wake_up_event_readers(struct service_processor *sp) in wake_up_event_readers()
57 void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size) in ibmasm_receive_event()
91 int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader) in ibmasm_get_next_event()
130 void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader) in ibmasm_event_reader_register()
141 void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader) in ibmasm_event_reader_unregister()
150 int ibmasm_event_buffer_init(struct service_processor *sp) in ibmasm_event_buffer_init()
174 void ibmasm_event_buffer_exit(struct service_processor *sp) in ibmasm_event_buffer_exit()
Dremote.h88 #define mouse_addr(sp) (sp->base_address + CONDOR_MOUSE_DATA) argument
89 #define display_width(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESX) argument
90 #define display_height(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESY) argument
91 #define display_depth(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_BITS) argument
92 #define desktop_info(sp) (mouse_addr(sp) + CONDOR_INPUT_DESKTOP_INFO) argument
93 #define vnc_status(sp) (mouse_addr(sp) + CONDOR_OUTPUT_VNC_STATUS) argument
94 #define isr_control(sp) (mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument
96 #define mouse_interrupt_pending(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS) argument
97 #define clear_mouse_interrupt(sp) writel(0, mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS) argument
98 #define enable_mouse_interrupts(sp) writel(1, mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument
[all …]
/Linux-v4.19/drivers/spi/
Dspi-ath79.c45 static inline u32 ath79_spi_rr(struct ath79_spi *sp, unsigned int reg) in ath79_spi_rr()
50 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned int reg, u32 val) in ath79_spi_wr()
60 static inline void ath79_spi_delay(struct ath79_spi *sp, unsigned int nsecs) in ath79_spi_delay()
68 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_chipselect() local
97 static void ath79_spi_enable(struct ath79_spi *sp) in ath79_spi_enable()
110 static void ath79_spi_disable(struct ath79_spi *sp) in ath79_spi_disable()
120 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_setup_cs() local
181 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_txrx_mode0() local
210 struct ath79_spi *sp; in ath79_spi_probe() local
288 struct ath79_spi *sp = platform_get_drvdata(pdev); in ath79_spi_remove() local
Dspi-sh-sci.c37 #define SCSPTR(sp) (sp->membase + 0x1c) argument
43 static inline void setbits(struct sh_sci_spi *sp, int bits, int on) in setbits()
73 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); in getmiso() local
112 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); in sh_sci_spi_chipselect() local
122 struct sh_sci_spi *sp; in sh_sci_spi_probe() local
180 struct sh_sci_spi *sp = platform_get_drvdata(dev); in sh_sci_spi_remove() local
/Linux-v4.19/drivers/gpu/host1x/hw/
Dsyncpt_hw.c27 static void syncpt_restore(struct host1x_syncpt *sp) in syncpt_restore()
38 static void syncpt_restore_wait_base(struct host1x_syncpt *sp) in syncpt_restore_wait_base()
49 static void syncpt_read_wait_base(struct host1x_syncpt *sp) in syncpt_read_wait_base()
60 static u32 syncpt_load(struct host1x_syncpt *sp) in syncpt_load()
83 static int syncpt_cpu_incr(struct host1x_syncpt *sp) in syncpt_cpu_incr()
110 static void syncpt_assign_to_channel(struct host1x_syncpt *sp, in syncpt_assign_to_channel()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_iocb.c22 qla2x00_get_cmd_direction(srb_t *sp) in qla2x00_get_cmd_direction()
147 qla24xx_configure_prot_mode(srb_t *sp, uint16_t *fw_prot_opts) in qla24xx_configure_prot_mode()
192 void qla2x00_build_scsi_iocbs_32(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_32()
250 void qla2x00_build_scsi_iocbs_64(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_64()
309 qla2x00_start_scsi(srb_t *sp) in qla2x00_start_scsi()
584 qla24xx_build_scsi_type_6_iocbs(srb_t *sp, struct cmd_type_6 *cmd_pkt, in qla24xx_build_scsi_type_6_iocbs()
705 qla24xx_build_scsi_iocbs(srb_t *sp, struct cmd_type_7 *cmd_pkt, in qla24xx_build_scsi_iocbs()
780 qla24xx_set_t10dif_tags(srb_t *sp, struct fw_dif_context *pkt, in qla24xx_set_t10dif_tags()
898 qla24xx_walk_and_build_sglist_no_difb(struct qla_hw_data *ha, srb_t *sp, in qla24xx_walk_and_build_sglist_no_difb()
1013 qla24xx_walk_and_build_sglist(struct qla_hw_data *ha, srb_t *sp, uint32_t *dsd, in qla24xx_walk_and_build_sglist()
[all …]
/Linux-v4.19/drivers/net/hamradio/
D6pack.c141 struct sixpack *sp = from_timer(sp, t, tx_t); in sp_xmit_on_air() local
164 static void sp_encaps(struct sixpack *sp, unsigned char *icp, int len) in sp_encaps()
248 struct sixpack *sp = netdev_priv(dev); in sp_xmit() local
267 struct sixpack *sp = netdev_priv(dev); in sp_open_dev() local
277 struct sixpack *sp = netdev_priv(dev); in sp_close() local
337 static void sp_bump(struct sixpack *sp, char cmd) in sp_bump()
379 struct sixpack *sp; in sp_get() local
390 static void sp_put(struct sixpack *sp) in sp_put()
402 struct sixpack *sp = sp_get(tty); in sixpack_write_wakeup() local
438 struct sixpack *sp; in sixpack_receive_buf() local
[all …]
/Linux-v4.19/drivers/net/ethernet/neterion/
Ds2io.c122 static inline int is_s2io_card_up(const struct s2io_nic *sp) in is_s2io_card_up()
341 static void do_s2io_copy_mac_addr(struct s2io_nic *sp, int offset, u64 mac_addr) in do_s2io_copy_mac_addr()
497 static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp) in s2io_stop_all_tx_queue()
508 static inline void s2io_stop_tx_queue(struct s2io_nic *sp, int fifo_no) in s2io_stop_tx_queue()
517 static inline void s2io_start_all_tx_queue(struct s2io_nic *sp) in s2io_start_all_tx_queue()
528 static inline void s2io_wake_all_tx_queue(struct s2io_nic *sp) in s2io_wake_all_tx_queue()
2070 static int verify_pcc_quiescent(struct s2io_nic *sp, int flag) in verify_pcc_quiescent()
2110 static int verify_xena_quiescence(struct s2io_nic *sp) in verify_xena_quiescence()
2177 static void fix_mac_address(struct s2io_nic *sp) in fix_mac_address()
2651 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) in free_rxd_blk()
[all …]
/Linux-v4.19/arch/x86/kvm/
Dmmu_audit.c37 static void __mmu_spte_walk(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in __mmu_spte_walk()
60 struct kvm_mmu_page *sp; in mmu_spte_walk() local
90 struct kvm_mmu_page *sp; in walk_all_active_sps() local
98 struct kvm_mmu_page *sp; in audit_mappings() local
171 struct kvm_mmu_page *sp = page_header(__pa(sptep)); in audit_spte_after_sync() local
178 static void check_mappings_rmap(struct kvm *kvm, struct kvm_mmu_page *sp) in check_mappings_rmap()
193 static void audit_write_protection(struct kvm *kvm, struct kvm_mmu_page *sp) in audit_write_protection()
216 static void audit_sp(struct kvm *kvm, struct kvm_mmu_page *sp) in audit_sp()
/Linux-v4.19/drivers/scsi/libfc/
Dfc_exch.c474 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked()
536 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send()
559 struct fc_seq *sp; in fc_seq_alloc() local
573 static struct fc_seq *fc_seq_start_next_locked(struct fc_seq *sp) in fc_seq_start_next_locked()
588 struct fc_seq *fc_seq_start_next(struct fc_seq *sp) in fc_seq_start_next()
605 void fc_seq_set_resp(struct fc_seq *sp, in fc_seq_set_resp()
647 struct fc_seq *sp; in fc_exch_abort_locked() local
737 static bool fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, in fc_invoke_resp()
776 struct fc_seq *sp = &ep->seq; in fc_exch_timeout() local
976 void fc_exch_done(struct fc_seq *sp) in fc_exch_done()
[all …]
/Linux-v4.19/arch/arm64/include/asm/
Dstacktrace.h57 static inline bool on_irq_stack(unsigned long sp, in on_irq_stack()
78 static inline bool on_task_stack(struct task_struct *tsk, unsigned long sp, in on_task_stack()
99 static inline bool on_overflow_stack(unsigned long sp, in on_overflow_stack()
117 static inline bool on_overflow_stack(unsigned long sp, in on_overflow_stack()
127 unsigned long sp, in on_accessible_stack()
/Linux-v4.19/arch/powerpc/perf/
Dcallchain.c33 static int valid_next_sp(unsigned long sp, unsigned long prev_sp) in valid_next_sp()
53 unsigned long sp, next_sp; in perf_callchain_kernel() local
188 static inline int valid_user_sp(unsigned long sp, int is_64) in valid_user_sp()
223 static int sane_signal_64_frame(unsigned long sp) in sane_signal_64_frame()
239 unsigned long sp, next_sp; in perf_callchain_user_64() local
333 static inline int valid_user_sp(unsigned long sp, int is_64) in valid_user_sp()
389 static int sane_signal_32_frame(unsigned int sp) in sane_signal_32_frame()
400 static int sane_rt_signal_32_frame(unsigned int sp) in sane_rt_signal_32_frame()
411 static unsigned int __user *signal_frame_32_regs(unsigned int sp, in signal_frame_32_regs()
446 unsigned int sp, next_sp; in perf_callchain_user_32() local
/Linux-v4.19/drivers/net/fddi/skfp/
Dpmf.c708 struct smt_p_1048 *sp ; in smt_add_para() local
717 struct smt_p_208c *sp ; in smt_add_para() local
734 struct smt_p_208d *sp ; in smt_add_para() local
751 struct smt_p_208e *sp ; in smt_add_para() local
766 struct smt_p_208f *sp ; in smt_add_para() local
789 struct smt_p_2090 *sp ; in smt_add_para() local
804 struct smt_p_4050 *sp ; in smt_add_para() local
825 struct smt_p_4051 *sp ; in smt_add_para() local
842 struct smt_p_4052 *sp ; in smt_add_para() local
853 struct smt_p_4053 *sp ; in smt_add_para() local
/Linux-v4.19/arch/powerpc/oprofile/
Dbacktrace.c29 static unsigned int user_getsp32(unsigned int sp, int is_first) in user_getsp32()
56 static unsigned long user_getsp64(unsigned long sp, int is_first) in user_getsp64()
74 static unsigned long kernel_getsp(unsigned long sp, int is_first) in kernel_getsp()
95 unsigned long sp = regs->gpr[1]; in op_powerpc_backtrace() local
/Linux-v4.19/arch/powerpc/kernel/
Dstacktrace.c29 static void save_context_stack(struct stack_trace *trace, unsigned long sp, in save_context_stack()
58 unsigned long sp; in save_stack_trace() local
68 unsigned long sp; in save_stack_trace_tsk() local
91 unsigned long sp; in save_stack_trace_tsk_reliable() local

12345678910>>...20