det 4789 drivers/gpu/drm/drm_edid.c struct displayid_detailed_timing_block *det = (struct displayid_detailed_timing_block *)block; det 4800 drivers/gpu/drm/drm_edid.c struct displayid_detailed_timings_1 *timings = &det->timings[i]; det 183 drivers/gpu/drm/i2c/ch7006_drv.c int det; det 199 drivers/gpu/drm/i2c/ch7006_drv.c det = ch7006_read(client, CH7006_DETECT); det 205 drivers/gpu/drm/i2c/ch7006_drv.c if ((det & (CH7006_DETECT_SVIDEO_Y_TEST| det 209 drivers/gpu/drm/i2c/ch7006_drv.c else if ((det & (CH7006_DETECT_SVIDEO_Y_TEST| det 212 drivers/gpu/drm/i2c/ch7006_drv.c else if ((det & CH7006_DETECT_CVBS_TEST) == 0) det 802 drivers/infiniband/hw/mlx4/alias_GUID.c struct mlx4_sriov_alias_guid_port_rec_det *det; det 807 drivers/infiniband/hw/mlx4/alias_GUID.c det = &sriov->alias_guid.ports_guid[i]; det 808 drivers/infiniband/hw/mlx4/alias_GUID.c cancel_delayed_work_sync(&det->alias_guid_work); det 810 drivers/infiniband/hw/mlx4/alias_GUID.c while (!list_empty(&det->cb_list)) { det 811 drivers/infiniband/hw/mlx4/alias_GUID.c cb_ctx = list_entry(det->cb_list.next, det 33 drivers/isdn/mISDN/dsp_ecdis.h echo_can_disable_detector_init(struct ec_disable_detector_state *det) det 38 drivers/isdn/mISDN/dsp_ecdis.h biquad2_init(&det->notch, det 45 drivers/isdn/mISDN/dsp_ecdis.h det->channel_level = 0; det 46 drivers/isdn/mISDN/dsp_ecdis.h det->notch_level = 0; det 47 drivers/isdn/mISDN/dsp_ecdis.h det->tone_present = FALSE; det 48 drivers/isdn/mISDN/dsp_ecdis.h det->tone_cycle_duration = 0; det 49 drivers/isdn/mISDN/dsp_ecdis.h det->good_cycles = 0; det 50 drivers/isdn/mISDN/dsp_ecdis.h det->hit = 0; det 55 drivers/isdn/mISDN/dsp_ecdis.h echo_can_disable_detector_update(struct ec_disable_detector_state *det, det 60 drivers/isdn/mISDN/dsp_ecdis.h notched = biquad2(&det->notch, amp); det 67 drivers/isdn/mISDN/dsp_ecdis.h det->channel_level += ((abs(amp) - det->channel_level) >> 5); det 68 drivers/isdn/mISDN/dsp_ecdis.h det->notch_level += ((abs(notched) - det->notch_level) >> 4); det 69 drivers/isdn/mISDN/dsp_ecdis.h if (det->channel_level > 280) { det 72 drivers/isdn/mISDN/dsp_ecdis.h if (det->notch_level * 6 < det->channel_level) { det 74 drivers/isdn/mISDN/dsp_ecdis.h if (!det->tone_present) { det 76 drivers/isdn/mISDN/dsp_ecdis.h if (det->tone_cycle_duration >= 425 * 8 det 77 drivers/isdn/mISDN/dsp_ecdis.h && det->tone_cycle_duration <= 475 * 8) { det 78 drivers/isdn/mISDN/dsp_ecdis.h det->good_cycles++; det 79 drivers/isdn/mISDN/dsp_ecdis.h if (det->good_cycles > 2) det 80 drivers/isdn/mISDN/dsp_ecdis.h det->hit = TRUE; det 82 drivers/isdn/mISDN/dsp_ecdis.h det->tone_cycle_duration = 0; det 84 drivers/isdn/mISDN/dsp_ecdis.h det->tone_present = TRUE; det 86 drivers/isdn/mISDN/dsp_ecdis.h det->tone_present = FALSE; det 87 drivers/isdn/mISDN/dsp_ecdis.h det->tone_cycle_duration++; det 89 drivers/isdn/mISDN/dsp_ecdis.h det->tone_present = FALSE; det 90 drivers/isdn/mISDN/dsp_ecdis.h det->tone_cycle_duration = 0; det 91 drivers/isdn/mISDN/dsp_ecdis.h det->good_cycles = 0; det 93 drivers/isdn/mISDN/dsp_ecdis.h return det->hit; det 740 drivers/media/platform/aspeed-video.c struct v4l2_bt_timings *det = &video->detected_timings; det 742 drivers/media/platform/aspeed-video.c det->width = MIN_WIDTH; det 743 drivers/media/platform/aspeed-video.c det->height = MIN_HEIGHT; det 792 drivers/media/platform/aspeed-video.c det->vfrontporch = video->frame_top; det 793 drivers/media/platform/aspeed-video.c det->vbackporch = ((mds & VE_MODE_DETECT_V_LINES) >> det 795 drivers/media/platform/aspeed-video.c det->vsync = (sync & VE_SYNC_STATUS_VSYNC) >> det 803 drivers/media/platform/aspeed-video.c det->hfrontporch = video->frame_left; det 804 drivers/media/platform/aspeed-video.c det->hbackporch = (mds & VE_MODE_DETECT_H_PIXELS) - det 806 drivers/media/platform/aspeed-video.c det->hsync = sync & VE_SYNC_STATUS_HSYNC; det 818 drivers/media/platform/aspeed-video.c det->height = (video->frame_bottom - video->frame_top) + 1; det 819 drivers/media/platform/aspeed-video.c det->width = (video->frame_right - video->frame_left) + 1; det 831 drivers/media/platform/aspeed-video.c dev_dbg(video->dev, "Got resolution: %dx%d\n", det->width, det 832 drivers/media/platform/aspeed-video.c det->height); det 143 sound/soc/codecs/88pm860x-codec.c struct pm860x_det det; det 1209 sound/soc/codecs/88pm860x-codec.c mask = pm860x->det.hs_shrt | pm860x->det.hook_det | pm860x->det.lo_shrt det 1210 sound/soc/codecs/88pm860x-codec.c | pm860x->det.hp_det; det 1218 sound/soc/codecs/88pm860x-codec.c if ((pm860x->det.hp_det & SND_JACK_HEADPHONE) det 1222 sound/soc/codecs/88pm860x-codec.c if ((pm860x->det.mic_det & SND_JACK_MICROPHONE) det 1226 sound/soc/codecs/88pm860x-codec.c if (pm860x->det.hs_shrt && (shrt & (SHORT_HS1 | SHORT_HS2))) det 1227 sound/soc/codecs/88pm860x-codec.c report |= pm860x->det.hs_shrt; det 1229 sound/soc/codecs/88pm860x-codec.c if (pm860x->det.hook_det && (status & HOOK_STATUS)) det 1230 sound/soc/codecs/88pm860x-codec.c report |= pm860x->det.hook_det; det 1232 sound/soc/codecs/88pm860x-codec.c if (pm860x->det.lo_shrt && (shrt & (SHORT_LO1 | SHORT_LO2))) det 1233 sound/soc/codecs/88pm860x-codec.c report |= pm860x->det.lo_shrt; det 1236 sound/soc/codecs/88pm860x-codec.c snd_soc_jack_report(pm860x->det.hp_jack, report, mask); det 1238 sound/soc/codecs/88pm860x-codec.c snd_soc_jack_report(pm860x->det.mic_jack, SND_JACK_MICROPHONE, det 1249 sound/soc/codecs/88pm860x-codec.c int det, int hook, int hs_shrt, int lo_shrt) det 1254 sound/soc/codecs/88pm860x-codec.c pm860x->det.hp_jack = jack; det 1255 sound/soc/codecs/88pm860x-codec.c pm860x->det.hp_det = det; det 1256 sound/soc/codecs/88pm860x-codec.c pm860x->det.hook_det = hook; det 1257 sound/soc/codecs/88pm860x-codec.c pm860x->det.hs_shrt = hs_shrt; det 1258 sound/soc/codecs/88pm860x-codec.c pm860x->det.lo_shrt = lo_shrt; det 1260 sound/soc/codecs/88pm860x-codec.c if (det & SND_JACK_HEADPHONE) det 1281 sound/soc/codecs/88pm860x-codec.c struct snd_soc_jack *jack, int det) det 1285 sound/soc/codecs/88pm860x-codec.c pm860x->det.mic_jack = jack; det 1286 sound/soc/codecs/88pm860x-codec.c pm860x->det.mic_det = det; det 1288 sound/soc/codecs/88pm860x-codec.c if (det & SND_JACK_MICROPHONE) det 1604 sound/soc/codecs/wm8903.c int det, int shrt) det 1610 sound/soc/codecs/wm8903.c det, shrt); det 1614 sound/soc/codecs/wm8903.c wm8903->mic_det = det; det 1618 sound/soc/codecs/wm8903.c if (det) det 1627 sound/soc/codecs/wm8903.c if (det || shrt) { det 16 sound/soc/codecs/wm8903.h int det, int shrt); det 503 sound/soc/generic/simple-card-utils.c int det; det 522 sound/soc/generic/simple-card-utils.c det = of_get_named_gpio_flags(dev->of_node, prop, 0, &flags); det 523 sound/soc/generic/simple-card-utils.c if (det == -EPROBE_DEFER) det 526 sound/soc/generic/simple-card-utils.c if (gpio_is_valid(det)) { det 532 sound/soc/generic/simple-card-utils.c sjack->gpio.gpio = det;