Home
last modified time | relevance | path

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

123456

/drivers/gpu/host1x/
Dsyncpt.c61 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc() local
92 u32 host1x_syncpt_id(struct host1x_syncpt *sp) in host1x_syncpt_id()
101 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs) in host1x_syncpt_incr_max()
148 u32 host1x_syncpt_load(struct host1x_syncpt *sp) in host1x_syncpt_load()
161 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp) in host1x_syncpt_load_wait_base()
171 int host1x_syncpt_incr(struct host1x_syncpt *sp) in host1x_syncpt_incr()
181 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired()
191 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait()
293 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) in host1x_syncpt_is_expired()
352 int host1x_syncpt_patch_wait(struct host1x_syncpt *sp, void *patch_addr) in host1x_syncpt_patch_wait()
[all …]
Dsyncpt.h75 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real) in host1x_syncpt_check_max()
85 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp) in host1x_syncpt_client_managed()
94 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp) in host1x_syncpt_idle()
122 static inline int host1x_syncpt_is_valid(struct host1x_syncpt *sp) in host1x_syncpt_is_valid()
/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c135 struct pvr2_stream *sp = bp->stream; in pvr2_buffer_remove() local
168 struct pvr2_stream *sp; in pvr2_buffer_set_none() local
185 struct pvr2_stream *sp; in pvr2_buffer_set_ready() local
212 struct pvr2_stream *sp; in pvr2_buffer_set_idle() local
237 struct pvr2_stream *sp; in pvr2_buffer_set_queued() local
267 struct pvr2_stream *sp, in pvr2_buffer_init()
300 static int pvr2_stream_buffer_count(struct pvr2_stream *sp,unsigned int cnt) in pvr2_stream_buffer_count()
369 static int pvr2_stream_achieve_buffer_count(struct pvr2_stream *sp) in pvr2_stream_achieve_buffer_count()
398 static void pvr2_stream_internal_flush(struct pvr2_stream *sp) in pvr2_stream_internal_flush()
418 static void pvr2_stream_init(struct pvr2_stream *sp) in pvr2_stream_init()
[all …]
/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 …]
/drivers/net/ethernet/neterion/
Ds2io.c124 static inline int is_s2io_card_up(const struct s2io_nic *sp) in is_s2io_card_up()
349 static void do_s2io_copy_mac_addr(struct s2io_nic *sp, int offset, u64 mac_addr) in do_s2io_copy_mac_addr()
506 static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp) in s2io_stop_all_tx_queue()
517 static inline void s2io_stop_tx_queue(struct s2io_nic *sp, int fifo_no) in s2io_stop_tx_queue()
526 static inline void s2io_start_all_tx_queue(struct s2io_nic *sp) in s2io_start_all_tx_queue()
537 static inline void s2io_wake_all_tx_queue(struct s2io_nic *sp) in s2io_wake_all_tx_queue()
2079 static int verify_pcc_quiescent(struct s2io_nic *sp, int flag) in verify_pcc_quiescent()
2119 static int verify_xena_quiescence(struct s2io_nic *sp) in verify_xena_quiescence()
2186 static void fix_mac_address(struct s2io_nic *sp) in fix_mac_address()
2665 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) in free_rxd_blk()
[all …]
/drivers/spi/
Dspi-ath79.c45 static inline u32 ath79_spi_rr(struct ath79_spi *sp, unsigned reg) in ath79_spi_rr()
50 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned reg, u32 val) in ath79_spi_wr()
60 static inline void ath79_spi_delay(struct ath79_spi *sp, unsigned nsecs) in ath79_spi_delay()
68 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_chipselect() local
95 static void ath79_spi_enable(struct ath79_spi *sp) in ath79_spi_enable()
108 static void ath79_spi_disable(struct ath79_spi *sp) in ath79_spi_disable()
118 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
108 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); 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
/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 …]
Dheartbeat.c65 int ibmasm_heartbeat_init(struct service_processor *sp) in ibmasm_heartbeat_init()
74 void ibmasm_heartbeat_exit(struct service_processor *sp) in ibmasm_heartbeat_exit()
85 void ibmasm_receive_heartbeat(struct service_processor *sp, void *message, size_t size) in ibmasm_receive_heartbeat()
Ddot_command.c31 void ibmasm_receive_message(struct service_processor *sp, void *message, int message_size) in ibmasm_receive_message()
68 int ibmasm_send_driver_vpd(struct service_processor *sp) in ibmasm_send_driver_vpd()
124 int ibmasm_send_os_state(struct service_processor *sp, int os_state) in ibmasm_send_os_state()
Dremote.c184 void ibmasm_handle_mouse_interrupt(struct service_processor *sp) in ibmasm_handle_mouse_interrupt()
210 int ibmasm_init_remote_input_dev(struct service_processor *sp) in ibmasm_init_remote_input_dev()
276 void ibmasm_free_remote_input_dev(struct service_processor *sp) in ibmasm_free_remote_input_dev()
Dibmasmfs.c211 void ibmasmfs_add_sp(struct service_processor *sp) in ibmasmfs_add_sp()
218 struct service_processor *sp; member
224 struct service_processor *sp; member
231 struct service_processor *sp; member
345 struct service_processor *sp; in event_file_open() local
377 struct service_processor *sp = event_data->sp; in event_file_read() local
607 struct service_processor *sp; in ibmasmfs_create_files() local
Duart.c34 void ibmasm_register_uart(struct service_processor *sp) in ibmasm_register_uart()
65 void ibmasm_unregister_uart(struct service_processor *sp) in ibmasm_unregister_uart()
/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()
100 static int syncpt_patch_wait(struct host1x_syncpt *sp, void *patch_addr) in syncpt_patch_wait()
/drivers/net/hamradio/
D6pack.c141 struct sixpack *sp = (struct sixpack *) channel; 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 …]
/drivers/scsi/qla2xxx/
Dqla_iocb.c23 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()
578 qla24xx_build_scsi_type_6_iocbs(srb_t *sp, struct cmd_type_6 *cmd_pkt, in qla24xx_build_scsi_type_6_iocbs()
698 qla24xx_build_scsi_iocbs(srb_t *sp, struct cmd_type_7 *cmd_pkt, in qla24xx_build_scsi_iocbs()
773 qla24xx_set_t10dif_tags(srb_t *sp, struct fw_dif_context *pkt, in qla24xx_set_t10dif_tags()
862 srb_t *sp; member
908 qla24xx_walk_and_build_sglist_no_difb(struct qla_hw_data *ha, srb_t *sp, in qla24xx_walk_and_build_sglist_no_difb()
[all …]
Dqla_inline.h132 qla2x00_clean_dsd_pool(struct qla_hw_data *ha, srb_t *sp, in qla2x00_clean_dsd_pool()
178 qla2x00_hba_err_chk_enabled(srb_t *sp) in qla2x00_hba_err_chk_enabled()
221 srb_t *sp = NULL; in qla2x00_get_sp() local
243 qla2x00_rel_sp(scsi_qla_host_t *vha, srb_t *sp) in qla2x00_rel_sp()
250 qla2x00_init_timer(srb_t *sp, unsigned long tmo) in qla2x00_init_timer()
Dqla_mr.c1791 srb_t *sp = (srb_t *)data; in qla2x00_fxdisc_iocb_timeout() local
1800 srb_t *sp = (srb_t *)ptr; in qla2x00_fxdisc_sp_done() local
1809 srb_t *sp; in qlafx00_fx_disc() local
2126 qlafx00_handle_sense(srb_t *sp, uint8_t *sense_data, uint32_t par_sense_len, in qlafx00_handle_sense()
2173 struct tsk_mgmt_entry_fx00 *pkt, srb_t *sp, in qlafx00_tm_iocb_entry()
2191 srb_t *sp; in qlafx00_abort_iocb_entry() local
2208 srb_t *sp; in qlafx00_ioctl_iosb_entry() local
2275 srb_t *sp; in qlafx00_status_entry() local
2553 srb_t *sp = rsp->status_srb; in qlafx00_status_cont_entry() local
2626 srb_t *sp; in qlafx00_multistatus_entry() local
[all …]
Dqla_isr.c1197 srb_t *sp; in qla2x00_process_completed_request() local
1235 srb_t *sp = NULL; in qla2x00_get_sp_from_handle() local
1273 srb_t *sp; in qla2x00_mbx_iocb_entry() local
1358 srb_t *sp; in qla2x00_ct_entry() local
1415 srb_t *sp; in qla24xx_els_ct_entry() local
1506 srb_t *sp; in qla24xx_logio_entry() local
1599 srb_t *sp; in qla24xx_tm_iocb_entry() local
1725 qla2x00_handle_sense(srb_t *sp, uint8_t *sense_data, uint32_t par_sense_len, in qla2x00_handle_sense()
1776 qla2x00_handle_dif_error(srb_t *sp, struct sts_entry_24xx *sts24) in qla2x00_handle_dif_error()
1902 srb_t *sp; in qla25xx_process_bidir_status_iocb() local
[all …]
/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
/drivers/scsi/libfc/
Dfc_exch.c466 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked()
528 static int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send()
551 struct fc_seq *sp; in fc_seq_alloc() local
565 static struct fc_seq *fc_seq_start_next_locked(struct fc_seq *sp) in fc_seq_start_next_locked()
580 static struct fc_seq *fc_seq_start_next(struct fc_seq *sp) in fc_seq_start_next()
596 static void fc_seq_set_resp(struct fc_seq *sp, in fc_seq_set_resp()
631 struct fc_seq *sp; in fc_exch_abort_locked() local
718 static bool fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, in fc_invoke_resp()
757 struct fc_seq *sp = &ep->seq; in fc_exch_timeout() local
941 static void fc_exch_done(struct fc_seq *sp) in fc_exch_done()
[all …]
/drivers/usb/mon/
Dmon_stat.c29 struct snap *sp; in mon_stat_open() local
48 struct snap *sp = file->private_data; in mon_stat_read() local
55 struct snap *sp = file->private_data; in mon_stat_release() local
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mdio.c45 static void sxgbe_mdio_ctrl_data(struct sxgbe_priv_data *sp, u32 cmd, in sxgbe_mdio_ctrl_data()
55 static void sxgbe_mdio_c45(struct sxgbe_priv_data *sp, u32 cmd, int phyaddr, in sxgbe_mdio_c45()
68 static void sxgbe_mdio_c22(struct sxgbe_priv_data *sp, u32 cmd, int phyaddr, in sxgbe_mdio_c22()
82 static int sxgbe_mdio_access(struct sxgbe_priv_data *sp, u32 cmd, int phyaddr, in sxgbe_mdio_access()

123456