/linux/drivers/spi/ |
H A D | spi-bcm2835.c | 167 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create() 191 static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) in bcm2835_debugfs_remove() 197 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create() 202 static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) in bcm2835_debugfs_remove() 207 static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned int reg) in bcm2835_rd() 212 static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned int reg, u32 val) in bcm2835_wr() 217 static inline void bcm2835_rd_fifo(struct bcm2835_spi *bs) in bcm2835_rd_fifo() 230 static inline void bcm2835_wr_fifo(struct bcm2835_spi *bs) in bcm2835_wr_fifo() 252 static inline void bcm2835_rd_fifo_count(struct bcm2835_spi *bs, int count) in bcm2835_rd_fifo_count() 278 static inline void bcm2835_wr_fifo_count(struct bcm2835_spi *bs, int count) in bcm2835_wr_fifo_count() [all …]
|
H A D | spi-bcm2835aux.c | 105 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create() 127 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove() 133 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create() 138 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove() 143 static inline u32 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned int reg) in bcm2835aux_rd() 148 static inline void bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned int reg, in bcm2835aux_wr() 154 static inline void bcm2835aux_rd_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_rd_fifo() 177 static inline void bcm2835aux_wr_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_wr_fifo() 206 static void bcm2835aux_spi_reset_hw(struct bcm2835aux_spi *bs) in bcm2835aux_spi_reset_hw() 214 static void bcm2835aux_spi_transfer_helper(struct bcm2835aux_spi *bs) in bcm2835aux_spi_transfer_helper() [all …]
|
H A D | spi-bcm63xx-hsspi.c | 122 #define bcm63xx_prepend_printk_on_checkfail(bs, fmt, ...) \ argument 152 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_show() local 161 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_store() local 188 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in xfer_mode_show() local 197 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in xfer_mode_store() local 235 static int bcm63xx_hsspi_wait_cmd(struct bcm63xx_hsspi *bs) in bcm63xx_hsspi_wait_cmd() 270 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); in bcm63xx_prepare_prepend_transfer() local 351 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_hsspi_do_prepend_txrx() local 425 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned int cs, in bcm63xx_hsspi_set_cs() 441 static void bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, in bcm63xx_hsspi_set_clk() [all …]
|
H A D | spi-bcmbca-hsspi.c | 130 struct bcmbca_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_show() local 139 struct bcmbca_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_store() local 171 static void bcmbca_hsspi_set_cs(struct bcmbca_hsspi *bs, unsigned int cs, in bcmbca_hsspi_set_cs() 193 static void bcmbca_hsspi_set_clk(struct bcmbca_hsspi *bs, in bcmbca_hsspi_set_clk() 221 static int bcmbca_hsspi_wait_cmd(struct bcmbca_hsspi *bs, unsigned int cs) in bcmbca_hsspi_wait_cmd() 253 struct bcmbca_hsspi *bs = spi_controller_get_devdata(spi->controller); in bcmbca_hsspi_do_txrx() local 331 struct bcmbca_hsspi *bs = spi_controller_get_devdata(spi->controller); in bcmbca_hsspi_setup() local 372 struct bcmbca_hsspi *bs = spi_controller_get_devdata(host); in bcmbca_hsspi_transfer_one() local 419 struct bcmbca_hsspi *bs = (struct bcmbca_hsspi *)dev_id; in bcmbca_hsspi_interrupt() local 435 struct bcmbca_hsspi *bs; in bcmbca_hsspi_probe() local [all …]
|
H A D | spi-bcm63xx.c | 154 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb() 160 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb() 166 static inline void bcm_spi_writew(struct bcm63xx_spi *bs, in bcm_spi_writew() 189 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_spi_setup_transfer() local 220 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_txrx_bufs() local 318 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_transfer_one() local 399 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_interrupt() local 416 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_spi_max_length() local 486 struct bcm63xx_spi *bs; in bcm63xx_spi_probe() local 613 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_remove() local [all …]
|
/linux/net/netfilter/ |
H A D | nf_conntrack_h323_asn1.c | 100 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} argument 101 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} argument 102 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} argument 150 static unsigned int get_len(struct bitstr *bs) in get_len() 165 static int nf_h323_error_boundary(struct bitstr *bs, size_t bytes, size_t bits) in nf_h323_error_boundary() 178 static unsigned int get_bit(struct bitstr *bs) in get_bit() 188 static unsigned int get_bits(struct bitstr *bs, unsigned int b) in get_bits() 213 static unsigned int get_bitmap(struct bitstr *bs, unsigned int b) in get_bitmap() 252 static unsigned int get_uint(struct bitstr *bs, int b) in get_uint() 276 static int decode_nul(struct bitstr *bs, const struct field_t *f, in decode_nul() [all …]
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-h264.c | 24 struct bs { struct 31 static void bs_init(struct bs *s, void *buf, int size) in bs_init() argument 103 struct bs bs, *s; in tw5864_h264_gen_sps_rbsp() local 132 struct bs bs, *s; in tw5864_h264_gen_pps_rbsp() local 160 struct bs bs, *s; in tw5864_h264_gen_slice_head() local
|
/linux/fs/xfs/scrub/ |
H A D | btree.c | 138 struct xchk_btree *bs) in xchk_btree_rec() 187 struct xchk_btree *bs, in xchk_btree_key() 235 struct xchk_btree *bs, in xchk_btree_ptr_ok() 256 struct xchk_btree *bs, in xchk_btree_block_check_sibling() 319 struct xchk_btree *bs, in xchk_btree_block_check_siblings() 367 struct xchk_btree *bs, in xchk_btree_check_block_owner() 418 struct xchk_btree *bs, in xchk_btree_check_owner() 464 struct xchk_btree *bs) in xchk_btree_check_iroot_minrecs() 491 struct xchk_btree *bs, in xchk_btree_check_minrecs() 539 struct xchk_btree *bs, in xchk_btree_block_check_keys() [all …]
|
H A D | rmap.c | 147 struct xchk_btree *bs) in xchk_rmapbt_check_unwritten_in_keyflags() 203 struct xchk_btree *bs, in xchk_rmapbt_check_overlapping() 267 struct xchk_btree *bs, in xchk_rmapbt_check_mergeable() 283 struct xchk_btree *bs, in xchk_rmapbt_mark_bitmap() 354 struct xchk_btree *bs, in xchk_rmapbt_rec()
|
H A D | ialloc.c | 254 struct xchk_btree *bs, in xchk_iallocbt_chunk() 301 struct xchk_btree *bs, in xchk_iallocbt_check_cluster_ifree() 363 struct xchk_btree *bs, in xchk_iallocbt_check_cluster() 466 struct xchk_btree *bs, in xchk_iallocbt_check_clusters() 498 struct xchk_btree *bs, in xchk_iallocbt_rec_alignment() 574 struct xchk_btree *bs, in xchk_iallocbt_rec()
|
H A D | alloc.c | 117 struct xchk_btree *bs, in xchk_allocbt_mergeable() 135 struct xchk_btree *bs, in xchk_allocbt_rec()
|
/linux/arch/s390/crypto/ |
H A D | hmac_s390.c | 49 #define SHA2_CV_SIZE(bs) ((bs) >> 1) argument 50 #define SHA2_IMBL_SIZE(bs) ((bs) >> 3) argument 52 #define SHA2_IMBL_OFFSET(bs) (SHA2_CV_SIZE(bs)) argument 53 #define SHA2_KEY_OFFSET(bs) (SHA2_CV_SIZE(bs) + SHA2_IMBL_SIZE(bs)) argument 159 unsigned int bs = crypto_shash_blocksize(tfm); in s390_hmac_sha2_setkey() local 174 unsigned int bs = crypto_shash_blocksize(desc->tfm); in s390_hmac_sha2_init() local 205 unsigned int bs = crypto_shash_blocksize(desc->tfm); in s390_hmac_sha2_update() local 243 unsigned int bs = crypto_shash_blocksize(desc->tfm); in s390_hmac_sha2_final() local
|
/linux/drivers/block/drbd/ |
H A D | drbd_vli.h | 226 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init() 234 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind() 248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits() 281 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits() 328 static inline int vli_encode_bits(struct bitstream *bs, u64 in) in vli_encode_bits()
|
/linux/drivers/crypto/ |
H A D | omap-crypto.c | 16 static int omap_crypto_copy_sg_lists(int total, int bs, 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()
|
/linux/drivers/pcmcia/ |
H A D | sa11xx_base.h | 69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument 78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument 84 #define MECR_BSA_SET(mecr, sock, bs) \ argument 90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
|
/linux/block/ |
H A D | bio.c | 112 static inline unsigned int bs_bio_slab_size(struct bio_set *bs) in bs_bio_slab_size() 117 static struct kmem_cache *bio_find_or_create_slab(struct bio_set *bs) in bio_find_or_create_slab() 135 static void bio_put_slab(struct bio_set *bs) in bio_put_slab() 230 struct bio_set *bs = bio->bi_pool; in bio_free() local 375 struct bio_set *bs = container_of(work, struct bio_set, rescue_work); in bio_alloc_rescue() local 390 static void punt_bios_to_rescuer(struct bio_set *bs) in punt_bios_to_rescuer() 445 struct bio_set *bs) in bio_alloc_percpu_cache() 505 struct bio_set *bs) in bio_alloc_bioset() 742 struct bio_set *bs; in bio_cpu_dead() local 753 static void bio_alloc_cache_destroy(struct bio_set *bs) in bio_alloc_cache_destroy() [all …]
|
H A D | bio-integrity.c | 34 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local 63 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local 570 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create() 588 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()
|
/linux/crypto/ |
H A D | xcbc.c | 58 int bs = sizeof(key1); in crypto_xcbc_digest_setkey() local 74 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() local 90 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_update() local 135 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_final() local
|
H A D | cmac.c | 54 unsigned int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_setkey() local 106 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_cmac_digest_init() local 122 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_update() local 167 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_final() local
|
/linux/drivers/misc/sgi-gru/ |
H A D | grukservices.c | 140 static void gru_load_kernel_context(struct gru_blade_state *bs, int blade_id) in gru_load_kernel_context() 189 struct gru_blade_state *bs; in gru_free_kernel_contexts() local 218 struct gru_blade_state *bs; in gru_lock_kernel_context() local 244 struct gru_blade_state *bs; in gru_unlock_kernel_context() local 257 struct gru_blade_state *bs; in gru_get_cpu_resources() local 291 struct gru_blade_state *bs; in gru_reserve_async_resources() local 325 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_release_async_resources() local 342 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_wait_async_cbr() local 359 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_lock_async_resource() local
|
/linux/sound/soc/meson/ |
H A D | aiu-encoder-i2s.c | 83 unsigned int bs) in aiu_encoder_i2s_set_legacy_div() 113 unsigned int bs) in aiu_encoder_i2s_set_more_div() 149 unsigned int fs, bs; in aiu_encoder_i2s_set_clocks() local
|
/linux/drivers/atm/ |
H A D | nicstarmac.c | 104 #define NICSTAR_REG_WRITE(bs, reg, val) \ argument 107 #define NICSTAR_REG_READ(bs, reg) \ argument
|
/linux/arch/powerpc/include/asm/ |
H A D | bitops.h | 48 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) argument 56 #define PPC_BITMASK32(bs, be) ((PPC_BIT32(bs) - PPC_BIT32(be))|PPC_BIT32(bs)) argument 60 #define PPC_BITMASK8(bs, be) ((PPC_BIT8(bs) - PPC_BIT8(be))|PPC_BIT8(bs)) argument
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_debugfs.h | 38 } bs; member 49 } bs; member 72 } bs; member
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-hash.c | 52 int bs = crypto_ahash_blocksize(ahash); in sun8i_ss_hmac_setkey() local 412 static u64 hash_pad(__le32 *buf, unsigned int bufsize, u64 padi, u64 byte_count, bool le, int bs) in hash_pad() 483 int bs = crypto_ahash_blocksize(tfm); in sun8i_ss_hash_run() local
|