Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 28 of 28) sorted by relevance

/linux-4.1.27/drivers/misc/
Dtifm_7xx1.c25 static void tifm_7xx1_dummy_eject(struct tifm_adapter *fm, in tifm_7xx1_dummy_eject() argument
30 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_eject() argument
34 spin_lock_irqsave(&fm->lock, flags); in tifm_7xx1_eject()
35 fm->socket_change_set |= 1 << sock->socket_id; in tifm_7xx1_eject()
36 tifm_queue_work(&fm->media_switcher); in tifm_7xx1_eject()
37 spin_unlock_irqrestore(&fm->lock, flags); in tifm_7xx1_eject()
42 struct tifm_adapter *fm = dev_id; in tifm_7xx1_isr() local
46 spin_lock(&fm->lock); in tifm_7xx1_isr()
47 irq_status = readl(fm->addr + FM_INTERRUPT_STATUS); in tifm_7xx1_isr()
49 spin_unlock(&fm->lock); in tifm_7xx1_isr()
[all …]
Dtifm_core.c169 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); in tifm_free() local
171 kfree(fm); in tifm_free()
182 struct tifm_adapter *fm; in tifm_alloc_adapter() local
184 fm = kzalloc(sizeof(struct tifm_adapter) in tifm_alloc_adapter()
186 if (fm) { in tifm_alloc_adapter()
187 fm->dev.class = &tifm_adapter_class; in tifm_alloc_adapter()
188 fm->dev.parent = dev; in tifm_alloc_adapter()
189 device_initialize(&fm->dev); in tifm_alloc_adapter()
190 spin_lock_init(&fm->lock); in tifm_alloc_adapter()
191 fm->num_sockets = num_sockets; in tifm_alloc_adapter()
[all …]
/linux-4.1.27/include/linux/
Dtifm.h126 void (*eject)(struct tifm_adapter *fm,
128 int (*has_ms_pif)(struct tifm_adapter *fm,
136 int tifm_add_adapter(struct tifm_adapter *fm);
137 void tifm_remove_adapter(struct tifm_adapter *fm);
138 void tifm_free_adapter(struct tifm_adapter *fm);
141 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id,
Dintel-iommu.h271 #define QI_CC_FM(fm) (((u64)fm) << 48) argument
310 u8 fm, u64 type);
372 u8 fm, u64 type);
/linux-4.1.27/drivers/mtd/ubi/
Dfastmap.c597 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
656 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); in ubi_attach_fastmap()
657 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); in ubi_attach_fastmap()
670 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
671 fm->max_pool_size < 0) { in ubi_attach_fastmap()
672 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
676 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
677 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
679 fm->max_wl_pool_size); in ubi_attach_fastmap()
825 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[all …]
Dfastmap-wl.c338 if (ubi->fm) { in ubi_fastmap_close()
339 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
340 kfree(ubi->fm->e[i]); in ubi_fastmap_close()
342 kfree(ubi->fm); in ubi_fastmap_close()
356 if (e && !ubi->fm_disabled && !ubi->fm && in may_reserve_for_fm()
Dwl.c338 !ubi->fm && e->pnum < UBI_FM_MAX_START) in find_wl_entry()
1583 if (ubi->fm) {
1585 found_pebs + ubi->fm->used_blocks);
1587 for (i = 0; i < ubi->fm->used_blocks; i++) {
1588 e = ubi->fm->e[i];
Dubi.h565 struct ubi_fastmap_layout *fm; member
Dattach.c1461 if (ubi->fm && ubi_dbg_chk_fastmap(ubi)) { in ubi_attach()
/linux-4.1.27/sound/drivers/opl3/
Dopl3_midi.c319 struct fm_instrument *fm; in snd_opl3_note_on() local
365 fm = &patch->inst; in snd_opl3_note_on()
452 vol_op[i] = fm->op[i].ksl_level; in snd_opl3_note_on()
454 connection = fm->feedback_connection[0] & 0x01; in snd_opl3_note_on()
457 connection |= fm->feedback_connection[1] & 0x01; in snd_opl3_note_on()
484 reg_val = fm->op[i].am_vib; in snd_opl3_note_on()
494 reg_val = fm->op[i].attack_decay; in snd_opl3_note_on()
499 reg_val = fm->op[i].sustain_release; in snd_opl3_note_on()
504 reg_val = fm->op[i].wave_select; in snd_opl3_note_on()
510 reg_val = fm->feedback_connection[0]; in snd_opl3_note_on()
[all …]
/linux-4.1.27/drivers/regulator/
Dqcom_rpm-regulator.c40 struct request_member fm; /* force mode */ member
53 (((reg)->parts->fm.mask >> (reg)->parts->fm.shift) == 3)
77 .fm = { 0, 0x03000000, 24 },
88 .fm = { 0, 0x03000000, 24 },
122 .fm = { 1, 0x00700000, 20 },
133 .fm = { 1, 0x00700000, 20 },
694 if (vreg->parts->fm.mask) { in rpm_reg_of_parse()
741 ret = rpm_reg_set(vreg, &vreg->parts->fm, force_mode); in rpm_reg_of_parse()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fifo.c489 void *fm; in vmw_fifo_send_fence() local
493 fm = vmw_fifo_reserve(dev_priv, bytes); in vmw_fifo_send_fence()
494 if (unlikely(fm == NULL)) { in vmw_fifo_send_fence()
517 *(__le32 *) fm = cpu_to_le32(SVGA_CMD_FENCE); in vmw_fifo_send_fence()
519 ((unsigned long)fm + sizeof(__le32)); in vmw_fifo_send_fence()
/linux-4.1.27/sound/soc/codecs/
Dcs42xx8.c258 u32 i, fm, val, mask; in cs42xx8_hw_params() local
273 fm = cs42xx8->slave_mode ? CS42XX8_FM_AUTO : cs42xx8_ratios[i].speed; in cs42xx8_hw_params()
277 CS42XX8_FUNCMOD_xC_FM(tx, fm) | val); in cs42xx8_hw_params()
/linux-4.1.27/drivers/media/tuners/
Dmt2063.c709 u32 *fm, u32 * fp) in IsSpurInBand() argument
728 *fm = 0; in IsSpurInBand()
771 *fm = (((s32) d - f_Spur) / (mc - n)) + 1; in IsSpurInBand()
788 *fm = (((s32) f - f_Spur) / (me - n)) + 1; in IsSpurInBand()
802 *fm = (-(f_Spur + (s32) c) / (ma - n)) + 1; in IsSpurInBand()
820 u32 fm, fp; /* restricted range on LO's */ in MT2063_AvoidSpurs() local
840 pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp); in MT2063_AvoidSpurs()
855 MT2063_AddExclZone(pAS_Info, zfIF1 - fm, zfIF1 + fp); in MT2063_AvoidSpurs()
874 pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp); in MT2063_AvoidSpurs()
/linux-4.1.27/Documentation/networking/
Dgeneric-hdlc.txt65 nrz / nrzi / fm-mark / fm-space / manchester - sets transmission code
/linux-4.1.27/arch/frv/kernel/
Dsetup.c1020 const char *gr, *fr, *fm, *fp, *cm, *nem, *ble; in show_cpuinfo() local
1027 fm = cpu_psr_all & PSR_EM ? ", Media" : ""; in show_cpuinfo()
1044 fr, fm, fp, in show_cpuinfo()
/linux-4.1.27/sound/isa/galaxy/
Dgalaxy.c317 goto fm; in snd_galaxy_match()
365 fm: in snd_galaxy_match()
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c445 static u32 fm[] = { in tvaudio_setstereo() local
464 reg = fm[ mode % ARRAY_SIZE(fm) ]; in tvaudio_setstereo()
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dqcom,msm8974-pinctrl.txt73 ter_mi2s, sec_mi2s, bt, fm, wlan, slimbus, gpio
Dqcom,msm8960-pinctrl.txt92 codec_mic_i2s, codec_spkr_i2s, ext_gps, fm, gps_blanking,
/linux-4.1.27/drivers/pinctrl/qcom/
Dpinctrl-msm8x74.c861 FUNCTION(fm),
908 PINGROUP(41, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA),
909 PINGROUP(42, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA),
Dpinctrl-msm8960.c976 FUNCTION(fm),
1101 PINGROUP(26, fm, gsbi6, NA, NA, NA, NA, NA, NA, NA, NA, NA),
1102 PINGROUP(27, fm, gsbi6, NA, NA, NA, NA, NA, NA, NA, NA, NA),
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Ddt_object.h526 struct ll_user_fiemap *fm);
1241 struct ll_user_fiemap *fm) in dt_fiemap_get() argument
1248 return d->do_body_ops->dbo_fiemap_get(env, d, fm); in dt_fiemap_get()
/linux-4.1.27/drivers/media/pci/cx88/
Dcx88-cards.c2921 int fm; member
2936 .fm = 1,
2944 .fm = 1,
2946 [ 0x21 ] = { .id = UNSET, .fm = 1,
2963 core->board.radio.type = gdi_tuner[eeprom_data[0x0d]].fm ? in gdi_eeprom()
/linux-4.1.27/drivers/input/misc/
Dyealink.c76 #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) \ argument
80 _LOC(f, fm) } } }
/linux-4.1.27/drivers/iommu/
Ddmar.c1276 void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, in qi_flush_context() argument
1281 desc.low = QI_CC_FM(fm) | QI_CC_SID(sid) | QI_CC_DID(did) in qi_flush_context()
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_svc.c587 bfa_fcxp_get(struct bfa_fcxp_mod_s *fm, bfa_boolean_t req) in bfa_fcxp_get() argument
592 bfa_q_deq(&fm->fcxp_req_free_q, &fcxp); in bfa_fcxp_get()
594 bfa_q_deq(&fm->fcxp_rsp_free_q, &fcxp); in bfa_fcxp_get()
597 list_add_tail(&fcxp->qe, &fm->fcxp_active_q); in bfa_fcxp_get()
/linux-4.1.27/Documentation/
Dkernel-parameters.txt3276 0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,