Home
last modified time | relevance | path

Searched refs:bops (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhnae.h573 struct hnae_buf_ops *bops; /* operation for the buffer */ member
582 struct hnae_buf_ops *bops);
602 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_reserve_buffer_map() local
605 ret = bops->alloc_buffer(ring, cb); in hnae_reserve_buffer_map()
609 ret = bops->map_buffer(ring, cb); in hnae_reserve_buffer_map()
616 bops->free_buffer(ring, cb); in hnae_reserve_buffer_map()
635 ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]); in hnae_buffer_detach()
641 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_free_buffer_detach() local
648 bops->free_buffer(ring, cb); in hnae_free_buffer_detach()
655 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_replace_buffer() local
[all …]
Dhnae.c329 struct hnae_buf_ops *bops) in hnae_get_handle() argument
348 handle->bops = bops ? bops : &hnae_bops; in hnae_get_handle()
/Linux-v4.19/drivers/misc/
Dad525x_dpot-i2c.c45 static const struct ad_dpot_bus_ops bops = { variable
59 .bops = &bops, in ad_dpot_i2c_probe()
Dad525x_dpot-spi.c74 static const struct ad_dpot_bus_ops bops = { variable
86 .bops = &bops, in ad_dpot_spi_probe()
Dad525x_dpot.c99 return dpot->bdata.bops->read_d8(dpot->bdata.client); in dpot_read_d8()
104 return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg); in dpot_read_r8d8()
109 return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg); in dpot_read_r8d16()
114 return dpot->bdata.bops->write_d8(dpot->bdata.client, val); in dpot_write_d8()
119 return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val); in dpot_write_r8d8()
124 return dpot->bdata.bops->write_r8d16(dpot->bdata.client, reg, val); in dpot_write_r8d16()
Dad525x_dpot.h208 const struct ad_dpot_bus_ops *bops; member
/Linux-v4.19/drivers/staging/iio/adc/
Dad7606.h36 const struct ad7606_bus_ops *bops; member
65 const struct ad7606_bus_ops *bops);
Dad7606.c63 ret = st->bops->read_block(st->dev, 1, data); in ad7606_read_samples()
76 return st->bops->read_block(st->dev, num, data); in ad7606_read_samples()
399 const struct ad7606_bus_ops *bops) in ad7606_probe() argument
413 st->bops = bops; in ad7606_probe()
/Linux-v4.19/drivers/input/misc/
Dadxl34x.c181 #define AC_READ(ac, reg) ((ac)->bops->read((ac)->dev, reg))
182 #define AC_WRITE(ac, reg, val) ((ac)->bops->write((ac)->dev, reg, val))
209 const struct adxl34x_bus_ops *bops; member
242 ac->bops->read_block(ac->dev, DATAX0, DATAZ1 - DATAX0 + 1, buf); in adxl34x_get_triple()
693 const struct adxl34x_bus_ops *bops) in adxl34x_probe() argument
729 ac->bops = bops; in adxl34x_probe()
754 input_dev->id.bustype = bops->bustype; in adxl34x_probe()
Dcma3000_d0x.h37 const struct cma3000_bus_ops *bops);
Dadxl34x.h27 const struct adxl34x_bus_ops *bops);
Dcma3000_d0x.c285 const struct cma3000_bus_ops *bops) in cma3000_init() argument
315 data->bus_ops = bops; in cma3000_init()
335 input_dev->id.bustype = bops->bustype; in cma3000_init()
/Linux-v4.19/drivers/md/persistent-data/
Ddm-space-map-metadata.c98 struct block_op bops[MAX_RECURSIVE_ALLOCATIONS + 1]; member
115 return r >= ARRAY_SIZE(brb->bops) ? 0 : r; in brb_next()
131 bop = brb->bops + brb->end; in brb_push()
147 bop = brb->bops + brb->begin; in brb_peek()
315 struct block_op *op = smm->uncommitted.bops + i; in sm_metadata_get_count()
356 struct block_op *op = smm->uncommitted.bops + i; in sm_metadata_count_is_more_than_one()
/Linux-v4.19/arch/mips/include/asm/
Dmips-r2-to-r6-emul.h19 u64 bops; member
/Linux-v4.19/arch/mips/kernel/
Dmips-r2-to-r6-emul.c787 MIPS_R2_STATS(bops); in clz_func()
812 MIPS_R2_STATS(bops); in clo_func()
839 MIPS_R2_STATS(bops); in dclz_func()
866 MIPS_R2_STATS(bops); in dclo_func()
2265 (unsigned long)__this_cpu_read(mipsr2emustats.bops), in mipsr2_stats_show()
2266 (unsigned long)__this_cpu_read(mipsr2bdemustats.bops)); in mipsr2_stats_show()
2325 __this_cpu_write((mipsr2emustats).bops, 0); in mipsr2_stats_clear_show()
2326 __this_cpu_write((mipsr2bdemustats).bops, 0); in mipsr2_stats_clear_show()
/Linux-v4.19/net/netfilter/
Dnf_tables_api.c2827 const struct nft_set_ops *ops, *bops; in nft_select_set_ops() local
2844 bops = NULL; in nft_select_set_ops()
2872 } else if (est.size < best.size || !bops) { in nft_select_set_ops()
2882 if (bops != NULL) in nft_select_set_ops()
2883 module_put(to_set_type(bops)->owner); in nft_select_set_ops()
2885 bops = ops; in nft_select_set_ops()
2889 if (bops != NULL) in nft_select_set_ops()
2890 return bops; in nft_select_set_ops()