Home
last modified time | relevance | path

Searched defs:sg (Results 1 – 25 of 722) sorted by relevance

12345678910>>...29

/openbmc/linux/include/linux/
H A Dscatterlist.h31 #define sg_dma_address(sg) ((sg)->dma_address) argument
34 #define sg_dma_len(sg) ((sg)->dma_length) argument
36 #define sg_dma_len(sg) ((sg)->length) argument
87 static inline bool sg_is_chain(struct scatterlist *sg) in sg_is_chain()
92 static inline bool sg_is_last(struct scatterlist *sg) in sg_is_last()
195 #define for_each_sg(sglist, sg, nr, __i) \ argument
201 #define for_each_sgtable_sg(sgt, sg, i) \ argument
209 #define for_each_sgtable_dma_sg(sgt, sg, i) \ argument
253 static inline void sg_mark_end(struct scatterlist *sg) in sg_mark_end()
402 static inline void *sg_virt(struct scatterlist *sg) in sg_virt()
[all …]
/openbmc/linux/tools/virtio/linux/
H A Dscatterlist.h15 #define sg_is_chain(sg) ((sg)->page_link & 0x01) argument
16 #define sg_is_last(sg) ((sg)->page_link & 0x02) argument
17 #define sg_chain_ptr(sg) \ argument
67 static inline struct page *sg_page(struct scatterlist *sg) in sg_page()
78 #define for_each_sg(sglist, sg, nr, __i) \ argument
116 static inline void sg_mark_end(struct scatterlist *sg) in sg_mark_end()
133 static inline void sg_unmark_end(struct scatterlist *sg) in sg_unmark_end()
138 static inline struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
156 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys()
161 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf()
[all …]
/openbmc/linux/drivers/clk/sprd/
H A Dgate.c13 static void clk_gate_toggle(const struct sprd_gate *sg, bool en) in clk_gate_toggle()
31 static void clk_sc_gate_toggle(const struct sprd_gate *sg, bool en) in clk_sc_gate_toggle()
53 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_disable() local
60 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_enable() local
69 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_sc_gate_disable() local
76 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_sc_gate_enable() local
85 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_pll_sc_gate_prepare() local
95 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_is_enabled() local
/openbmc/linux/drivers/ata/
H A Dsata_gemini.c125 bool gemini_sata_bridge_enabled(struct sata_gemini *sg, bool is_ata1) in gemini_sata_bridge_enabled()
144 enum gemini_muxmode gemini_sata_get_muxmode(struct sata_gemini *sg) in gemini_sata_get_muxmode()
150 static int gemini_sata_setup_bridge(struct sata_gemini *sg, in gemini_sata_setup_bridge()
194 int gemini_sata_start_bridge(struct sata_gemini *sg, unsigned int bridge) in gemini_sata_start_bridge()
218 void gemini_sata_stop_bridge(struct sata_gemini *sg, unsigned int bridge) in gemini_sata_stop_bridge()
227 int gemini_sata_reset_bridge(struct sata_gemini *sg, in gemini_sata_reset_bridge()
239 static int gemini_sata_bridge_init(struct sata_gemini *sg) in gemini_sata_bridge_init()
321 struct sata_gemini *sg; in gemini_sata_probe() local
407 struct sata_gemini *sg = platform_get_drvdata(pdev); in gemini_sata_remove() local
/openbmc/linux/include/soc/fsl/
H A Ddpaa2-fd.h310 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr()
325 static inline bool dpaa2_sg_short_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_short_len()
337 static inline u32 dpaa2_sg_get_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_len()
350 static inline void dpaa2_sg_set_len(struct dpaa2_sg_entry *sg, u32 len) in dpaa2_sg_set_len()
361 static inline u16 dpaa2_sg_get_offset(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_offset()
371 static inline void dpaa2_sg_set_offset(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_offset()
385 dpaa2_sg_get_format(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_format()
396 static inline void dpaa2_sg_set_format(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_format()
409 static inline u16 dpaa2_sg_get_bpid(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_bpid()
419 static inline void dpaa2_sg_set_bpid(struct dpaa2_sg_entry *sg, u16 bpid) in dpaa2_sg_set_bpid()
[all …]
/openbmc/linux/lib/
H A Dscatterlist.c25 struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
47 int sg_nents(struct scatterlist *sg) in sg_nents()
70 int sg_nents_for_len(struct scatterlist *sg, u64 len) in sg_nents_for_len()
105 struct scatterlist *sg, *ret = NULL; in sg_last() local
290 struct scatterlist *sg, *prv; in __sg_alloc_table() local
615 struct scatterlist *sgl, *sg; in sgl_alloc_order() local
687 struct scatterlist *sg; in sgl_free_n_order() local
737 static int sg_page_count(struct scatterlist *sg) in sg_page_count()
761 static int sg_dma_page_count(struct scatterlist *sg) in sg_dma_page_count()
814 struct scatterlist *sg; in sg_miter_get_next_page() local
[all …]
/openbmc/linux/drivers/crypto/
H A Domap-crypto.c17 struct scatterlist **sg, in omap_crypto_copy_sg_lists()
55 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, in omap_crypto_copy_sgs()
88 static int omap_crypto_check_sg(struct scatterlist *sg, int total, int bs, in omap_crypto_check_sg()
125 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs, in omap_crypto_align_sg()
197 void omap_crypto_cleanup(struct scatterlist *sg, struct scatterlist *orig, in omap_crypto_cleanup()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_scatterlist.h50 static inline int __sg_page_count(const struct scatterlist *sg) in __sg_page_count()
55 static inline int __sg_dma_page_count(const struct scatterlist *sg) in __sg_dma_page_count()
60 static inline struct scatterlist *____sg_next(struct scatterlist *sg) in ____sg_next()
77 static inline struct scatterlist *__sg_next(struct scatterlist *sg) in __sg_next()
116 static inline unsigned int i915_sg_dma_sizes(struct scatterlist *sg) in i915_sg_dma_sizes()
H A Di915_scatterlist.c18 struct scatterlist *sg, *new_sg; in i915_sg_trim() local
89 struct scatterlist *sg; in i915_rsgt_from_mm_node() local
174 struct scatterlist *sg; in i915_rsgt_from_buddy_resource() local
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dloop6.c35 #define sg_is_chain(sg) ((sg)->page_link & SG_CHAIN) argument
36 #define sg_is_last(sg) ((sg)->page_link & SG_END) argument
37 #define sg_chain_ptr(sg) \ argument
42 struct scatterlist sg; in __sg_next() local
/openbmc/linux/arch/s390/mm/
H A Dgmap.c252 struct gmap *sg, *next; in gmap_remove() local
1229 static int gmap_protect_rmap(struct gmap *sg, unsigned long raddr, in gmap_protect_rmap()
1347 static void gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_pgt()
1405 static void gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_sgt()
1463 static void gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr) in gmap_unshadow_r3t()
1521 static void gmap_unshadow_r2t(struct gmap *sg, unsigned long raddr) in gmap_unshadow_r2t()
1582 static void gmap_unshadow(struct gmap *sg) in gmap_unshadow()
1622 struct gmap *sg; in gmap_find_shadow() local
1674 struct gmap *sg, *new; in gmap_shadow() local
2016 int gmap_shadow_pgt_lookup(struct gmap *sg, unsigned long saddr, in gmap_shadow_pgt_lookup()
[all …]
/openbmc/qemu/system/
H A Ddma-helpers.c64 QEMUSGList *sg; member
215 QEMUSGList *sg, uint64_t offset, uint32_t align, in dma_blk_io()
251 QEMUSGList *sg, uint64_t offset, uint32_t align, in dma_blk_read()
269 QEMUSGList *sg, uint64_t offset, uint32_t align, in dma_blk_write()
279 QEMUSGList *sg, DMADirection dir, in dma_buf_rw()
306 QEMUSGList *sg, MemTxAttrs attrs) in dma_buf_read()
312 QEMUSGList *sg, MemTxAttrs attrs) in dma_buf_write()
318 QEMUSGList *sg, enum BlockAcctType type) in dma_acct_start()
/openbmc/linux/drivers/memstick/core/
H A Dms_block.c94 static int msb_sg_compare_to_buffer(struct scatterlist *sg, in msb_sg_compare_to_buffer()
340 struct scatterlist sg[2]; in h_msb_read_page() local
478 struct scatterlist sg[2]; in h_msb_write_block() local
860 struct scatterlist *sg, int offset) in msb_read_page()
979 struct scatterlist sg; in msb_verify_block() local
1118 struct scatterlist *sg, int offset) in msb_update_block()
1195 struct scatterlist sg; in msb_read_boot_blocks() local
1258 struct scatterlist sg; in msb_read_bad_block_table() local
1535 struct scatterlist sg; in msb_cache_flush() local
1648 int page, struct scatterlist *sg, int offset) in msb_cache_read()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Drw.c92 struct rdma_rw_reg_ctx *reg, struct scatterlist *sg, in rdma_rw_init_one_mr()
125 u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_mr_wrs()
196 struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_map_wrs()
252 struct scatterlist *sg, u32 offset, u64 remote_addr, u32 rkey, in rdma_rw_init_single_wr()
293 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, in rdma_rw_ctx_init()
365 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_signature_init()
575 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy()
614 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy_signature()
/openbmc/linux/net/rxrpc/
H A Drxkad.c188 struct scatterlist sg; in rxkad_prime_packet_security() local
256 struct scatterlist sg; in rxkad_secure_packet_auth() local
298 struct scatterlist sg; in rxkad_secure_packet_encrypt() local
339 struct scatterlist sg; in rxkad_secure_packet() local
413 struct scatterlist sg[16]; in rxkad_verify_packet_1() local
477 struct scatterlist _sg[4], *sg; in rxkad_verify_packet_2() local
555 struct scatterlist sg; in rxkad_verify_packet() local
765 struct scatterlist sg[1]; in rxkad_encrypt_response() local
868 struct scatterlist sg[1]; in rxkad_decrypt_ticket() local
992 struct scatterlist sg[1]; in rxkad_decrypt_response() local
/openbmc/linux/drivers/mmc/core/
H A Dmmc_test.c84 struct scatterlist *sg; member
297 struct scatterlist sg; in mmc_test_buffer_transfer() local
907 struct scatterlist sg; in mmc_test_broken_transfer() local
1012 struct scatterlist sg; in mmc_test_basic_write() local
1026 struct scatterlist sg; in mmc_test_basic_read() local
1039 struct scatterlist sg; in mmc_test_verify_write() local
1048 struct scatterlist sg; in mmc_test_verify_read() local
1058 struct scatterlist sg; in mmc_test_multi_write() local
1079 struct scatterlist sg; in mmc_test_multi_read() local
1100 struct scatterlist sg; in mmc_test_pow2_write() local
[all …]
/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c111 struct scatterlist sg[1]; in krb5_encrypt() local
166 struct scatterlist sg[1]; in krb5_decrypt() local
196 checksummer(struct scatterlist *sg, void *data) in checksummer()
217 struct scatterlist sg[1]; in make_checksum() local
343 struct scatterlist sg[1]; in gss_krb5_checksum() local
381 encryptor(struct scatterlist *sg, void *data) in encryptor()
483 decryptor(struct scatterlist *sg, void *data) in decryptor()
596 struct scatterlist sg[1]; in gss_krb5_cts_crypt() local
935 struct scatterlist sg[1]; in krb5_etm_checksum() local
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dumr.c491 struct ib_sge *sg) in mlx5r_umr_unmap_free_xlt()
502 static void *mlx5r_umr_create_xlt(struct mlx5_ib_dev *dev, struct ib_sge *sg, in mlx5r_umr_create_xlt()
528 unsigned int flags, struct ib_sge *sg) in mlx5r_umr_set_update_xlt_ctrl_seg()
556 struct ib_sge *sg) in mlx5r_umr_set_update_xlt_data_seg()
575 struct mlx5_ib_mr *mr, struct ib_sge *sg, in mlx5r_umr_final_update_xlt()
621 struct ib_sge sg; in mlx5r_umr_update_mr_pas() local
704 struct ib_sge sg; in mlx5r_umr_update_xlt() local
/openbmc/linux/drivers/crypto/caam/
H A Dsg_sw_qm2.h28 sg_to_qm_sg(struct scatterlist *sg, int len, in sg_to_qm_sg()
49 static inline void sg_to_qm_sg_last(struct scatterlist *sg, int len, in sg_to_qm_sg_last()
H A Dsg_sw_sec4.h48 sg_to_sec4_sg(struct scatterlist *sg, int len, in sg_to_sec4_sg()
77 static inline void sg_to_sec4_sg_last(struct scatterlist *sg, int len, in sg_to_sec4_sg_last()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_dsd.h12 static inline void append_dsd32(struct dsd32 **dsd, struct scatterlist *sg) in append_dsd32()
25 static inline void append_dsd64(struct dsd64 **dsd, struct scatterlist *sg) in append_dsd64()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c120 struct sg_list *sg; in otx2_xdp_snd_pkt_handler() local
143 struct sg_list *sg; in otx2_snd_pkt_handler() local
257 struct nix_rx_sg_s *sg = &cqe->sg; in otx2_free_rcv_seg() local
344 struct nix_rx_sg_s *sg = &cqe->sg; in otx2_rcv_pkt_handler() local
617 struct nix_sqe_sg_s *sg = NULL; in otx2_sqe_add_sg() local
803 struct sg_list *sg = &sq->sg[sqe]; in otx2_dma_map_tso_skb() local
835 struct sg_list *sg = &sq->sg[sqe]; in otx2_tso_frag_dma_addr() local
852 struct nix_sqe_sg_s *sg = NULL; in otx2_sqe_tso_add_sg() local
1259 struct sg_list *sg; in otx2_cleanup_tx_cqes() local
1324 struct sg_list *sg; in otx2_free_pending_sqe() local
[all …]
/openbmc/linux/drivers/usb/storage/
H A Dprotocol.c126 struct scatterlist *sg = *sgptr; in usb_stor_access_xfer_buf() local
173 struct scatterlist *sg = NULL; in usb_stor_set_xfer_buf() local
/openbmc/linux/drivers/crypto/bcm/
H A Dutil.c27 int spu_sg_at_offset(struct scatterlist *sg, unsigned int skip, in spu_sg_at_offset()
95 struct scatterlist *sg; in spu_sg_count() local
137 struct scatterlist *sg; /* an entry in from_sg */ in spu_msg_sg_add() local
273 void __dump_sg(struct scatterlist *sg, unsigned int skip, unsigned int len) in __dump_sg()
/openbmc/linux/drivers/dma-buf/
H A Dudmabuf.c29 struct sg_table *sg; member
90 struct sg_table *sg; in get_sg_table() local
112 static void put_sg_table(struct device *dev, struct sg_table *sg, in put_sg_table()
127 struct sg_table *sg, in unmap_udmabuf()

12345678910>>...29