Home
last modified time | relevance | path

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

12345678910>>...29

/linux-6.12.1/include/linux/
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
77 static inline unsigned int __sg_flags(struct scatterlist *sg) in __sg_flags()
82 static inline struct scatterlist *sg_chain_ptr(struct scatterlist *sg) in sg_chain_ptr()
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()
107 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
136 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
158 static inline void sg_set_folio(struct scatterlist *sg, struct folio *folio, in sg_set_folio()
[all …]
/linux-6.12.1/tools/virtio/linux/
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
30 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
59 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
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()
[all …]
/linux-6.12.1/drivers/clk/sprd/
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
/linux-6.12.1/drivers/ata/
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
/linux-6.12.1/include/soc/fsl/
Ddpaa2-fd.h310 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr()
320 static inline void dpaa2_sg_set_addr(struct dpaa2_sg_entry *sg, dma_addr_t addr) in dpaa2_sg_set_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()
[all …]
/linux-6.12.1/lib/
Dscatterlist.c26 struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
48 int sg_nents(struct scatterlist *sg) in sg_nents()
71 int sg_nents_for_len(struct scatterlist *sg, u64 len) in sg_nents_for_len()
106 struct scatterlist *sg, *ret = NULL; in sg_last() local
141 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one()
172 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree()
291 struct scatterlist *sg, *prv; in __sg_alloc_table() local
616 struct scatterlist *sgl, *sg; in sgl_alloc_order() local
688 struct scatterlist *sg; in sgl_free_n_order() local
738 static int sg_page_count(struct scatterlist *sg) in sg_page_count()
[all …]
/linux-6.12.1/drivers/crypto/
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()
/linux-6.12.1/drivers/gpu/drm/i915/
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()
126 static inline unsigned int i915_sg_dma_sizes(struct scatterlist *sg) in i915_sg_dma_sizes()
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
/linux-6.12.1/arch/s390/mm/
Dgmap.c254 struct gmap *sg, *next; in gmap_remove() local
1196 static inline void gmap_insert_rmap(struct gmap *sg, unsigned long vmaddr, in gmap_insert_rmap()
1231 static int gmap_protect_rmap(struct gmap *sg, unsigned long raddr, in gmap_protect_rmap()
1312 static void gmap_unshadow_page(struct gmap *sg, unsigned long raddr) in gmap_unshadow_page()
1332 static void __gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_pgt()
1349 static void gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_pgt()
1379 static void __gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_sgt()
1407 static void gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_sgt()
1437 static void __gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_r3t()
1465 static void gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr) in gmap_unshadow_r3t()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
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
/linux-6.12.1/drivers/infiniband/core/
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()
/linux-6.12.1/drivers/memstick/core/
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
1001 u16 pba, u32 lba, struct scatterlist *sg, int offset) in msb_write_block()
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
[all …]
/linux-6.12.1/net/rxrpc/
Drxkad.c188 struct scatterlist sg; in rxkad_prime_packet_security() local
257 struct scatterlist sg; in rxkad_secure_packet_auth() local
300 struct scatterlist sg; in rxkad_secure_packet_encrypt() local
341 struct scatterlist sg; in rxkad_secure_packet() local
415 struct scatterlist sg[16]; in rxkad_verify_packet_1() local
479 struct scatterlist _sg[4], *sg; in rxkad_verify_packet_2() local
557 struct scatterlist sg; in rxkad_verify_packet() local
766 struct scatterlist sg[1]; in rxkad_encrypt_response() local
869 struct scatterlist sg[1]; in rxkad_decrypt_ticket() local
993 struct scatterlist sg[1]; in rxkad_decrypt_response() local
/linux-6.12.1/drivers/mmc/core/
Dmmc_test.c84 struct scatterlist *sg; member
210 struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, in mmc_test_prepare_mrq()
297 struct scatterlist sg; in mmc_test_buffer_transfer() local
413 struct scatterlist *sg = NULL; in mmc_test_map_sg() local
466 struct scatterlist *sg = NULL; in mmc_test_map_sg_max_scatter() local
834 struct scatterlist *sg = t->sg; in mmc_test_nonblock_transfer() local
874 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_simple_transfer()
907 struct scatterlist sg; in mmc_test_broken_transfer() local
931 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_transfer()
1012 struct scatterlist sg; in mmc_test_basic_write() local
[all …]
/linux-6.12.1/net/sunrpc/auth_gss/
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
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c104 static void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg) in otx2_dma_unmap_skb_frags()
120 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
620 struct nix_sqe_sg_s *sg = NULL; in otx2_sqe_add_sg() local
806 struct sg_list *sg = &sq->sg[sqe]; in otx2_dma_map_tso_skb() local
838 struct sg_list *sg = &sq->sg[sqe]; in otx2_tso_frag_dma_addr() local
855 struct nix_sqe_sg_s *sg = NULL; in otx2_sqe_tso_add_sg() local
1262 struct sg_list *sg; in otx2_cleanup_tx_cqes() local
[all …]
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dumr.c523 struct ib_sge *sg) in mlx5r_umr_unmap_free_xlt()
534 static void *mlx5r_umr_create_xlt(struct mlx5_ib_dev *dev, struct ib_sge *sg, in mlx5r_umr_create_xlt()
560 unsigned int flags, struct ib_sge *sg) in mlx5r_umr_set_update_xlt_ctrl_seg()
588 struct ib_sge *sg) in mlx5r_umr_set_update_xlt_data_seg()
607 struct mlx5_ib_mr *mr, struct ib_sge *sg, in mlx5r_umr_final_update_xlt()
651 struct ib_sge sg; in _mlx5r_umr_update_mr_pas() local
769 struct ib_sge sg; in mlx5r_umr_update_xlt() local
/linux-6.12.1/drivers/crypto/caam/
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()
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()
/linux-6.12.1/drivers/scsi/qla2xxx/
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()
/linux-6.12.1/drivers/crypto/bcm/
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()
/linux-6.12.1/kernel/dma/
Ddebug.h70 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg()
119 struct scatterlist *sg, in debug_dma_sync_sg_for_cpu()
125 struct scatterlist *sg, in debug_dma_sync_sg_for_device()
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dopal-sensor-groups.c27 struct attribute_group sg; member
129 static int __init add_attr_group(const __be32 *ops, int len, struct sensor_group *sg, in add_attr_group()
162 struct device_node *sg, *node; in opal_sensor_groups_init() local
/linux-6.12.1/drivers/usb/storage/
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

12345678910>>...29