Home
last modified time | relevance | path

Searched refs:fmdev (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/media/radio/wl128x/
Dfmdrv_common.c69 static void fm_irq_send_flag_getcmd(struct fmdev *);
70 static void fm_irq_handle_flag_getcmd_resp(struct fmdev *);
71 static void fm_irq_handle_hw_malfunction(struct fmdev *);
72 static void fm_irq_handle_rds_start(struct fmdev *);
73 static void fm_irq_send_rdsdata_getcmd(struct fmdev *);
74 static void fm_irq_handle_rdsdata_getcmd_resp(struct fmdev *);
75 static void fm_irq_handle_rds_finish(struct fmdev *);
76 static void fm_irq_handle_tune_op_ended(struct fmdev *);
77 static void fm_irq_handle_power_enb(struct fmdev *);
78 static void fm_irq_handle_low_rssi_start(struct fmdev *);
[all …]
Dfmdrv_rx.c15 void fm_rx_reset_rds_cache(struct fmdev *fmdev) in fm_rx_reset_rds_cache() argument
17 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache()
18 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache()
19 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache()
20 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache()
22 if (fmdev->rx.af_mode == FM_RX_RDS_AF_SWITCH_MODE_ON) in fm_rx_reset_rds_cache()
23 fmdev->irq_info.mask |= FM_LEV_EVENT; in fm_rx_reset_rds_cache()
26 void fm_rx_reset_station_info(struct fmdev *fmdev) in fm_rx_reset_station_info() argument
28 fmdev->rx.stat_info.picode = FM_NO_PI_CODE; in fm_rx_reset_station_info()
29 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_reset_station_info()
[all …]
Dfmdrv_tx.c14 int fm_tx_set_stereo_mono(struct fmdev *fmdev, u16 mode) in fm_tx_set_stereo_mono() argument
19 if (fmdev->tx_data.aud_mode == mode) in fm_tx_set_stereo_mono()
26 ret = fmc_send_cmd(fmdev, MONO_SET, REG_WR, &payload, in fm_tx_set_stereo_mono()
31 fmdev->tx_data.aud_mode = mode; in fm_tx_set_stereo_mono()
36 static int set_rds_text(struct fmdev *fmdev, u8 *rds_text) in set_rds_text() argument
41 ret = fmc_send_cmd(fmdev, RDS_DATA_SET, REG_WR, rds_text, in set_rds_text()
48 ret = fmc_send_cmd(fmdev, DISPLAY_MODE, REG_WR, &payload, in set_rds_text()
56 static int set_rds_data_mode(struct fmdev *fmdev, u8 mode) in set_rds_data_mode() argument
63 ret = fmc_send_cmd(fmdev, PI_SET, REG_WR, &payload, in set_rds_data_mode()
70 ret = fmc_send_cmd(fmdev, DI_SET, REG_WR, &payload, in set_rds_data_mode()
[all …]
Dfmdrv_v4l2.c37 struct fmdev *fmdev; in fm_v4l2_fops_read() local
39 fmdev = video_drvdata(file); in fm_v4l2_fops_read()
46 if (mutex_lock_interruptible(&fmdev->mutex)) in fm_v4l2_fops_read()
50 ret = fm_rx_get_rds_mode(fmdev, &rds_mode); in fm_v4l2_fops_read()
57 ret = fmc_set_rds_mode(fmdev, FM_RDS_ENABLE); in fm_v4l2_fops_read()
65 ret = fmc_transfer_rds_from_internal_buff(fmdev, file, buf, count); in fm_v4l2_fops_read()
67 mutex_unlock(&fmdev->mutex); in fm_v4l2_fops_read()
77 struct fmdev *fmdev; in fm_v4l2_fops_write() local
86 fmdev = video_drvdata(file); in fm_v4l2_fops_write()
87 if (mutex_lock_interruptible(&fmdev->mutex)) in fm_v4l2_fops_write()
[all …]
Dfmdrv_rx.h12 int fm_rx_set_freq(struct fmdev *, u32);
13 int fm_rx_set_mute_mode(struct fmdev *, u8);
14 int fm_rx_set_stereo_mono(struct fmdev *, u16);
15 int fm_rx_set_rds_mode(struct fmdev *, u8);
16 int fm_rx_set_rds_system(struct fmdev *, u8);
17 int fm_rx_set_volume(struct fmdev *, u16);
18 int fm_rx_set_rssi_threshold(struct fmdev *, short);
19 int fm_rx_set_region(struct fmdev *, u8);
20 int fm_rx_set_rfdepend_softmute(struct fmdev *, u8);
21 int fm_rx_set_deemphasis_mode(struct fmdev *, u16);
[all …]
Dfmdrv_tx.h12 int fm_tx_set_freq(struct fmdev *, u32);
13 int fm_tx_set_pwr_lvl(struct fmdev *, u8);
14 int fm_tx_set_region(struct fmdev *, u8);
15 int fm_tx_set_mute_mode(struct fmdev *, u8);
16 int fm_tx_set_stereo_mono(struct fmdev *, u16);
17 int fm_tx_set_rds_mode(struct fmdev *, u8);
18 int fm_tx_set_radio_text(struct fmdev *, u8 *, u8);
19 int fm_tx_set_af(struct fmdev *, u32);
20 int fm_tx_set_preemph_filter(struct fmdev *, u32);
21 int fm_tx_get_tune_cap_val(struct fmdev *);
Dfmdrv_common.h358 int fmc_prepare(struct fmdev *);
359 int fmc_release(struct fmdev *);
361 void fmc_update_region_info(struct fmdev *, u8);
362 int fmc_send_cmd(struct fmdev *, u8, u16,
364 int fmc_is_rds_data_available(struct fmdev *, struct file *,
366 int fmc_transfer_rds_from_internal_buff(struct fmdev *, struct file *,
369 int fmc_set_freq(struct fmdev *, u32);
370 int fmc_set_mode(struct fmdev *, u8);
371 int fmc_set_region(struct fmdev *, u8);
372 int fmc_set_mute_mode(struct fmdev *, u8);
[all …]
Dfmdrv.h95 struct fmdev;
96 typedef void (*int_handler_prototype) (struct fmdev *);
191 struct fmdev { struct
Dfmdrv_v4l2.h17 int fm_v4l2_init_video_device(struct fmdev *, int);
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3562 struct mlx5_core_dev *fmdev, *pmdev; in mlx5e_same_hw_devs() local
3565 fmdev = priv->mdev; in mlx5e_same_hw_devs()
3568 fsystem_guid = mlx5_query_nic_system_image_guid(fmdev); in mlx5e_same_hw_devs()