Searched refs:read (Results 151 - 175 of 2820) sorted by relevance

1234567891011>>

/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/
H A Ddma_global.h95 #define hive_dma_move_data(dma_id, read, channel, addr_a, addr_b, to_is_var, from_is_var) \
98 hive_dma_snd(dma_id, DMA_PACK_CMD_CHANNEL(read ? _DMA_V2_MOVE_B2A_COMMAND : _DMA_V2_MOVE_A2B_COMMAND, channel)); \
99 hive_dma_snd(dma_id, read ? (unsigned int)(addr_b) : (unsigned int)(addr_a)); \
100 hive_dma_snd(dma_id, read ? (unsigned int)(addr_a) : (unsigned int)(addr_b)); \
105 #define hive_dma_move_data_no_ack(dma_id, read, channel, addr_a, addr_b, to_is_var, from_is_var) \
108 hive_dma_snd(dma_id, DMA_PACK_CMD_CHANNEL(read ? _DMA_V2_NO_ACK_MOVE_B2A_NO_SYNC_CHK_COMMAND : _DMA_V2_NO_ACK_MOVE_A2B_NO_SYNC_CHK_COMMAND, channel)); \
109 hive_dma_snd(dma_id, read ? (unsigned int)(addr_b) : (unsigned int)(addr_a)); \
110 hive_dma_snd(dma_id, read ? (unsigned int)(addr_a) : (unsigned int)(addr_b)); \
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
H A Dbase.c119 if (!rail->read)
122 res = rail->read(iccsense, rail);
262 int (*read)(struct nvkm_iccsense *,
270 read = nvkm_iccsense_ina209_read;
273 read = nvkm_iccsense_ina219_read;
276 read = nvkm_iccsense_ina3221_read;
286 rail->read = read;
/linux-master/kernel/time/
H A Dtimecounter.c13 tc->cycle_last = cc->read(cc);
36 /* read cycle counter: */
37 cycle_now = tc->cc->read(tc->cc);
/linux-master/arch/arm/boot/compressed/
H A Dhead-sa1100.S23 mrc p15, 0, r0, c1, c0, 0 @ read control reg
41 mrc p15, 0, r0, c1, c0, 0 @ read control reg
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debugfs.c78 .read = seq_read,
86 .read = seq_read,
/linux-master/arch/arm/mach-shmobile/
H A Dheadsmp-scu.S21 mrc p15, 0, r1, c0, c0, 5 @ read MPIDR
/linux-master/tools/testing/selftests/thermal/intel/power_floor/
H A Dpower_floor_test.c79 if (read(fd, status_str, sizeof(status_str)) < 0) {
80 fprintf(stderr, "Failed to read from:%s\n",
100 if (read(fd, status_str, sizeof(status_str)) < 0)
/linux-master/drivers/soc/tegra/fuse/
H A Dfuse.h21 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset); member in struct:tegra_fuse_info
53 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset); member in struct:tegra_fuse
/linux-master/drivers/iio/imu/bno055/
H A Dbno055_ser_core.c4 * This file implements serial communication up to the register read/write
47 * Register read have the following format
52 * Successful register read response have the following format
57 * Failed register read response have the following format
64 * 02: read/write FAIL
109 * In 3mS we could read back about 34 bytes that means 17 samples, this means
181 * Send a read or write command.
182 * 'data' can be NULL (used in read case). 'len' parameter is always valid; in
186 bool read, int addr, int len, const u8 *data)
188 u8 hdr[] = {0xAA, read, add
185 bno055_ser_do_send_cmd(struct bno055_ser_priv *priv, bool read, int addr, int len, const u8 *data) argument
220 bno055_ser_send_cmd(struct bno055_ser_priv *priv, bool read, int addr, int len, const u8 *data) argument
[all...]
/linux-master/tools/perf/arch/riscv/util/
H A Dheader.c43 int read; local
51 while ((read = getline(&line, &line_sz, cpuinfo)) != -1) {
/linux-master/arch/arm/mach-omap2/
H A Dvp.c21 vpconfig = voltdm->read(vp->vpconfig);
50 if (!voltdm->read || !voltdm->write) {
51 pr_err("%s: No read/write API for accessing vdd_%s regs\n",
208 if (!voltdm->read || !voltdm->write) {
209 pr_err("%s: No read/write API for accessing vdd_%s regs\n",
253 if (!voltdm->read || !voltdm->write) {
254 pr_err("%s: No read/write API for accessing vdd_%s regs\n",
267 vpconfig = voltdm->read(vp->vpconfig);
274 omap_test_timeout((voltdm->read(vp->vstatus)),
/linux-master/arch/sparc/kernel/
H A Dwuf.S222 * we only need to check whether the user can read from
266 LEON_PI(lda [%g0] ASI_LEON_MMUREGS, %l5) ! read mmu-ctrl reg
267 SUN_PI_(lda [%g0] ASI_M_MMUREGS, %l5) ! read mmu-ctrl reg
289 LEON_PI(lda [%twin_tmp2] ASI_LEON_MMUREGS, %g0) ! read fault address
290 SUN_PI_(lda [%twin_tmp2] ASI_M_MMUREGS, %g0) ! read fault address
293 LEON_PI(lda [%twin_tmp2] ASI_LEON_MMUREGS, %twin_tmp2) ! read fault status
294 SUN_PI_(lda [%twin_tmp2] ASI_M_MMUREGS, %twin_tmp2) ! read fault status
/linux-master/arch/x86/pci/
H A Dintel_mid_pci.c17 * Lincroft writes to type 1 space. But only read/write if the device
76 if (raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number,
85 raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number,
110 raw_pci_ext_ops->read(domain, busnum, devfn,
175 return pci_direct_conf1.read(pci_domain_nr(bus), bus->number,
177 return raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number,
187 * On MRST, there is no PCI ROM BAR, this will cause a subsequent read
195 * - BAR sizing code will save, write ~0, read size, restore
237 dev_warn(&dev->dev, "Failed to read interrupt line: %d\n", ret);
299 .read
[all...]
/linux-master/drivers/iio/potentiometer/
H A Dds1803.c40 int (*read)(struct iio_dev *indio_dev, member in struct:ds1803_cfg
107 .read = ds1803_read,
115 .read = ds1803_read,
123 .read = ds1803_read,
131 .read = ds3502_read,
144 ret = data->cfg->read(indio_dev, chan, val);
/linux-master/drivers/gpu/drm/i915/
H A Di915_debugfs_params.c76 .read = seq_read,
85 .read = seq_read,
139 .read = seq_read,
148 .read = seq_read,
193 .read = seq_read,
202 .read = seq_read,
/linux-master/drivers/hwmon/
H A Dsbrmi.c71 bool read; member in struct:sbrmi_mailbox_msg
119 * For both read and write the initiator (BMC) writes
133 * perform the requested read or write command
165 * For a read operation, the initiator (BMC) reads the firmware
169 if (msg->read) {
201 msg.read = true;
235 * mailbox read/write is in mWatt
243 msg.read = false;
276 .read = sbrmi_read,
291 msg.read
[all...]
/linux-master/drivers/net/can/flexcan/
H A Dflexcan-core.c426 * PPC cores. So, we need to abstract off the register read/write
474 while (timeout-- && !(priv->read(&regs->mcr) & FLEXCAN_MCR_LPM_ACK))
477 if (!(priv->read(&regs->mcr) & FLEXCAN_MCR_LPM_ACK))
488 while (timeout-- && (priv->read(&regs->mcr) & FLEXCAN_MCR_LPM_ACK))
491 if (priv->read(&regs->mcr) & FLEXCAN_MCR_LPM_ACK)
502 reg_mcr = priv->read(&regs->mcr);
535 reg_mcr = priv->read(&regs->mcr);
568 reg_mcr = priv->read(&regs->mcr);
637 reg = priv->read(&regs->mcr);
649 reg = priv->read(
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_fs.c139 { .read = driver_stats_read, .llseek = generic_file_llseek, },
140 { .read = driver_names_read, .llseek = generic_file_llseek, },
143 /* read the per-device counters */
155 /* read the per-device counters */
168 { .read = dev_counters_read, .llseek = generic_file_llseek, },
169 { .read = dev_names_read, .llseek = generic_file_llseek, },
177 /* read the per-port names (same for each port) */
189 /* read the per-port counters for port 1 (pidx 0) */
201 /* read the per-port counters for port 2 (pidx 1) */
214 { .read
[all...]
/linux-master/drivers/md/
H A Ddm-delay.c38 struct delay_class read; member in struct:delay_c
160 if (dc->read.dev)
161 dm_put_device(ti, dc->read.dev);
231 ret = delay_class_ctr(ti, &dc->read, argv);
234 max_delay = dc->read.delay;
361 c = &dc->read;
381 DMEMIT("%u %u %u", dc->read.ops, dc->write.ops, dc->flush.ops);
385 DMEMIT_DELAY_CLASS(&dc->read);
408 ret = fn(ti, dc->read.dev, dc->read
[all...]
/linux-master/drivers/net/ethernet/intel/igb/
H A De1000_nvm.c86 * In order to read a register from the EEPROM, we need to shift 'count' bits
120 * igb_poll_eerd_eewr_done - Poll for EEPROM read/write completion
124 * Polls the EEPROM status bit for either read or write completion based
246 * igb_ready_nvm_eeprom - Prepares EEPROM for read/write
299 * @offset: offset of word in the EEPROM to read
300 * @words: number of words to read
301 * @data: word read from the EEPROM
341 * read and will roll over if reading beyond the end. This allows
342 * us to read the whole NVM from any offset
359 * @offset: offset of word in the EEPROM to read
[all...]
/linux-master/drivers/gpio/
H A Dgpio-pcf857x.c57 * The pcf857x, pca857x, and pca967x chips only expose one read and one
60 * a bit like one. This is described as "quasi-bidirectional"; read the
77 int (*read)(struct i2c_client *client); member in struct:pcf857x
136 value = gpio->read(gpio->client);
144 int value = gpio->read(gpio->client);
196 status = gpio->read(gpio->client);
313 gpio->read = i2c_read_le8;
331 gpio->read = i2c_read_le16;
357 * came out of reset (if any). We can't read the latched output.
369 gpio->status = gpio->read(gpi
[all...]
/linux-master/kernel/trace/
H A Dring_buffer_benchmark.c35 static unsigned long read; variable
101 read++;
152 read++;
165 read++;
189 read = 0;
332 trace_printk("Read: %ld (by %s)\n", read,
335 trace_printk("Total: %lld\n", entries + overruns + read);
/linux-master/drivers/i2c/busses/
H A Di2c-mlxbf.c220 #define MLXBF_I2C_MASTER_CTL_READ_BIT BIT(19) /* Control read phase. */
237 #define MLXBF_I2C_MASTER_READ_SHIFT 4 /* Control read bytes */
243 /* Maximum bytes to read/write per SMBus transaction. */
591 * then read the cause and master status bits to determine if
697 u8 len, u8 block_en, u8 pec_en, bool read)
702 if (read) {
761 * a read sets the lock.
780 * Note that read and write operations might be handled by a
804 * We assume that read operations are performed only once per
806 * be executed twice? or return an error if we try to read mor
696 mlxbf_i2c_smbus_enable(struct mlxbf_i2c_priv *priv, u8 slave, u8 len, u8 block_en, u8 pec_en, bool read) argument
866 mlxbf_i2c_smbus_quick_command(struct mlxbf_i2c_smbus_request *request, u8 read) argument
876 mlxbf_i2c_smbus_byte_func(struct mlxbf_i2c_smbus_request *request, u8 *data, bool read, bool pec_check) argument
893 mlxbf_i2c_smbus_data_byte_func(struct mlxbf_i2c_smbus_request *request, u8 *command, u8 *data, bool read, bool pec_check) argument
912 mlxbf_i2c_smbus_data_word_func(struct mlxbf_i2c_smbus_request *request, u8 *command, u8 *data, bool read, bool pec_check) argument
931 mlxbf_i2c_smbus_i2c_block_func(struct mlxbf_i2c_smbus_request *request, u8 *command, u8 *data, u8 *data_len, bool read, bool pec_check) argument
966 mlxbf_i2c_smbus_block_func(struct mlxbf_i2c_smbus_request *request, u8 *command, u8 *data, u8 *data_len, bool read, bool pec_check) argument
1799 mlxbf_i2c_has_coalesce(struct mlxbf_i2c_priv *priv, bool *read, bool *write) argument
2016 bool read, write, irq_is_set; local
2076 bool read, pec; local
[all...]
/linux-master/drivers/ptp/
H A Dptp_qoriq.c33 lo = ptp_qoriq->read(&regs->ctrl_regs->tmr_cnt_l);
34 hi = ptp_qoriq->read(&regs->ctrl_regs->tmr_cnt_h);
57 lo = ptp_qoriq->read(&regs->ctrl_regs->tmroff_l);
58 hi = ptp_qoriq->read(&regs->ctrl_regs->tmroff_h);
133 if (!(ptp_qoriq->read(&regs->ctrl_regs->tmr_stat) & valid))
137 lo = ptp_qoriq->read(reg_etts_l);
138 hi = ptp_qoriq->read(reg_etts_h);
148 } while (ptp_qoriq->read(&regs->ctrl_regs->tmr_stat) & valid);
167 val = ptp_qoriq->read(&regs->ctrl_regs->tmr_tevent);
168 mask = ptp_qoriq->read(
[all...]
/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-debugfs.c223 .read = xgmac_reg_addr_read,
230 .read = xgmac_reg_value_read,
301 .read = xpcs_mmd_read,
308 .read = xpcs_reg_addr_read,
315 .read = xpcs_reg_value_read,
368 .read = xprop_reg_addr_read,
375 .read = xprop_reg_value_read,
428 .read = xi2c_reg_addr_read,
435 .read = xi2c_reg_value_read,

Completed in 351 milliseconds

1234567891011>>