/linux-6.12.1/drivers/isdn/capi/ |
D | kcapi.c | 313 ctr->cnr, cdb->buf); in capi_ctr_handle_message() 317 ctr->cnr); in capi_ctr_handle_message() 336 ctr->cnr, CAPIMSG_APPID(skb->data), in capi_ctr_handle_message() 343 ctr->cnr, cdb->buf); in capi_ctr_handle_message() 347 ctr->cnr, CAPIMSG_APPID(skb->data), in capi_ctr_handle_message() 391 ctr->cnr, ctr->name); in capi_ctr_ready() 393 notify_push(CAPICTR_UP, ctr->cnr); in capi_ctr_ready() 408 printk(KERN_NOTICE "kcapi: controller [%03d] down.\n", ctr->cnr); in capi_ctr_down() 410 notify_push(CAPICTR_DOWN, ctr->cnr); in capi_ctr_down() 446 ctr->cnr = i + 1; in attach_capi_ctr() [all …]
|
D | kcapi_proc.c | 72 ctr->cnr, ctr->driver_name, in controller_show() 88 ctr->cnr, in contrstats_show()
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | cxd2820r_c.c | 198 unsigned int cnr, const_a, const_b; in cxd2820r_read_status_c() local 218 cnr = div_u64((u64)(intlog2(const_b) - intlog2(utmp)) in cxd2820r_read_status_c() 221 cnr = 0; in cxd2820r_read_status_c() 223 c->cnr.len = 1; in cxd2820r_read_status_c() 224 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in cxd2820r_read_status_c() 225 c->cnr.stat[0].svalue = cnr; in cxd2820r_read_status_c() 227 c->cnr.len = 1; in cxd2820r_read_status_c() 228 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2820r_read_status_c()
|
D | cxd2820r_t.c | 303 unsigned int cnr; in cxd2820r_read_status_t() local 311 cnr = div_u64((u64)(intlog10(utmp) in cxd2820r_read_status_t() 315 cnr = 0; in cxd2820r_read_status_t() 317 c->cnr.len = 1; in cxd2820r_read_status_t() 318 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in cxd2820r_read_status_t() 319 c->cnr.stat[0].svalue = cnr; in cxd2820r_read_status_t() 321 c->cnr.len = 1; in cxd2820r_read_status_t() 322 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2820r_read_status_t()
|
D | cxd2820r_t2.c | 328 unsigned int cnr; in cxd2820r_read_status_t2() local 338 cnr = div_u64((u64)(intlog10(utmp) in cxd2820r_read_status_t2() 342 cnr = 0; in cxd2820r_read_status_t2() 344 c->cnr.len = 1; in cxd2820r_read_status_t2() 345 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in cxd2820r_read_status_t2() 346 c->cnr.stat[0].svalue = cnr; in cxd2820r_read_status_t2() 348 c->cnr.len = 1; in cxd2820r_read_status_t2() 349 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2820r_read_status_t2()
|
D | mn88443x.c | 300 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88443x_s_read_status() 303 u32 cnr = 0, x, y, d; in mn88443x_s_read_status() local 329 cnr = div_u64(tmp * 10000, 1 << 24); in mn88443x_s_read_status() 332 if (cnr) { in mn88443x_s_read_status() 333 c->cnr.len = 1; in mn88443x_s_read_status() 334 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88443x_s_read_status() 335 c->cnr.stat[0].uvalue = cnr; in mn88443x_s_read_status() 504 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88443x_t_read_status() 507 u32 cnr; in mn88443x_t_read_status() local 517 cnr = div_u64(tmp * 10000, 1 << 24); in mn88443x_t_read_status() [all …]
|
D | lgdt330x.c | 289 p->cnr.len = 1; in lgdt330x_init() 290 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init() 680 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 694 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3302_read_status() 695 p->cnr.stat[0].svalue = (((u64)state->snr) * 1000) >> 24; in lgdt3302_read_status() 697 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 786 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status() 800 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3303_read_status() 801 p->cnr.stat[0].svalue = (((u64)state->snr) * 1000) >> 24; in lgdt3303_read_status() 803 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
|
D | mb86a20s.c | 738 memset(&c->cnr, 0, sizeof(c->cnr)); in mb86a20s_reset_counters() 1379 u32 cnr_linear, cnr; in mb86a20s_get_main_CNR() local 1404 cnr = interpolate_value(cnr_linear, in mb86a20s_get_main_CNR() 1407 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mb86a20s_get_main_CNR() 1408 c->cnr.stat[0].svalue = cnr; in mb86a20s_get_main_CNR() 1411 __func__, cnr / 1000, cnr % 1000, cnr_linear); in mb86a20s_get_main_CNR() 1426 u32 mer, cnr; in mb86a20s_get_blk_error_layer_CNR() local 1451 c->cnr.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_get_blk_error_layer_CNR() 1493 cnr = interpolate_value(mer, segs, segs_len); in mb86a20s_get_blk_error_layer_CNR() 1495 c->cnr.stat[1 + layer].scale = FE_SCALE_DECIBEL; in mb86a20s_get_blk_error_layer_CNR() [all …]
|
D | mn88473.c | 348 c->cnr.stat[0].svalue = stmp; in mn88473_read_status() 349 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status() 382 c->cnr.stat[0].svalue = stmp; in mn88473_read_status() 383 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status() 404 c->cnr.stat[0].svalue = stmp; in mn88473_read_status() 405 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status() 407 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status() 533 c->cnr.len = 1; in mn88473_init() 534 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_init()
|
D | mn88472.c | 109 c->cnr.stat[0].svalue = stmp; in mn88472_read_status() 110 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88472_read_status() 144 c->cnr.stat[0].svalue = stmp; in mn88472_read_status() 145 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88472_read_status() 167 c->cnr.stat[0].svalue = stmp; in mn88472_read_status() 168 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88472_read_status() 170 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88472_read_status() 666 c->cnr.len = 1; in mn88472_probe()
|
D | cx24120.c | 326 if (c->cnr.stat[0].scale != FE_SCALE_DECIBEL) in cx24120_read_snr() 329 *snr = div_s64(c->cnr.stat[0].svalue, 100); in cx24120_read_snr() 610 int ret, cnr, msecs; in cx24120_get_stats() local 646 cnr = cx24120_readreg(state, CX24120_REG_QUALITY_H) << 8; in cx24120_get_stats() 647 cnr |= cx24120_readreg(state, CX24120_REG_QUALITY_L); in cx24120_get_stats() 648 dev_dbg(&state->i2c->dev, "read SNR index = %d\n", cnr); in cx24120_get_stats() 651 cnr = cnr * 100; in cx24120_get_stats() 653 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in cx24120_get_stats() 654 c->cnr.stat[0].svalue = cnr; in cx24120_get_stats() 656 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cx24120_get_stats() [all …]
|
D | rtl2830.c | 122 c->cnr.len = 1; in rtl2830_init() 123 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 465 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2830_read_status() 466 c->cnr.stat[0].svalue = stmp; in rtl2830_read_status() 468 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_read_status() 503 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in rtl2830_read_snr() 504 *snr = div_s64(c->cnr.stat[0].svalue, 100); in rtl2830_read_snr()
|
D | m88ds3103.c | 218 unsigned int cnr, noise, signal, noise_tot, signal_tot; in m88ds3103_read_status() local 220 cnr = 0; in m88ds3103_read_status() 240 cnr = div_u64((u64) 10000 * intlog2(itmp), intlog2(10)); in m88ds3103_read_status() 267 cnr = div_u64((u64) 10000 * intlog10(itmp), (1 << 24)); in m88ds3103_read_status() 276 if (cnr) { in m88ds3103_read_status() 277 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in m88ds3103_read_status() 278 c->cnr.stat[0].svalue = cnr; in m88ds3103_read_status() 280 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_read_status() 283 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in m88ds3103_read_status() 1130 c->cnr.len = 1; in m88ds3103_init() [all …]
|
D | si2168.c | 162 c->cnr.len = 1; in si2168_read_status() 163 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in si2168_read_status() 164 c->cnr.stat[0].svalue = cmd.args[3] * 1000 / 4; in si2168_read_status() 166 c->cnr.len = 1; in si2168_read_status() 167 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2168_read_status() 520 c->cnr.len = 1; in si2168_init() 521 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2168_init()
|
D | mxl692.c | 917 c->cnr.len = 1; in mxl692_init() 918 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mxl692_init() 1138 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mxl692_read_snr() 1139 c->cnr.stat[0].svalue = *snr; in mxl692_read_snr() 1247 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mxl692_read_status() 1248 c->cnr.stat[0].svalue = atsc_status->snr_db_tenths / 10; in mxl692_read_status() 1265 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mxl692_read_status() 1266 c->cnr.stat[0].svalue = qam_status->snr_db_tenths / 10; in mxl692_read_status() 1276 c->cnr.len = 1; in mxl692_read_status() 1277 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mxl692_read_status()
|
D | af9033.c | 287 c->cnr.len = 1; in af9033_init() 288 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_init() 765 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in af9033_read_status() 766 c->cnr.stat[0].svalue = utmp1; in af9033_read_status() 768 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_read_status() 830 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) { in af9033_read_snr() 834 *snr = div_s64(c->cnr.stat[0].svalue, 100); in af9033_read_snr() 837 *snr = div_s64(c->cnr.stat[0].svalue, 1000); in af9033_read_snr()
|
D | rtl2832.c | 355 c->cnr.len = 1; in rtl2832_init() 356 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 722 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2832_read_status() 723 c->cnr.stat[0].svalue = tmp; in rtl2832_read_status() 725 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status() 760 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in rtl2832_read_snr() 761 *snr = div_s64(c->cnr.stat[0].svalue, 100); in rtl2832_read_snr()
|
D | si2165.c | 638 c->cnr.len = 1; in si2165_init() 639 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2165_init() 735 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in si2165_read_status() 736 c->cnr.stat[0].svalue = u32tmp; in si2165_read_status() 738 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2165_read_status() 801 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in si2165_read_snr() 802 *snr = div_s64(c->cnr.stat[0].svalue, 100); in si2165_read_snr()
|
/linux-6.12.1/drivers/misc/eeprom/ |
D | ee1004.c | 239 int err, cnr = 0; in ee1004_init_bus_data() local 250 for (cnr = 0; cnr < EE1004_NUM_PAGES; cnr++) { in ee1004_init_bus_data() 253 cl = i2c_new_dummy_device(client->adapter, EE1004_ADDR_SET_PAGE + cnr); in ee1004_init_bus_data() 259 bd->set_page[cnr] = cl; in ee1004_init_bus_data() 274 ee1004_cleanup(cnr, bd); in ee1004_init_bus_data()
|
/linux-6.12.1/drivers/media/test-drivers/vidtv/ |
D | vidtv_demod.c | 137 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 138 c->cnr.stat[0].svalue = 0; in vidtv_clean_stats() 139 c->cnr.len = 1; in vidtv_clean_stats() 170 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in vidtv_demod_update_stats() 173 c->cnr.stat[0].scale = scale; in vidtv_demod_update_stats() 194 c->cnr.stat[0].svalue = state->tuner_cnr; in vidtv_demod_update_stats() 195 c->cnr.stat[0].svalue -= get_random_u32_below(state->tuner_cnr / 50); in vidtv_demod_update_stats()
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/cnr/cnr_2/ |
D | ia_css_cnr2.host.h | 32 const struct sh_css_isp_cnr_params *cnr,
|
D | ia_css_cnr2.host.c | 52 const struct sh_css_isp_cnr_params *cnr,
|
/linux-6.12.1/drivers/media/common/siano/ |
D | smsdvb-main.c | 135 c->cnr.len = 1; in smsdvb_stats_not_ready() 137 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready() 271 c->cnr.stat[0].svalue = p->snr * 1000; in smsdvb_update_per_slices() 323 c->cnr.stat[0].svalue = p->SNR * 1000; in smsdvb_update_dvb_stats() 369 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_update_isdbt_stats() 390 c->cnr.stat[0].svalue = p->SNR * 1000; in smsdvb_update_isdbt_stats() 478 c->cnr.stat[0].svalue = p->SNR * 1000; in smsdvb_update_isdbt_stats_ex() 847 *snr = ((u32)c->cnr.stat[0].svalue) / 100; in smsdvb_read_snr() 1027 c->cnr.stat[0].uvalue = 0; in smsdvb_set_frontend()
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
D | ia_css_isp_states.c | 54 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.cnr.size; in ia_css_initialize_cnr_state() 56 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.cnr.offset; in ia_css_initialize_cnr_state()
|
D | ia_css_isp_states.h | 51 struct ia_css_isp_parameter cnr; member
|