Home
last modified time | relevance | path

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

/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 …]
/drivers/mtd/ubi/
Dfastmap.c601 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
660 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
661 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
674 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
675 fm->max_pool_size < 0) { in ubi_attach_fastmap()
676 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
680 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
681 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
683 fm->max_wl_pool_size); in ubi_attach_fastmap()
834 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[all …]
Dfastmap-wl.c368 if (ubi->fm) { in ubi_fastmap_close()
369 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
370 kfree(ubi->fm->e[i]); in ubi_fastmap_close()
372 kfree(ubi->fm); in ubi_fastmap_close()
386 if (e && !ubi->fm_disabled && !ubi->fm && in may_reserve_for_fm()
Dubi.h565 struct ubi_fastmap_layout *fm; member
1138 if (ubi->fm) { in ubi_find_fm_block()
1139 for (i = 0; i < ubi->fm->used_blocks; i++) { in ubi_find_fm_block()
1140 if (ubi->fm->e[i]->pnum == pnum) in ubi_find_fm_block()
1141 return ubi->fm->e[i]; in ubi_find_fm_block()
Dattach.c1530 if (ubi->fm && ubi_dbg_chk_fastmap(ubi)) { in ubi_attach()
Dwl.c338 !ubi->fm && e->pnum < UBI_FM_MAX_START) in find_wl_entry()
/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()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fifo.c543 u32 *fm; in vmw_fifo_send_fence() local
547 fm = vmw_fifo_reserve(dev_priv, bytes); in vmw_fifo_send_fence()
548 if (unlikely(fm == NULL)) { in vmw_fifo_send_fence()
571 *fm++ = SVGA_CMD_FENCE; in vmw_fifo_send_fence()
572 cmd_fence = (struct svga_fifo_cmd_fence *) fm; in vmw_fifo_send_fence()
/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()
/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c444 static u32 fm[] = { in tvaudio_setstereo() local
463 reg = fm[ mode % ARRAY_SIZE(fm) ]; in tvaudio_setstereo()
/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),
/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()
/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) } } }
/drivers/iommu/
Ddmar.c1304 void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, in qi_flush_context() argument
1309 desc.low = QI_CC_FM(fm) | QI_CC_SID(sid) | QI_CC_DID(did) in qi_flush_context()
/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()