Home
last modified time | relevance | path

Searched refs:rx (Results 1 – 25 of 57) sorted by relevance

123

/linux-4.19.296/drivers/media/radio/wl128x/
Dfmdrv_rx.c26 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache()
27 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache()
28 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache()
29 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache()
31 if (fmdev->rx.af_mode == FM_RX_RDS_AF_SWITCH_MODE_ON) in fm_rx_reset_rds_cache()
37 fmdev->rx.stat_info.picode = FM_NO_PI_CODE; in fm_rx_reset_station_info()
38 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_reset_station_info()
39 fmdev->rx.stat_info.af_list_max = 0; in fm_rx_reset_station_info()
50 if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) { in fm_rx_set_freq()
71 payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_set_freq()
[all …]
Dfmdrv_common.c249 fmdev->rx.region = region_configs[region_to_set]; in fmc_update_region_info()
634 struct tuned_station_info *stat_info = &fmdev->rx.stat_info; in fm_rx_update_af_cache()
635 u8 reg_idx = fmdev->rx.region.fm_band; in fm_rx_update_af_cache()
641 fmdev->rx.stat_info.af_list_max = (af - FM_RDS_1_AF_FOLLOWS + 1); in fm_rx_update_af_cache()
642 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_update_af_cache()
643 fmdbg("No of expected AF : %d\n", fmdev->rx.stat_info.af_list_max); in fm_rx_update_af_cache()
654 freq = fmdev->rx.region.bot_freq + (af * 100); in fm_rx_update_af_cache()
655 if (freq == fmdev->rx.freq) { in fm_rx_update_af_cache()
657 fmdev->rx.freq, freq); in fm_rx_update_af_cache()
709 struct fm_rds *rds = &fmdev->rx.rds; in fm_irq_handle_rdsdata_getcmd_resp()
[all …]
/linux-4.19.296/drivers/slimbus/
Dqcom-ctrl.c109 struct slim_ctrl_buf rx; member
136 spin_lock_irqsave(&ctrl->rx.lock, flags); in slim_alloc_rxbuf()
137 if ((ctrl->rx.tail + 1) % ctrl->rx.n == ctrl->rx.head) { in slim_alloc_rxbuf()
138 spin_unlock_irqrestore(&ctrl->rx.lock, flags); in slim_alloc_rxbuf()
142 idx = ctrl->rx.tail; in slim_alloc_rxbuf()
143 ctrl->rx.tail = (ctrl->rx.tail + 1) % ctrl->rx.n; in slim_alloc_rxbuf()
144 spin_unlock_irqrestore(&ctrl->rx.lock, flags); in slim_alloc_rxbuf()
146 return ctrl->rx.base + (idx * ctrl->rx.sl_sz); in slim_alloc_rxbuf()
425 spin_lock_irqsave(&ctrl->rx.lock, flags); in slim_get_current_rxbuf()
426 if (ctrl->rx.tail == ctrl->rx.head) { in slim_get_current_rxbuf()
[all …]
/linux-4.19.296/drivers/iio/accel/
Dsca3000.c173 u8 rx[384] ____cacheline_aligned; member
297 .rx_buf = st->rx, in sca3000_read_data_short()
319 return !(st->rx[0] & SCA3000_LOCKED); in sca3000_reg_lock_on()
421 return st->rx[0]; in sca3000_read_ctrl_reg()
443 st->rx[0] & SCA3000_REG_REVID_MAJOR_MASK, in sca3000_print_rev()
444 st->rx[0] & SCA3000_REG_REVID_MINOR_MASK); in sca3000_print_rev()
577 switch (SCA3000_REG_MODE_MODE_MASK & st->rx[0]) { in __sca3000_get_base_freq()
669 st->rx[0] &= SCA3000_REG_MODE_MODE_MASK; in sca3000_read_3db_freq()
670 switch (st->rx[0]) { in sca3000_read_3db_freq()
706 st->rx[0] &= ~SCA3000_REG_MODE_MODE_MASK; in sca3000_write_3db_freq()
[all …]
/linux-4.19.296/drivers/clk/tegra/
Dclk-bpmp.c59 } rx; member
86 msg.rx.data = clk->rx.data; in tegra_bpmp_clk_transfer()
87 msg.rx.size = clk->rx.size; in tegra_bpmp_clk_transfer()
92 else if (msg.rx.ret < 0) in tegra_bpmp_clk_transfer()
136 msg.rx.data = &response; in tegra_bpmp_clk_is_prepared()
137 msg.rx.size = sizeof(response); in tegra_bpmp_clk_is_prepared()
160 msg.rx.data = &response; in tegra_bpmp_clk_recalc_rate()
161 msg.rx.size = sizeof(response); in tegra_bpmp_clk_recalc_rate()
187 msg.rx.data = &response; in tegra_bpmp_clk_round_rate()
188 msg.rx.size = sizeof(response); in tegra_bpmp_clk_round_rate()
[all …]
/linux-4.19.296/fs/jffs2/
Dxattr.c137 struct jffs2_raw_xattr rx; in do_verify_xattr_datum() local
148 rc = jffs2_flash_read(c, offset, sizeof(rx), &readlen, (char *)&rx); in do_verify_xattr_datum()
149 if (rc || readlen != sizeof(rx)) { in do_verify_xattr_datum()
151 rc, sizeof(rx), readlen, offset); in do_verify_xattr_datum()
154 crc = crc32(0, &rx, sizeof(rx) - 4); in do_verify_xattr_datum()
155 if (crc != je32_to_cpu(rx.node_crc)) { in do_verify_xattr_datum()
157 offset, je32_to_cpu(rx.hdr_crc), crc); in do_verify_xattr_datum()
161 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); in do_verify_xattr_datum()
162 if (je16_to_cpu(rx.magic) != JFFS2_MAGIC_BITMASK in do_verify_xattr_datum()
163 || je16_to_cpu(rx.nodetype) != JFFS2_NODETYPE_XATTR in do_verify_xattr_datum()
[all …]
Dscan.c330 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() argument
337 crc = crc32(0, rx, sizeof(struct jffs2_raw_xattr) - 4); in jffs2_scan_xattr_node()
338 if (crc != je32_to_cpu(rx->node_crc)) { in jffs2_scan_xattr_node()
340 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node()
341 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node()
346 xid = je32_to_cpu(rx->xid); in jffs2_scan_xattr_node()
347 version = je32_to_cpu(rx->version); in jffs2_scan_xattr_node()
350 + rx->name_len + 1 + je16_to_cpu(rx->value_len)); in jffs2_scan_xattr_node()
351 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node()
353 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node()
[all …]
/linux-4.19.296/drivers/iio/pressure/
Dmpl115_spi.c23 u8 rx[4]; member
46 .rx_buf = buf->rx, in mpl115_spi_read()
58 return (buf->rx[1] << 8) | buf->rx[3]; in mpl115_spi_read()
/linux-4.19.296/drivers/iio/gyro/
Dadxrs450.c78 __be32 rx; member
103 .rx_buf = &st->rx, in adxrs450_spi_read_reg_16()
105 .len = sizeof(st->rx), in adxrs450_spi_read_reg_16()
123 *val = (be32_to_cpu(st->rx) >> 5) & 0xFFFF; in adxrs450_spi_read_reg_16()
177 .rx_buf = &st->rx, in adxrs450_spi_sensor_data()
179 .len = sizeof(st->rx), in adxrs450_spi_sensor_data()
192 *val = (be32_to_cpu(st->rx) >> 10) & 0xFFFF; in adxrs450_spi_sensor_data()
212 .rx_buf = &st->rx, in adxrs450_spi_initial()
228 *val = be32_to_cpu(st->rx); in adxrs450_spi_initial()
/linux-4.19.296/drivers/i2c/busses/
Di2c-dln2.c118 } __packed *rx = dln2->buf; in dln2_i2c_read() local
119 unsigned rx_len = sizeof(*rx); in dln2_i2c_read()
121 BUILD_BUG_ON(sizeof(*rx) > DLN2_I2C_BUF_SIZE); in dln2_i2c_read()
130 rx, &rx_len); in dln2_i2c_read()
133 if (rx_len < sizeof(rx->buf_len) + data_len) in dln2_i2c_read()
135 if (le16_to_cpu(rx->buf_len) != data_len) in dln2_i2c_read()
138 memcpy(data, rx->buf, data_len); in dln2_i2c_read()
Di2c-cpm.c191 struct i2c_msg *pmsg, int num, int tx, int rx) in cpm_i2c_parse_message() argument
201 rbdf = cpm->rbase + rx; in cpm_i2c_parse_message()
206 rb = cpm->rxbuf[rx]; in cpm_i2c_parse_message()
234 if (rx + 1 == CPM_MAXBD) in cpm_i2c_parse_message()
250 struct i2c_msg *pmsg, int tx, int rx) in cpm_i2c_check_message() argument
259 rbdf = cpm->rbase + rx; in cpm_i2c_check_message()
262 rb = cpm->rxbuf[rx]; in cpm_i2c_check_message()
/linux-4.19.296/drivers/misc/echo/
Decho.c274 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) in oslec_update() argument
288 ec->rx = rx; in oslec_update()
290 rx >>= 1; in oslec_update()
308 tmp = rx << 15; in oslec_update()
332 rx = tmp1; in oslec_update()
358 ec->lrxacc += abs(rx) - ec->lrx; in oslec_update()
365 ec->clean = rx - echo_value; in oslec_update()
372 clean_bg = rx - echo_value; in oslec_update()
536 ec->clean_nlp = rx; in oslec_update()
Doslec.h83 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx);
Decho.h131 int16_t rx; member
/linux-4.19.296/drivers/iio/health/
Dafe4403.c226 u8 rx[3]; in afe4403_read() local
234 ret = spi_write_then_read(afe->spi, &reg, 1, rx, 3); in afe4403_read()
238 *val = (rx[0] << 16) | in afe4403_read()
239 (rx[1] << 8) | in afe4403_read()
240 (rx[2]); in afe4403_read()
325 u8 rx[3]; in afe4403_trigger_handler() local
336 rx, 3); in afe4403_trigger_handler()
340 afe->buffer[i++] = (rx[0] << 16) | in afe4403_trigger_handler()
341 (rx[1] << 8) | in afe4403_trigger_handler()
342 (rx[2]); in afe4403_trigger_handler()
/linux-4.19.296/drivers/iio/imu/
Dadis_buffer.c30 __be16 *tx, *rx; in adis_update_scan_mode() local
48 rx = adis->buffer; in adis_update_scan_mode()
49 tx = rx + scan_count; in adis_update_scan_mode()
62 adis->xfer[j].rx_buf = &rx[j - 1]; in adis_update_scan_mode()
Dadis.c145 .rx_buf = adis->rx, in adis_read_reg()
151 .rx_buf = adis->rx + 2, in adis_read_reg()
195 *val = get_unaligned_be32(adis->rx); in adis_read_reg()
198 *val = get_unaligned_be16(adis->rx + 2); in adis_read_reg()
/linux-4.19.296/drivers/iio/resolver/
Dad2s1200.c47 __be16 rx ____cacheline_aligned;
85 ret = spi_read(st->sdev, &st->rx, 2); in ad2s1200_read_raw()
93 *val = be16_to_cpup(&st->rx) >> 4; in ad2s1200_read_raw()
96 *val = sign_extend32(be16_to_cpup(&st->rx) >> 4, 11); in ad2s1200_read_raw()
/linux-4.19.296/drivers/thunderbolt/
Dctl.c27 struct tb_ring *rx; member
380 tb_ring_rx(pkg->ctl->rx, &pkg->frame); /* in tb_ctl_rx_submit()
422 goto rx; in tb_ctl_rx_callback()
438 goto rx; in tb_ctl_rx_callback()
443 goto rx; in tb_ctl_rx_callback()
453 goto rx; in tb_ctl_rx_callback()
458 goto rx; in tb_ctl_rx_callback()
478 rx: in tb_ctl_rx_callback()
622 ctl->rx = tb_ring_alloc_rx(nhi, 0, 10, RING_FLAG_NO_SUSPEND, 0xffff, in tb_ctl_alloc()
624 if (!ctl->rx) in tb_ctl_alloc()
[all …]
/linux-4.19.296/include/soc/tegra/
Divc.h29 } rx, tx; member
102 int tegra_ivc_init(struct tegra_ivc *ivc, struct device *peer, void *rx,
Dbpmp.h71 } tx, rx; member
115 } rx; member
/linux-4.19.296/crypto/
Decc.c849 u64 rx[2][ECC_MAX_DIGITS]; in ecc_point_mult() local
863 vli_set(rx[1], point->x, ndigits); in ecc_point_mult()
866 xycz_initial_double(rx[1], ry[1], rx[0], ry[0], initial_z, curve_prime, in ecc_point_mult()
871 xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb], curve_prime, in ecc_point_mult()
873 xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb], curve_prime, in ecc_point_mult()
878 xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb], curve_prime, in ecc_point_mult()
883 vli_mod_sub(z, rx[1], rx[0], curve_prime, ndigits); in ecc_point_mult()
895 vli_mod_mult_fast(z, z, rx[1 - nb], curve_prime, ndigits); in ecc_point_mult()
898 xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb], curve_prime, ndigits); in ecc_point_mult()
900 apply_z(rx[0], ry[0], z, curve_prime, ndigits); in ecc_point_mult()
[all …]
/linux-4.19.296/include/linux/
Dtimb_dma.h38 bool rx; member
Dserial.h21 __u32 cts, dsr, rng, dcd, tx, rx; member
/linux-4.19.296/include/uapi/linux/
Datm_eni.h15 int tx,rx; /* values are in percent and must be > 100 */ member

123