Home
last modified time | relevance | path

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

12345678

/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c120 struct pvr2_stream *sp = bp->stream; in pvr2_buffer_remove() local
152 struct pvr2_stream *sp; in pvr2_buffer_set_none() local
169 struct pvr2_stream *sp; in pvr2_buffer_set_ready() local
195 struct pvr2_stream *sp; in pvr2_buffer_set_idle() local
219 struct pvr2_stream *sp; in pvr2_buffer_set_queued() local
248 struct pvr2_stream *sp, in pvr2_buffer_init()
281 static int pvr2_stream_buffer_count(struct pvr2_stream *sp, unsigned int cnt) in pvr2_stream_buffer_count()
350 static int pvr2_stream_achieve_buffer_count(struct pvr2_stream *sp) in pvr2_stream_achieve_buffer_count()
378 static void pvr2_stream_internal_flush(struct pvr2_stream *sp) in pvr2_stream_internal_flush()
398 static void pvr2_stream_init(struct pvr2_stream *sp) in pvr2_stream_init()
[all …]
/drivers/gpu/host1x/
Dsyncpt.c62 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc() local
116 u32 host1x_syncpt_id(struct host1x_syncpt *sp) in host1x_syncpt_id()
127 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs) in host1x_syncpt_incr_max()
183 u32 host1x_syncpt_load(struct host1x_syncpt *sp) in host1x_syncpt_load()
196 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp) in host1x_syncpt_load_wait_base()
207 int host1x_syncpt_incr(struct host1x_syncpt *sp) in host1x_syncpt_incr()
220 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait()
269 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) in host1x_syncpt_is_expired()
342 struct host1x_syncpt *sp = container_of(ref, struct host1x_syncpt, ref); in syncpt_release() local
367 void host1x_syncpt_put(struct host1x_syncpt *sp) in host1x_syncpt_put()
[all …]
Dsyncpt.h74 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real) in host1x_syncpt_check_max()
84 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp) in host1x_syncpt_client_managed()
93 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp) in host1x_syncpt_idle()
121 static inline int host1x_syncpt_is_valid(struct host1x_syncpt *sp) in host1x_syncpt_is_valid()
126 static inline void host1x_syncpt_set_locked(struct host1x_syncpt *sp) in host1x_syncpt_set_locked()
/drivers/crypto/ccp/
Dsp-dev.c43 static void sp_add_device(struct sp_device *sp) in sp_add_device()
54 static void sp_del_device(struct sp_device *sp) in sp_del_device()
67 struct sp_device *sp = data; in sp_irq_handler() local
78 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq()
106 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_psp_irq()
134 void sp_free_ccp_irq(struct sp_device *sp, void *data) in sp_free_ccp_irq()
153 void sp_free_psp_irq(struct sp_device *sp, void *data) in sp_free_psp_irq()
179 struct sp_device *sp; in sp_alloc_struct() local
192 int sp_init(struct sp_device *sp) in sp_init()
204 void sp_destroy(struct sp_device *sp) in sp_destroy()
[all …]
Dsp-pci.c84 struct sp_device *sp = dev_get_drvdata(dev); in psp_security_is_visible() local
126 struct sp_device *sp = dev_get_drvdata(dev); in psp_firmware_is_visible() local
160 static int sp_get_msix_irqs(struct sp_device *sp) in sp_get_msix_irqs()
183 static int sp_get_msi_irq(struct sp_device *sp) in sp_get_msi_irq()
199 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
220 static void sp_free_irqs(struct sp_device *sp) in sp_free_irqs()
235 static bool sp_pci_is_master(struct sp_device *sp) in sp_pci_is_master()
258 static void psp_set_master(struct sp_device *sp) in psp_set_master()
274 static void psp_clear_master(struct sp_device *sp) in psp_clear_master()
284 struct sp_device *sp; in sp_pci_probe() local
[all …]
Dsp-platform.c77 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
110 struct sp_device *sp; in sp_platform_probe() local
180 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_remove() local
194 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_suspend() local
202 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_resume() local
/drivers/scsi/qla2xxx/
Dqla_iocb.c22 qla2x00_get_cmd_direction(srb_t *sp) in qla2x00_get_cmd_direction()
146 qla24xx_configure_prot_mode(srb_t *sp, uint16_t *fw_prot_opts) in qla24xx_configure_prot_mode()
193 void qla2x00_build_scsi_iocbs_32(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_32()
249 void qla2x00_build_scsi_iocbs_64(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_64()
324 qla2x00_start_scsi(srb_t *sp) in qla2x00_start_scsi()
590 qla24xx_build_scsi_type_6_iocbs(srb_t *sp, struct cmd_type_6 *cmd_pkt, in qla24xx_build_scsi_type_6_iocbs()
700 qla24xx_build_scsi_iocbs(srb_t *sp, struct cmd_type_7 *cmd_pkt, in qla24xx_build_scsi_iocbs()
772 qla24xx_set_t10dif_tags(srb_t *sp, struct fw_dif_context *pkt, in qla24xx_set_t10dif_tags()
835 qla24xx_walk_and_build_sglist_no_difb(struct qla_hw_data *ha, srb_t *sp, in qla24xx_walk_and_build_sglist_no_difb()
949 qla24xx_walk_and_build_sglist(struct qla_hw_data *ha, srb_t *sp, in qla24xx_walk_and_build_sglist()
[all …]
Dqla_nvme.c24 struct srb *sp; member
167 struct srb *sp = container_of(kref, struct srb, cmd_kref); in qla_nvme_release_fcp_cmd_kref() local
199 struct srb *sp = container_of(kref, struct srb, cmd_kref); in qla_nvme_release_ls_cmd_kref() local
227 static void qla_nvme_sp_ls_done(srb_t *sp, int res) in qla_nvme_sp_ls_done()
244 struct srb *sp = container_of(kref, struct srb, cmd_kref); in qla_nvme_release_lsrsp_cmd_kref() local
276 static void qla_nvme_sp_lsrsp_done(srb_t *sp, int res) in qla_nvme_sp_lsrsp_done()
292 static void qla_nvme_sp_done(srb_t *sp, int res) in qla_nvme_sp_done()
306 srb_t *sp = priv->sp; in qla_nvme_abort_work() local
375 srb_t *sp; in qla_nvme_xmt_ls_rsp() local
481 srb_t *sp; in qla_nvme_ls_req() local
[all …]
/drivers/net/ethernet/seeq/
Dsgiseeq.c53 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \ argument
57 #define VIRT_TO_DMA(sp, v) ((sp)->srings_dma + \ argument
115 struct sgiseeq_private *sp = netdev_priv(dev); in dma_sync_desc_cpu() local
123 struct sgiseeq_private *sp = netdev_priv(dev); in dma_sync_desc_dev() local
146 static inline void seeq_go(struct sgiseeq_private *sp, in seeq_go()
156 struct sgiseeq_private *sp = netdev_priv(dev); in __sgiseeq_set_mac_address() local
167 struct sgiseeq_private *sp = netdev_priv(dev); in sgiseeq_set_mac_address() local
185 struct sgiseeq_private *sp = netdev_priv(dev); in seeq_init_ring() local
225 struct sgiseeq_private *sp = netdev_priv(dev); in seeq_purge_ring() local
291 static int init_seeq(struct net_device *dev, struct sgiseeq_private *sp, in init_seeq()
[all …]
/drivers/spi/
Dspi-mtk-nor.c100 #define CLK_TO_US(sp, clkcnt) DIV_ROUND_UP(clkcnt, sp->spi_freq / 1000000) argument
131 static inline void mtk_nor_rmw(struct mtk_nor *sp, u32 reg, u32 set, u32 clr) in mtk_nor_rmw()
140 static inline int mtk_nor_cmd_exec(struct mtk_nor *sp, u32 cmd, ulong clk) in mtk_nor_cmd_exec()
154 static void mtk_nor_reset(struct mtk_nor *sp) in mtk_nor_reset()
163 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_set_addr()
180 static bool need_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in need_bounce()
278 struct mtk_nor *sp = spi_controller_get_devdata(mem->spi->master); in mtk_nor_adjust_op_size() local
340 static void mtk_nor_setup_bus(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_setup_bus()
366 static int mtk_nor_dma_exec(struct mtk_nor *sp, u32 from, unsigned int length, in mtk_nor_dma_exec()
410 static int mtk_nor_read_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_bounce()
[all …]
Dspi-ath79.c49 static inline u32 ath79_spi_rr(struct ath79_spi *sp, unsigned int reg) in ath79_spi_rr()
54 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned int reg, u32 val) in ath79_spi_wr()
64 static inline void ath79_spi_delay(struct ath79_spi *sp, unsigned int nsecs) in ath79_spi_delay()
72 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_chipselect() local
84 static void ath79_spi_enable(struct ath79_spi *sp) in ath79_spi_enable()
100 static void ath79_spi_disable(struct ath79_spi *sp) in ath79_spi_disable()
111 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_txrx_mode0() local
140 struct ath79_spi *sp = ath79_spidev_to_sp(mem->spi); in ath79_exec_mem_op() local
172 struct ath79_spi *sp; in ath79_spi_probe() local
242 struct ath79_spi *sp = platform_get_drvdata(pdev); in ath79_spi_remove() local
Dspi-sh-sci.c33 #define SCSPTR(sp) (sp->membase + 0x1c) argument
39 static inline void setbits(struct sh_sci_spi *sp, int bits, int on) in setbits()
69 struct sh_sci_spi *sp = spi_controller_get_devdata(dev->controller); in getmiso() local
108 struct sh_sci_spi *sp = spi_controller_get_devdata(dev->controller); in sh_sci_spi_chipselect() local
118 struct sh_sci_spi *sp; in sh_sci_spi_probe() local
176 struct sh_sci_spi *sp = platform_get_drvdata(dev); in sh_sci_spi_remove() local
Dspi-ar934x.c51 static inline int ar934x_spi_clk_div(struct ar934x_spi *sp, unsigned int freq) in ar934x_spi_clk_div()
65 struct ar934x_spi *sp = spi_controller_get_devdata(spi->controller); in ar934x_spi_setup() local
81 struct ar934x_spi *sp = spi_controller_get_devdata(ctlr); in ar934x_spi_transfer_one_message() local
168 struct ar934x_spi *sp; in ar934x_spi_probe() local
227 struct ar934x_spi *sp; in ar934x_spi_remove() local
/drivers/base/
Dbus.c62 struct subsys_private *sp = NULL; in bus_to_subsys() local
89 struct subsys_private *sp = bus_to_subsys(bus); in bus_get() local
98 struct subsys_private *sp = bus_to_subsys(bus); in bus_put() local
181 struct subsys_private *sp = bus_to_subsys(bus); in bus_create_file() local
196 struct subsys_private *sp = bus_to_subsys(bus); in bus_remove_file() local
279 struct subsys_private *sp = bus_to_subsys(bus); in drivers_autoprobe_show() local
293 struct subsys_private *sp = bus_to_subsys(bus); in drivers_autoprobe_store() local
357 struct subsys_private *sp = bus_to_subsys(bus); in bus_for_each_dev() local
394 struct subsys_private *sp = bus_to_subsys(bus); in bus_find_device() local
446 struct subsys_private *sp = bus_to_subsys(bus); in bus_for_each_drv() local
[all …]
Dclass.c44 struct subsys_private *sp = NULL; in class_to_subsys() local
132 struct subsys_private *sp = class_to_subsys(cls); in class_create_file_ns() local
148 struct subsys_private *sp = class_to_subsys(cls); in class_remove_file_ns() local
226 struct subsys_private *sp = class_to_subsys(cls); in class_unregister() local
314 struct subsys_private *sp = class_to_subsys(class); in class_dev_iter_init() local
391 struct subsys_private *sp = class_to_subsys(class); in class_for_each_device() local
441 struct subsys_private *sp = class_to_subsys(class); in class_find_device() local
469 struct subsys_private *sp; in class_interface_register() local
503 struct subsys_private *sp; in class_interface_unregister() local
647 struct subsys_private *sp = class_to_subsys(class); in class_is_registered() local
/drivers/net/ethernet/neterion/
Ds2io.c123 static inline int is_s2io_card_up(const struct s2io_nic *sp) in is_s2io_card_up()
342 static void do_s2io_copy_mac_addr(struct s2io_nic *sp, int offset, u64 mac_addr) in do_s2io_copy_mac_addr()
498 static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp) in s2io_stop_all_tx_queue()
509 static inline void s2io_stop_tx_queue(struct s2io_nic *sp, int fifo_no) in s2io_stop_tx_queue()
518 static inline void s2io_start_all_tx_queue(struct s2io_nic *sp) in s2io_start_all_tx_queue()
529 static inline void s2io_wake_all_tx_queue(struct s2io_nic *sp) in s2io_wake_all_tx_queue()
2075 static int verify_pcc_quiescent(struct s2io_nic *sp, int flag) in verify_pcc_quiescent()
2117 static int verify_xena_quiescence(struct s2io_nic *sp) in verify_xena_quiescence()
2184 static void fix_mac_address(struct s2io_nic *sp) in fix_mac_address()
2660 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) in free_rxd_blk()
[all …]
/drivers/net/hamradio/
D6pack.c142 struct sixpack *sp = from_timer(sp, t, tx_t); in sp_xmit_on_air() local
165 static void sp_encaps(struct sixpack *sp, unsigned char *icp, int len) in sp_encaps()
244 struct sixpack *sp = netdev_priv(dev); in sp_xmit() local
263 struct sixpack *sp = netdev_priv(dev); in sp_open_dev() local
273 struct sixpack *sp = netdev_priv(dev); in sp_close() local
332 static void sp_bump(struct sixpack *sp, char cmd) in sp_bump()
374 struct sixpack *sp; in sp_get() local
385 static void sp_put(struct sixpack *sp) in sp_put()
397 struct sixpack *sp = sp_get(tty); in sixpack_write_wakeup() local
433 struct sixpack *sp; in sixpack_receive_buf() local
[all …]
/drivers/misc/ibmasm/
Dcommand.c20 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command()
63 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command()
68 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command()
83 static inline void do_exec_command(struct service_processor *sp) in do_exec_command()
105 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd) in ibmasm_exec_command()
125 static void exec_next_command(struct service_processor *sp) in exec_next_command()
161 void ibmasm_receive_command_response(struct service_processor *sp, void *response, size_t size) in ibmasm_receive_command_response()
Devent.c26 static void wake_up_event_readers(struct service_processor *sp) in wake_up_event_readers()
43 void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size) in ibmasm_receive_event()
77 int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader) in ibmasm_get_next_event()
116 void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader) in ibmasm_event_reader_register()
127 void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader) in ibmasm_event_reader_unregister()
136 int ibmasm_event_buffer_init(struct service_processor *sp) in ibmasm_event_buffer_init()
160 void ibmasm_event_buffer_exit(struct service_processor *sp) in ibmasm_event_buffer_exit()
Dremote.h75 #define mouse_addr(sp) (sp->base_address + CONDOR_MOUSE_DATA) argument
76 #define display_width(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESX) argument
77 #define display_height(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESY) argument
78 #define display_depth(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_BITS) argument
79 #define desktop_info(sp) (mouse_addr(sp) + CONDOR_INPUT_DESKTOP_INFO) argument
80 #define vnc_status(sp) (mouse_addr(sp) + CONDOR_OUTPUT_VNC_STATUS) argument
81 #define isr_control(sp) (mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument
83 #define mouse_interrupt_pending(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS) argument
84 #define clear_mouse_interrupt(sp) writel(0, mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS) argument
85 #define enable_mouse_interrupts(sp) writel(1, mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument
[all …]
/drivers/gpu/host1x/hw/
Dsyncpt_hw.c16 static void syncpt_restore(struct host1x_syncpt *sp) in syncpt_restore()
27 static void syncpt_restore_wait_base(struct host1x_syncpt *sp) in syncpt_restore_wait_base()
40 static void syncpt_read_wait_base(struct host1x_syncpt *sp) in syncpt_read_wait_base()
53 static u32 syncpt_load(struct host1x_syncpt *sp) in syncpt_load()
76 static int syncpt_cpu_incr(struct host1x_syncpt *sp) in syncpt_cpu_incr()
103 static void syncpt_assign_to_channel(struct host1x_syncpt *sp, in syncpt_assign_to_channel()
/drivers/scsi/libfc/
Dfc_exch.c463 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked()
525 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send()
548 struct fc_seq *sp; in fc_seq_alloc() local
562 static struct fc_seq *fc_seq_start_next_locked(struct fc_seq *sp) in fc_seq_start_next_locked()
577 struct fc_seq *fc_seq_start_next(struct fc_seq *sp) in fc_seq_start_next()
594 void fc_seq_set_resp(struct fc_seq *sp, in fc_seq_set_resp()
636 struct fc_seq *sp; in fc_exch_abort_locked() local
729 static bool fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, in fc_invoke_resp()
768 struct fc_seq *sp = &ep->seq; in fc_exch_timeout() local
967 void fc_exch_done(struct fc_seq *sp) in fc_exch_done()
[all …]
/drivers/tty/serial/
Dsprd_serial.c176 struct sprd_uart_port *sp = in sprd_stop_rx() local
207 struct sprd_uart_port *sp = in sprd_stop_tx_dma() local
228 struct sprd_uart_port *sp = in sprd_tx_buf_remap() local
245 struct sprd_uart_port *sp = in sprd_complete_tx_dma() local
298 struct sprd_uart_port *sp = in sprd_tx_dma_config() local
320 struct sprd_uart_port *sp = in sprd_start_tx_dma() local
352 static int sprd_rx_alloc_buf(struct sprd_uart_port *sp) in sprd_rx_alloc_buf()
362 static void sprd_rx_free_buf(struct sprd_uart_port *sp) in sprd_rx_free_buf()
372 struct sprd_uart_port *sp = in sprd_rx_dma_config() local
386 struct sprd_uart_port *sp = in sprd_uart_dma_rx() local
[all …]
/drivers/net/fddi/skfp/
Dpmf.c700 struct smt_p_1048 *sp ; in smt_add_para() local
709 struct smt_p_208c *sp ; in smt_add_para() local
726 struct smt_p_208d *sp ; in smt_add_para() local
743 struct smt_p_208e *sp ; in smt_add_para() local
758 struct smt_p_208f *sp ; in smt_add_para() local
781 struct smt_p_2090 *sp ; in smt_add_para() local
796 struct smt_p_4050 *sp ; in smt_add_para() local
817 struct smt_p_4051 *sp ; in smt_add_para() local
834 struct smt_p_4052 *sp ; in smt_add_para() local
845 struct smt_p_4053 *sp ; in smt_add_para() local
/drivers/mfd/
Drave-sp.c210 struct rave_sp *sp = dev_get_drvdata(dev->parent); in rave_sp_unregister_event_notifier() local
220 struct rave_sp *sp = dev_get_drvdata(dev->parent); in devm_rave_sp_register_event_notifier() local
282 static int rave_sp_write(struct rave_sp *sp, const u8 *data, u8 data_size) in rave_sp_write()
342 int rave_sp_exec(struct rave_sp *sp, in rave_sp_exec()
388 static void rave_sp_receive_event(struct rave_sp *sp, in rave_sp_receive_event()
403 static void rave_sp_receive_reply(struct rave_sp *sp, in rave_sp_receive_reply()
437 static void rave_sp_receive_frame(struct rave_sp *sp, in rave_sp_receive_frame()
478 struct rave_sp *sp = dev_get_drvdata(dev); in rave_sp_receive_buf() local
664 static int rave_sp_rdu1_get_status(struct rave_sp *sp, in rave_sp_rdu1_get_status()
675 static int rave_sp_emulated_get_status(struct rave_sp *sp, in rave_sp_emulated_get_status()
[all …]

12345678