Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 14 of 14) 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.c167 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); in tifm_free() local
169 kfree(fm); in tifm_free()
180 struct tifm_adapter *fm; in tifm_alloc_adapter() local
182 fm = kzalloc(sizeof(struct tifm_adapter) in tifm_alloc_adapter()
184 if (fm) { in tifm_alloc_adapter()
185 fm->dev.class = &tifm_adapter_class; in tifm_alloc_adapter()
186 fm->dev.parent = dev; in tifm_alloc_adapter()
187 device_initialize(&fm->dev); in tifm_alloc_adapter()
188 spin_lock_init(&fm->lock); in tifm_alloc_adapter()
189 fm->num_sockets = num_sockets; in tifm_alloc_adapter()
[all …]
/drivers/mtd/ubi/
Dfastmap.c535 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
609 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); in ubi_attach_fastmap()
610 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); in ubi_attach_fastmap()
623 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
624 fm->max_pool_size < 0) { in ubi_attach_fastmap()
625 ubi_err("bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
629 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
630 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
631 ubi_err("bad maximal WL pool size: %i", fm->max_wl_pool_size); in ubi_attach_fastmap()
827 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[all …]
Dwl.c163 if (!ubi->fm) in ubi_is_fm_block()
166 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_is_fm_block()
167 if (ubi->fm->e[i]->pnum == pnum) in ubi_is_fm_block()
386 !ubi->fm && e->pnum < UBI_FM_MAX_START) in find_wl_entry()
416 if (e && !ubi->fm_disabled && !ubi->fm && in find_mean_wl_entry()
1964 if (ubi->fm)
1966 found_pebs + ubi->fm->used_blocks);
Dubi.h527 struct ubi_fastmap_layout *fm; member
Dattach.c1451 if (ubi->fm && ubi_dbg_chk_gen(ubi)) { in ubi_attach()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fifo.c472 void *fm; in vmw_fifo_send_fence() local
476 fm = vmw_fifo_reserve(dev_priv, bytes); in vmw_fifo_send_fence()
477 if (unlikely(fm == NULL)) { in vmw_fifo_send_fence()
500 *(__le32 *) fm = cpu_to_le32(SVGA_CMD_FENCE); in vmw_fifo_send_fence()
502 ((unsigned long)fm + sizeof(__le32)); in vmw_fifo_send_fence()
/drivers/media/usb/tlg2300/
Dpd-radio.c124 struct radio_data *fm = &p->radio_data; in poseidon_fm_close() local
131 if (fm->is_radio_streaming && filp == p->file_for_stream) { in poseidon_fm_close()
132 fm->is_radio_streaming = 0; in poseidon_fm_close()
/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.c445 static u32 fm[] = { in tvaudio_setstereo() local
464 reg = fm[ mode % ARRAY_SIZE(fm) ]; in tvaudio_setstereo()
/drivers/media/pci/cx88/
Dcx88-cards.c2921 int fm; member
2936 .fm = 1,
2944 .fm = 1,
2946 [ 0x21 ] = { .id = TUNER_ABSENT, .fm = 1,
2963 core->board.radio.type = gdi_tuner[eeprom_data[0x0d]].fm ? in gdi_eeprom()
/drivers/input/misc/
Dyealink.c77 #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) \ argument
81 _LOC(f, fm) } } }
/drivers/iommu/
Ddmar.c902 void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, in qi_flush_context() argument
907 desc.low = QI_CC_FM(fm) | QI_CC_SID(sid) | QI_CC_DID(did) in qi_flush_context()
/drivers/scsi/bfa/
Dbfa_svc.c582 bfa_fcxp_get(struct bfa_fcxp_mod_s *fm, bfa_boolean_t req) in bfa_fcxp_get() argument
587 bfa_q_deq(&fm->fcxp_req_free_q, &fcxp); in bfa_fcxp_get()
589 bfa_q_deq(&fm->fcxp_rsp_free_q, &fcxp); in bfa_fcxp_get()
592 list_add_tail(&fcxp->qe, &fm->fcxp_active_q); in bfa_fcxp_get()