Searched refs:bops (Results 1 - 17 of 17) sorted by relevance

/linux-master/drivers/input/misc/
H A Dadxl34x.h25 const struct adxl34x_bus_ops *bops);
H A Dcma3000_d0x.h26 const struct cma3000_bus_ops *bops);
H A Dcma3000_d0x.c274 const struct cma3000_bus_ops *bops)
304 data->bus_ops = bops;
324 input_dev->id.bustype = bops->bustype;
273 cma3000_init(struct device *dev, int irq, const struct cma3000_bus_ops *bops) argument
H A 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 in struct:adxl34x
242 ac->bops->read_block(ac->dev, DATAX0, DATAZ1 - DATAX0 + 1, buf);
699 const struct adxl34x_bus_ops *bops)
735 ac->bops = bops;
760 input_dev->id.bustype = bops->bustype;
697 adxl34x_probe(struct device *dev, int irq, bool fifo_delay_default, const struct adxl34x_bus_ops *bops) argument
/linux-master/drivers/iio/adc/
H A Dad7606_spi.c138 st->d16[0] = cpu_to_be16(st->bops->rd_wr_cmd(addr, 0) << 8);
153 st->d16[0] = cpu_to_be16((st->bops->rd_wr_cmd(addr, 1) << 8) |
166 readval = st->bops->reg_read(st, addr);
173 return st->bops->reg_write(st, addr, readval);
200 return st->bops->write_mask(st, ch_addr, AD7616_RANGE_CH_MSK(ch_index),
208 return st->bops->write_mask(st, AD7616_CONFIGURATION_REGISTER,
243 return st->bops->write_mask(st,
272 st->bops->reg_write(st,
310 const struct ad7606_bus_ops *bops; local
314 bops
[all...]
H A Dad7606.h65 * @bops bus operations (SPI or parallel)
94 const struct ad7606_bus_ops *bops; member in struct:ad7606_state
152 const struct ad7606_bus_ops *bops);
H A Dad7606.c74 ret = st->bops->reg_read(st, reg);
80 ret = st->bops->reg_write(st, reg, writeval);
104 ret = st->bops->read_block(st->dev, 1, data);
117 return st->bops->read_block(st->dev, num, data);
562 const struct ad7606_bus_ops *bops)
577 st->bops = bops;
632 if (st->bops->sw_mode_config)
645 ret = st->bops->sw_mode_config(indio_dev);
560 ad7606_probe(struct device *dev, int irq, void __iomem *base_address, const char *name, unsigned int id, const struct ad7606_bus_ops *bops) argument
/linux-master/drivers/misc/
H A Dad525x_dpot-i2c.c44 static const struct ad_dpot_bus_ops bops = { variable in typeref:struct:ad_dpot_bus_ops
58 .bops = &bops,
H A Dad525x_dpot-spi.c73 static const struct ad_dpot_bus_ops bops = { variable in typeref:struct:ad_dpot_bus_ops
85 .bops = &bops,
H A Dad525x_dpot.c98 return dpot->bdata.bops->read_d8(dpot->bdata.client);
103 return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg);
108 return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg);
113 return dpot->bdata.bops->write_d8(dpot->bdata.client, val);
118 return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val);
123 return dpot->bdata.bops->write_r8d16(dpot->bdata.client, reg, val);
H A Dad525x_dpot.h207 const struct ad_dpot_bus_ops *bops; member in struct:ad_dpot_bus_data
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.h560 struct hnae_buf_ops *bops; /* operation for the buffer */ member in struct:hnae_handle
569 struct hnae_buf_ops *bops);
589 struct hnae_buf_ops *bops = ring->q->handle->bops; local
592 ret = bops->alloc_buffer(ring, cb);
596 ret = bops->map_buffer(ring, cb);
603 bops->free_buffer(ring, cb);
622 ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]);
628 struct hnae_buf_ops *bops = ring->q->handle->bops; local
642 struct hnae_buf_ops *bops = ring->q->handle->bops; local
[all...]
H A Dhnae.c321 * @bops: the callbacks for buffer management
328 struct hnae_buf_ops *bops)
347 handle->bops = bops ? bops : &hnae_bops;
325 hnae_get_handle(struct device *owner_dev, const struct fwnode_handle *fwnode, u32 port_id, struct hnae_buf_ops *bops) argument
/linux-master/arch/mips/include/asm/
H A Dmips-r2-to-r6-emul.h19 u64 bops; member in struct:mips_r2_emulator_stats
/linux-master/drivers/md/persistent-data/
H A Ddm-space-map-metadata.c100 struct block_op bops[MAX_RECURSIVE_ALLOCATIONS + 1]; member in struct:bop_ring_buffer
118 return r >= ARRAY_SIZE(brb->bops) ? 0 : r;
134 bop = brb->bops + brb->end;
151 bop = brb->bops + brb->begin;
317 struct block_op *op = smm->uncommitted.bops + i;
358 struct block_op *op = smm->uncommitted.bops + i;
/linux-master/arch/mips/kernel/
H A Dmips-r2-to-r6-emul.c787 MIPS_R2_STATS(bops);
812 MIPS_R2_STATS(bops);
839 MIPS_R2_STATS(bops);
866 MIPS_R2_STATS(bops);
2257 seq_printf(s, "bops\t\t%ld\t%ld\n",
2258 (unsigned long)__this_cpu_read(mipsr2emustats.bops),
2259 (unsigned long)__this_cpu_read(mipsr2bdemustats.bops));
2318 __this_cpu_write((mipsr2emustats).bops, 0);
2319 __this_cpu_write((mipsr2bdemustats).bops, 0);
/linux-master/net/netfilter/
H A Dnf_tables_api.c4310 const struct nft_set_ops *ops, *bops; local
4318 bops = NULL;
4347 } else if (est.size < best.size || !bops) {
4355 bops = ops;
4359 if (bops != NULL)
4360 return bops;

Completed in 334 milliseconds