Home
last modified time | relevance | path

Searched refs:bpd (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/drivers/soc/mediatek/
A Dmtk-pm-domains.c126 u32 val, mask = bpd[i].bus_prot_mask; in _scpsys_bus_protect_enable()
131 if (bpd[i].bus_prot_reg_update) in _scpsys_bus_protect_enable()
132 regmap_set_bits(regmap, bpd[i].bus_prot_set, mask); in _scpsys_bus_protect_enable()
134 regmap_write(regmap, bpd[i].bus_prot_set, mask); in _scpsys_bus_protect_enable()
136 ret = regmap_read_poll_timeout(regmap, bpd[i].bus_prot_sta, in _scpsys_bus_protect_enable()
163 u32 val, mask = bpd[i].bus_prot_mask; in _scpsys_bus_protect_disable()
168 if (bpd[i].bus_prot_reg_update) in _scpsys_bus_protect_disable()
169 regmap_clear_bits(regmap, bpd[i].bus_prot_clr, mask); in _scpsys_bus_protect_disable()
171 regmap_write(regmap, bpd[i].bus_prot_clr, mask); in _scpsys_bus_protect_disable()
173 if (bpd[i].ignore_clr_ack) in _scpsys_bus_protect_disable()
[all …]
/linux-6.3-rc2/drivers/iio/buffer/
A Dkfifo_buf.c69 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo() argument
71 if (r->bytes_per_datum != bpd) { in iio_set_bytes_per_datum_kfifo()
72 r->bytes_per_datum = bpd; in iio_set_bytes_per_datum_kfifo()
A Dindustrialio-buffer-dma.c572 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd) in iio_dma_buffer_set_bytes_per_datum() argument
574 buffer->bytes_per_datum = bpd; in iio_dma_buffer_set_bytes_per_datum()
/linux-6.3-rc2/include/linux/iio/
A Dbuffer-dma.h137 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
A Dbuffer_impl.h63 int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd);

Completed in 11 milliseconds