Home
last modified time | relevance | path

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

12345678910>>...27

/kernel/linux/linux-5.10/tools/virtio/linux/
Dscatterlist.h14 #define sg_is_chain(sg) ((sg)->page_link & 0x01) argument
15 #define sg_is_last(sg) ((sg)->page_link & 0x02) argument
16 #define sg_chain_ptr(sg) \ argument
29 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
58 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
66 static inline struct page *sg_page(struct scatterlist *sg) in sg_page()
77 #define for_each_sg(sglist, sg, nr, __i) \ argument
115 static inline void sg_mark_end(struct scatterlist *sg) in sg_mark_end()
132 static inline void sg_unmark_end(struct scatterlist *sg) in sg_unmark_end()
137 static inline struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/include/linux/
Dscatterlist.h34 #define sg_dma_address(sg) ((sg)->dma_address) argument
37 #define sg_dma_len(sg) ((sg)->dma_length) argument
39 #define sg_dma_len(sg) ((sg)->length) argument
72 #define sg_is_chain(sg) ((sg)->page_link & SG_CHAIN) argument
73 #define sg_is_last(sg) ((sg)->page_link & SG_END) argument
74 #define sg_chain_ptr(sg) \ argument
87 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
116 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
124 static inline struct page *sg_page(struct scatterlist *sg) in sg_page()
139 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf()
[all …]
Dpci-p2pdma.h87 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_map_sg_attrs()
93 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_unmap_sg_attrs()
122 static inline int pci_p2pdma_map_sg(struct device *dev, struct scatterlist *sg, in pci_p2pdma_map_sg()
129 struct scatterlist *sg, int nents, enum dma_data_direction dir) in pci_p2pdma_unmap_sg()
Dpci-dma-compat.h65 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
72 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
93 pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sg, in pci_dma_sync_sg_for_cpu()
100 pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sg, in pci_dma_sync_sg_for_device()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_gemini.c126 bool gemini_sata_bridge_enabled(struct sata_gemini *sg, bool is_ata1) in gemini_sata_bridge_enabled()
145 enum gemini_muxmode gemini_sata_get_muxmode(struct sata_gemini *sg) in gemini_sata_get_muxmode()
151 static int gemini_sata_setup_bridge(struct sata_gemini *sg, in gemini_sata_setup_bridge()
195 int gemini_sata_start_bridge(struct sata_gemini *sg, unsigned int bridge) in gemini_sata_start_bridge()
216 void gemini_sata_stop_bridge(struct sata_gemini *sg, unsigned int bridge) in gemini_sata_stop_bridge()
225 int gemini_sata_reset_bridge(struct sata_gemini *sg, in gemini_sata_reset_bridge()
237 static int gemini_sata_bridge_init(struct sata_gemini *sg) in gemini_sata_bridge_init()
319 struct sata_gemini *sg; in gemini_sata_probe() local
410 struct sata_gemini *sg = platform_get_drvdata(pdev); in gemini_sata_remove() local
/kernel/linux/linux-5.10/include/soc/fsl/
Ddpaa2-fd.h309 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr()
319 static inline void dpaa2_sg_set_addr(struct dpaa2_sg_entry *sg, dma_addr_t addr) in dpaa2_sg_set_addr()
324 static inline bool dpaa2_sg_short_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_short_len()
336 static inline u32 dpaa2_sg_get_len(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_len()
349 static inline void dpaa2_sg_set_len(struct dpaa2_sg_entry *sg, u32 len) in dpaa2_sg_set_len()
360 static inline u16 dpaa2_sg_get_offset(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_offset()
370 static inline void dpaa2_sg_set_offset(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_offset()
384 dpaa2_sg_get_format(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_format()
395 static inline void dpaa2_sg_set_format(struct dpaa2_sg_entry *sg, in dpaa2_sg_set_format()
408 static inline u16 dpaa2_sg_get_bpid(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_bpid()
[all …]
/kernel/linux/linux-5.10/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()
198 void omap_crypto_cleanup(struct scatterlist *sg, struct scatterlist *orig, in omap_crypto_cleanup()
/kernel/linux/linux-5.10/lib/
Dscatterlist.c23 struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
45 int sg_nents(struct scatterlist *sg) in sg_nents()
68 int sg_nents_for_len(struct scatterlist *sg, u64 len) in sg_nents_for_len()
103 struct scatterlist *sg, *ret = NULL; in sg_last() local
138 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one()
169 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree()
271 struct scatterlist *sg, *prv; in __sg_alloc_table() local
571 struct scatterlist *sgl, *sg; in sgl_alloc_order() local
643 struct scatterlist *sg; in sgl_free_n_order() local
693 static int sg_page_count(struct scatterlist *sg) in sg_page_count()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_scatterlist.h42 static inline int __sg_page_count(const struct scatterlist *sg) in __sg_page_count()
47 static inline struct scatterlist *____sg_next(struct scatterlist *sg) in ____sg_next()
64 static inline struct scatterlist *__sg_next(struct scatterlist *sg) in __sg_next()
95 static inline unsigned int i915_sg_page_sizes(struct scatterlist *sg) in i915_sg_page_sizes()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Drw.c91 struct rdma_rw_reg_ctx *reg, struct scatterlist *sg, in rdma_rw_init_one_mr()
124 u8 port_num, struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_mr_wrs()
195 struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_map_wrs()
251 struct scatterlist *sg, u32 offset, u64 remote_addr, u32 rkey, in rdma_rw_init_single_wr()
276 static void rdma_rw_unmap_sg(struct ib_device *dev, struct scatterlist *sg, in rdma_rw_unmap_sg()
285 static int rdma_rw_map_sg(struct ib_device *dev, struct scatterlist *sg, in rdma_rw_map_sg()
312 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, in rdma_rw_ctx_init()
380 u8 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_signature_init()
585 struct scatterlist *sg, u32 sg_cnt, enum dma_data_direction dir) in rdma_rw_ctx_destroy()
623 u8 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy_signature()
/kernel/linux/linux-5.10/arch/s390/mm/
Dgmap.c241 struct gmap *sg, *next; in gmap_remove() local
1178 static inline void gmap_insert_rmap(struct gmap *sg, unsigned long vmaddr, in gmap_insert_rmap()
1206 static int gmap_protect_rmap(struct gmap *sg, unsigned long raddr, in gmap_protect_rmap()
1287 static void gmap_unshadow_page(struct gmap *sg, unsigned long raddr) in gmap_unshadow_page()
1307 static void __gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_pgt()
1324 static void gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_pgt()
1353 static void __gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_sgt()
1381 static void gmap_unshadow_sgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_sgt()
1410 static void __gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_r3t()
1438 static void gmap_unshadow_r3t(struct gmap *sg, unsigned long raddr) in gmap_unshadow_r3t()
[all …]
/kernel/linux/linux-5.10/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
476 struct scatterlist sg[2]; in h_msb_write_block() local
856 struct scatterlist *sg, int offset) in msb_read_page()
975 struct scatterlist sg; in msb_verify_block() local
997 u16 pba, u32 lba, struct scatterlist *sg, int offset) in msb_write_block()
1112 struct scatterlist *sg, int offset) in msb_update_block()
1189 struct scatterlist sg; in msb_read_boot_blocks() local
1252 struct scatterlist sg; in msb_read_bad_block_table() local
1528 struct scatterlist sg; in msb_cache_flush() local
[all …]
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c63 struct scatterlist sg[1]; in krb5_encrypt() local
102 struct scatterlist sg[1]; in krb5_decrypt() local
132 checksummer(struct scatterlist *sg, void *data) in checksummer()
153 struct scatterlist sg[1]; in make_checksum() local
245 struct scatterlist sg[1]; in make_checksum_v2() local
331 encryptor(struct scatterlist *sg, void *data) in encryptor()
433 decryptor(struct scatterlist *sg, void *data) in decryptor()
547 struct scatterlist sg[1]; in gss_krb5_cts_crypt() local
/kernel/linux/linux-5.10/drivers/mmc/core/
Dmmc_test.c85 struct scatterlist *sg; member
211 struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, in mmc_test_prepare_mrq()
298 struct scatterlist sg; in mmc_test_buffer_transfer() local
414 struct scatterlist *sg = NULL; in mmc_test_map_sg() local
467 struct scatterlist *sg = NULL; in mmc_test_map_sg_max_scatter() local
849 struct scatterlist *sg = t->sg; in mmc_test_nonblock_transfer() local
889 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_simple_transfer()
922 struct scatterlist sg; in mmc_test_broken_transfer() local
946 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_transfer()
1032 struct scatterlist sg; in mmc_test_basic_write() local
[all …]
Dsd_ops.c216 struct scatterlist sg; in mmc_app_send_scr() local
270 struct scatterlist sg; in mmc_sd_switch() local
312 struct scatterlist sg; in mmc_app_sd_status() local
/kernel/linux/linux-5.10/fs/verity/
Dhash_algs.c163 struct scatterlist sg; in fsverity_prepare_hash_state() local
237 struct scatterlist sg; in fsverity_hash_page() local
285 struct scatterlist sg; in fsverity_hash_buffer() local
/kernel/linux/linux-5.10/net/rxrpc/
Drxkad.c105 struct scatterlist sg; in rxkad_prime_packet_security() local
187 struct scatterlist sg; in rxkad_secure_packet_auth() local
225 struct scatterlist sg[16]; in rxkad_secure_packet_encrypt() local
284 struct scatterlist sg; in rxkad_secure_packet() local
358 struct scatterlist sg[16]; in rxkad_verify_packet_1() local
436 struct scatterlist _sg[4], *sg; in rxkad_verify_packet_2() local
533 struct scatterlist sg; in rxkad_verify_packet() local
786 struct scatterlist sg[1]; in rxkad_encrypt_response() local
904 struct scatterlist sg[1]; in rxkad_decrypt_ticket() local
1057 struct scatterlist sg[1]; in rxkad_decrypt_response() local
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/arm/
Dscsi.h24 static inline int copy_SCp_to_sg(struct scatterlist *sg, struct scsi_pointer *SCp, int max) in copy_SCp_to_sg()
97 struct scatterlist *sg; in init_SCp() local
/kernel/linux/linux-5.10/arch/arm/mm/
Ddma-mapping-nommu.c123 struct scatterlist *sg; in arm_nommu_dma_map_sg() local
138 struct scatterlist *sg; in arm_nommu_dma_unmap_sg() local
160 struct scatterlist *sg; in arm_nommu_dma_sync_sg_for_device() local
170 struct scatterlist *sg; in arm_nommu_dma_sync_sg_for_cpu() local
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c67 static void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg) in otx2_dma_unmap_skb_frags()
88 struct sg_list *sg; in otx2_snd_pkt_handler() local
191 struct nix_rx_sg_s *sg = &cqe->sg; in otx2_free_rcv_seg() local
463 struct nix_sqe_sg_s *sg = NULL; in otx2_sqe_add_sg() local
629 struct sg_list *sg = &sq->sg[sqe]; in otx2_dma_map_tso_skb() local
661 struct sg_list *sg = &sq->sg[sqe]; in otx2_tso_frag_dma_addr() local
678 struct nix_sqe_sg_s *sg = NULL; in otx2_sqe_tso_add_sg() local
939 struct sg_list *sg; in otx2_cleanup_tx_cqes() local
/kernel/linux/linux-5.10/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>>...27