/drivers/iio/adc/ |
D | ad7606_spi.c | 138 st->d16[0] = cpu_to_be16(st->bops->rd_wr_cmd(addr, 0) << 8); in ad7606_spi_reg_read() 153 st->d16[0] = cpu_to_be16((st->bops->rd_wr_cmd(addr, 1) << 8) | in ad7606_spi_reg_write() 166 readval = st->bops->reg_read(st, addr); in ad7606_spi_write_mask() 173 return st->bops->reg_write(st, addr, readval); in ad7606_spi_write_mask() 200 return st->bops->write_mask(st, ch_addr, AD7616_RANGE_CH_MSK(ch_index), in ad7616_write_scale_sw() 208 return st->bops->write_mask(st, AD7616_CONFIGURATION_REGISTER, in ad7616_write_os_sw() 243 return st->bops->write_mask(st, in ad7616_sw_mode_config() 272 st->bops->reg_write(st, in ad7606B_sw_mode_config() 310 const struct ad7606_bus_ops *bops; in ad7606_spi_probe() local 314 bops = &ad7616_spi_bops; in ad7606_spi_probe() [all …]
|
D | ad7606.c | 73 ret = st->bops->reg_read(st, reg); in ad7606_reg_access() 79 ret = st->bops->reg_write(st, reg, writeval); in ad7606_reg_access() 103 ret = st->bops->read_block(st->dev, 1, data); in ad7606_read_samples() 116 return st->bops->read_block(st->dev, num, data); in ad7606_read_samples() 568 const struct ad7606_bus_ops *bops) in ad7606_probe() argument 583 st->bops = bops; in ad7606_probe() 647 if (st->bops->sw_mode_config) in ad7606_probe() 660 ret = st->bops->sw_mode_config(indio_dev); in ad7606_probe()
|
D | ad7606.h | 96 const struct ad7606_bus_ops *bops; member 154 const struct ad7606_bus_ops *bops);
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 560 struct hnae_buf_ops *bops; /* operation for the buffer */ member 569 struct hnae_buf_ops *bops); 589 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_reserve_buffer_map() local 592 ret = bops->alloc_buffer(ring, cb); in hnae_reserve_buffer_map() 596 ret = bops->map_buffer(ring, cb); in hnae_reserve_buffer_map() 603 bops->free_buffer(ring, cb); in hnae_reserve_buffer_map() 622 ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]); in hnae_buffer_detach() 628 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_free_buffer_detach() local 635 bops->free_buffer(ring, cb); in hnae_free_buffer_detach() 642 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_replace_buffer() local [all …]
|
D | hnae.c | 326 struct hnae_buf_ops *bops) in hnae_get_handle() argument 345 handle->bops = bops ? bops : &hnae_bops; in hnae_get_handle()
|
/drivers/misc/ |
D | ad525x_dpot-i2c.c | 44 static const struct ad_dpot_bus_ops bops = { variable 58 .bops = &bops, in ad_dpot_i2c_probe()
|
D | ad525x_dpot-spi.c | 73 static const struct ad_dpot_bus_ops bops = { variable 85 .bops = &bops, in ad_dpot_spi_probe()
|
D | ad525x_dpot.c | 98 return dpot->bdata.bops->read_d8(dpot->bdata.client); in dpot_read_d8() 103 return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg); in dpot_read_r8d8() 108 return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg); in dpot_read_r8d16() 113 return dpot->bdata.bops->write_d8(dpot->bdata.client, val); in dpot_write_d8() 118 return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val); in dpot_write_r8d8() 123 return dpot->bdata.bops->write_r8d16(dpot->bdata.client, reg, val); in dpot_write_r8d16()
|
D | ad525x_dpot.h | 207 const struct ad_dpot_bus_ops *bops; member
|
/drivers/input/misc/ |
D | adxl34x.c | 181 #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()
|
D | cma3000_d0x.c | 274 const struct cma3000_bus_ops *bops) in cma3000_init() argument 304 data->bus_ops = bops; in cma3000_init() 324 input_dev->id.bustype = bops->bustype; in cma3000_init()
|
D | cma3000_d0x.h | 26 const struct cma3000_bus_ops *bops);
|
D | adxl34x.h | 27 const struct adxl34x_bus_ops *bops);
|
/drivers/md/persistent-data/ |
D | dm-space-map-metadata.c | 99 struct block_op bops[MAX_RECURSIVE_ALLOCATIONS + 1]; member 116 return r >= ARRAY_SIZE(brb->bops) ? 0 : r; in brb_next() 132 bop = brb->bops + brb->end; in brb_push() 149 bop = brb->bops + brb->begin; in brb_peek() 314 struct block_op *op = smm->uncommitted.bops + i; in sm_metadata_get_count() 355 struct block_op *op = smm->uncommitted.bops + i; in sm_metadata_count_is_more_than_one()
|