/linux/drivers/gpu/host1x/ |
H A D | syncpt.c | 62 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 …]
|
H A D | syncpt.h | 74 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()
|
/linux/drivers/crypto/ccp/ |
H A D | sp-dev.c | 43 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 …]
|
H A D | sp-platform.c | 77 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 192 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_suspend() local 200 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_resume() local
|
/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 120 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 …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_iocb.c | 22 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 …]
|
/linux/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 53 #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 …]
|
/linux/drivers/spi/ |
H A D | spi-mtk-nor.c | 100 #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->controller); 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 …]
|
H A D | spi-ath79.c | 49 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 236 struct ath79_spi *sp = platform_get_drvdata(pdev); in ath79_spi_remove() local
|
H A D | spi-sh-sci.c | 33 #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
|
/linux/drivers/base/ |
H A D | bus.c | 62 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 183 struct subsys_private *sp = bus_to_subsys(bus); in bus_create_file() local 198 struct subsys_private *sp = bus_to_subsys(bus); in bus_remove_file() local 281 struct subsys_private *sp = bus_to_subsys(bus); in drivers_autoprobe_show() local 295 struct subsys_private *sp = bus_to_subsys(bus); in drivers_autoprobe_store() local 359 struct subsys_private *sp = bus_to_subsys(bus); in bus_for_each_dev() local 396 struct subsys_private *sp = bus_to_subsys(bus); in bus_find_device() local 451 struct subsys_private *sp = bus_to_subsys(bus); in bus_for_each_drv() local [all …]
|
/linux/drivers/net/hamradio/ |
H A D | 6pack.c | 136 struct sixpack *sp = timer_container_of(sp, t, tx_t); in sp_xmit_on_air() local 159 static void sp_encaps(struct sixpack *sp, unsigned char *icp, int len) in sp_encaps() 238 struct sixpack *sp = netdev_priv(dev); in sp_xmit() local 257 struct sixpack *sp = netdev_priv(dev); in sp_open_dev() local 267 struct sixpack *sp = netdev_priv(dev); in sp_close() local 326 static void sp_bump(struct sixpack *sp, char cmd) in sp_bump() 368 struct sixpack *sp; in sp_get() local 379 static void sp_put(struct sixpack *sp) in sp_put() 391 struct sixpack *sp = sp_get(tty); in sixpack_write_wakeup() local 427 struct sixpack *sp; in sixpack_receive_buf() local [all …]
|
/linux/drivers/misc/ibmasm/ |
H A D | command.c | 20 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()
|
H A D | event.c | 26 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()
|
H A D | remote.h | 75 #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 …]
|
/linux/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 123 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() 499 static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp) in s2io_stop_all_tx_queue() 510 static inline void s2io_stop_tx_queue(struct s2io_nic *sp, int fifo_no) in s2io_stop_tx_queue() 519 static inline void s2io_start_all_tx_queue(struct s2io_nic *sp) in s2io_start_all_tx_queue() 530 static inline void s2io_wake_all_tx_queue(struct s2io_nic *sp) in s2io_wake_all_tx_queue() 2076 static int verify_pcc_quiescent(struct s2io_nic *sp, int flag) in verify_pcc_quiescent() 2118 static int verify_xena_quiescence(struct s2io_nic *sp) in verify_xena_quiescence() 2185 static void fix_mac_address(struct s2io_nic *sp) in fix_mac_address() 2661 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) in free_rxd_blk() [all …]
|
/linux/drivers/gpu/host1x/hw/ |
H A D | syncpt_hw.c | 16 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()
|
/linux/drivers/scsi/libfc/ |
H A D | fc_exch.c | 463 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 …]
|
/linux/net/rxrpc/ |
H A D | io_thread.c | 91 struct rxrpc_skb_priv *sp = rxrpc_skb(skb); in rxrpc_direct_abort() local 106 struct rxrpc_skb_priv *sp = rxrpc_skb(skb); in rxrpc_direct_conn_abort() local 126 struct rxrpc_skb_priv *sp = rxrpc_skb(skb); in rxrpc_input_version() local 143 static bool rxrpc_extract_header(struct rxrpc_skb_priv *sp, in rxrpc_extract_header() 199 struct rxrpc_skb_priv *sp; in rxrpc_input_packet() local 351 struct rxrpc_skb_priv *sp = rxrpc_skb(skb); in rxrpc_input_packet_on_conn() local 492 struct rxrpc_skb_priv *sp = rxrpc_skb(skb); in rxrpc_io_thread() local
|
H A D | oob.c | 37 struct rxrpc_skb_priv *sp = rxrpc_skb(skb); in rxrpc_notify_socket_oob() local 178 struct rxrpc_skb_priv *sp; in rxrpc_respond_to_oob() local 269 struct rxrpc_skb_priv *sp = rxrpc_skb(oob); in rxrpc_kernel_query_oob() local 320 struct rxrpc_skb_priv *sp = rxrpc_skb(oob); in rxrpc_kernel_free_oob() local 347 struct rxrpc_skb_priv *sp = rxrpc_skb(challenge); in rxrpc_kernel_query_challenge() local 372 struct rxrpc_skb_priv *sp = rxrpc_skb(challenge); in rxrpc_kernel_reject_challenge() local
|
/linux/io_uring/ |
H A D | splice.c | 30 struct io_splice *sp = io_kiocb_to_cmd(req, struct io_splice); in __io_splice_prep() local 52 struct io_splice *sp = io_kiocb_to_cmd(req, struct io_splice); in io_splice_cleanup() local 61 struct io_splice *sp = io_kiocb_to_cmd(req, struct io_splice); in io_splice_get_file() local 83 struct io_splice *sp = io_kiocb_to_cmd(req, struct io_splice); in io_tee() local 111 struct io_splice *sp = io_kiocb_to_cmd(req, struct io_splice); in io_splice_prep() local 120 struct io_splice *sp = io_kiocb_to_cmd(req, struct io_splice); in io_splice() local
|
/linux/drivers/net/fddi/skfp/ |
H A D | pmf.c | 700 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
|
/linux/arch/x86/kvm/mmu/ |
H A D | mmu.c | 286 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in kvm_flush_remote_tlbs_sptep() local 370 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in count_spte_clear() local 454 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in __get_spte_lockless() local 639 static gfn_t kvm_mmu_page_get_gfn(struct kvm_mmu_page *sp, int index) in kvm_mmu_page_get_gfn() 656 static u32 kvm_mmu_page_get_access(struct kvm_mmu_page *sp, int index) in kvm_mmu_page_get_access() 676 static void kvm_mmu_page_set_translation(struct kvm_mmu_page *sp, int index, in kvm_mmu_page_set_translation() 695 static void kvm_mmu_page_set_access(struct kvm_mmu_page *sp, int index, in kvm_mmu_page_set_access() 749 static void account_shadowed(struct kvm *kvm, struct kvm_mmu_page *sp) in account_shadowed() 779 void track_possible_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp) in track_possible_nx_huge_page() 797 static void account_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp, in account_nx_huge_page() [all …]
|
/linux/arch/s390/kernel/ |
H A D | unwind_bc.c | 22 static bool outside_of_stack(struct unwind_state *state, unsigned long sp) in outside_of_stack() 28 static bool update_stack_info(struct unwind_state *state, unsigned long sp) in update_stack_info() 61 unsigned long sp, ip; in unwind_next_frame() local 132 unsigned long ip, sp; in __unwind_start() local
|
/linux/kernel/rcu/ |
H A D | rcu.h | 87 static inline void rcu_seq_set_state(unsigned long *sp, int newstate) in rcu_seq_set_state() 94 static inline void rcu_seq_start(unsigned long *sp) in rcu_seq_start() 102 static inline unsigned long rcu_seq_endval(unsigned long *sp) in rcu_seq_endval() 108 static inline void rcu_seq_end(unsigned long *sp) in rcu_seq_end() 126 static inline unsigned long rcu_seq_snap(unsigned long *sp) in rcu_seq_snap() 136 static inline unsigned long rcu_seq_current(unsigned long *sp) in rcu_seq_current() 145 static inline bool rcu_seq_started(unsigned long *sp, unsigned long s) in rcu_seq_started() 154 static inline bool rcu_seq_done(unsigned long *sp, unsigned long s) in rcu_seq_done() 173 static inline bool rcu_seq_done_exact(unsigned long *sp, unsigned long s) in rcu_seq_done_exact() 404 #define _rcu_for_each_node_breadth_first(sp, rnp) \ argument [all …]
|