fm 727 drivers/clk/rockchip/clk.h #define FACTOR(_id, cname, pname, f, fm, fd) \ fm 735 drivers/clk/rockchip/clk.h .div_shift = fm, \ fm 739 drivers/clk/rockchip/clk.h #define FACTOR_GATE(_id, cname, pname, f, fm, fd, go, gb, gf) \ fm 747 drivers/clk/rockchip/clk.h .div_shift = fm, \ fm 34 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c bp, flg, fm, np) \ fm 46 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .fetch_mode = fm, \ fm 53 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c alpha, bp, flg, fm, np, th) \ fm 65 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .fetch_mode = fm, \ fm 73 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c alpha, chroma, count, bp, flg, fm, np) \ fm 85 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .fetch_mode = fm, \ fm 91 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c #define PSEUDO_YUV_FMT(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np) \ fm 103 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .fetch_mode = fm, \ fm 110 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c flg, fm, np, th) \ fm 122 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .fetch_mode = fm, \ fm 128 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c #define PSEUDO_YUV_FMT_LOOSE(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np)\ fm 140 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .fetch_mode = fm, \ fm 147 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c flg, fm, np, th) \ fm 159 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .fetch_mode = fm, \ fm 167 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c flg, fm, np) \ fm 179 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .fetch_mode = fm, \ fm 541 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c u32 *fm; fm 545 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c fm = VMW_FIFO_RESERVE(dev_priv, bytes); fm 546 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c if (unlikely(fm == NULL)) { fm 569 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c *fm++ = SVGA_CMD_FENCE; fm 570 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c cmd_fence = (struct svga_fifo_cmd_fence *) fm; fm 48 drivers/i2c/busses/i2c-pxa.c u32 fm; fm 103 drivers/i2c/busses/i2c-pxa.c .fm = ICR_BUSMODE_FM, fm 1253 drivers/i2c/busses/i2c-pxa.c i2c->fm_mask = pxa_reg_layout[i2c_type].fm ? : ICR_FM; fm 61 drivers/input/misc/yealink.c #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) \ fm 65 drivers/input/misc/yealink.c _LOC(f, fm) } } } fm 1320 drivers/iommu/dmar.c void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, fm 1325 drivers/iommu/dmar.c desc.qw0 = QI_CC_FM(fm) | QI_CC_SID(sid) | QI_CC_DID(did) fm 2909 drivers/media/pci/cx88/cx88-cards.c int fm; fm 2924 drivers/media/pci/cx88/cx88-cards.c .fm = 1, fm 2932 drivers/media/pci/cx88/cx88-cards.c .fm = 1, fm 2934 drivers/media/pci/cx88/cx88-cards.c [0x21] = { .id = UNSET, .fm = 1, fm 2951 drivers/media/pci/cx88/cx88-cards.c core->board.radio.type = gdi_tuner[eeprom_data[0x0d]].fm ? fm 364 drivers/media/pci/ddbridge/ddbridge-max.c int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm) fm 368 drivers/media/pci/ddbridge/ddbridge-max.c if (link->lnb.fmode == fm) fm 370 drivers/media/pci/ddbridge/ddbridge-max.c dev_info(dev->dev, "Set fmode link %u = %u\n", l, fm); fm 372 drivers/media/pci/ddbridge/ddbridge-max.c if (fm == 2 || fm == 1) { fm 394 drivers/media/pci/ddbridge/ddbridge-max.c link->lnb.fmode = fm; fm 26 drivers/media/pci/ddbridge/ddbridge-max.h int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm); fm 431 drivers/media/pci/saa7134/saa7134-tvaudio.c static u32 fm[] = { fm 450 drivers/media/pci/saa7134/saa7134-tvaudio.c reg = fm[ mode % ARRAY_SIZE(fm) ]; fm 679 drivers/media/tuners/mt2063.c u32 *fm, u32 * fp) fm 698 drivers/media/tuners/mt2063.c *fm = 0; fm 741 drivers/media/tuners/mt2063.c *fm = (((s32) d - f_Spur) / (mc - n)) + 1; fm 758 drivers/media/tuners/mt2063.c *fm = (((s32) f - f_Spur) / (me - n)) + 1; fm 772 drivers/media/tuners/mt2063.c *fm = (-(f_Spur + (s32) c) / (ma - n)) + 1; fm 790 drivers/media/tuners/mt2063.c u32 fm, fp; /* restricted range on LO's */ fm 810 drivers/media/tuners/mt2063.c pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp); fm 825 drivers/media/tuners/mt2063.c MT2063_AddExclZone(pAS_Info, zfIF1 - fm, zfIF1 + fp); fm 844 drivers/media/tuners/mt2063.c pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp); fm 21 drivers/misc/tifm_7xx1.c static void tifm_7xx1_dummy_eject(struct tifm_adapter *fm, fm 26 drivers/misc/tifm_7xx1.c static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) fm 30 drivers/misc/tifm_7xx1.c spin_lock_irqsave(&fm->lock, flags); fm 31 drivers/misc/tifm_7xx1.c fm->socket_change_set |= 1 << sock->socket_id; fm 32 drivers/misc/tifm_7xx1.c tifm_queue_work(&fm->media_switcher); fm 33 drivers/misc/tifm_7xx1.c spin_unlock_irqrestore(&fm->lock, flags); fm 38 drivers/misc/tifm_7xx1.c struct tifm_adapter *fm = dev_id; fm 42 drivers/misc/tifm_7xx1.c spin_lock(&fm->lock); fm 43 drivers/misc/tifm_7xx1.c irq_status = readl(fm->addr + FM_INTERRUPT_STATUS); fm 45 drivers/misc/tifm_7xx1.c spin_unlock(&fm->lock); fm 50 drivers/misc/tifm_7xx1.c writel(TIFM_IRQ_ENABLE, fm->addr + FM_CLEAR_INTERRUPT_ENABLE); fm 52 drivers/misc/tifm_7xx1.c for (cnt = 0; cnt < fm->num_sockets; cnt++) { fm 53 drivers/misc/tifm_7xx1.c sock = fm->sockets[cnt]; fm 62 drivers/misc/tifm_7xx1.c fm->socket_change_set |= irq_status fm 63 drivers/misc/tifm_7xx1.c & ((1 << fm->num_sockets) - 1); fm 65 drivers/misc/tifm_7xx1.c writel(irq_status, fm->addr + FM_INTERRUPT_STATUS); fm 67 drivers/misc/tifm_7xx1.c if (fm->finish_me) fm 68 drivers/misc/tifm_7xx1.c complete_all(fm->finish_me); fm 69 drivers/misc/tifm_7xx1.c else if (!fm->socket_change_set) fm 70 drivers/misc/tifm_7xx1.c writel(TIFM_IRQ_ENABLE, fm->addr + FM_SET_INTERRUPT_ENABLE); fm 72 drivers/misc/tifm_7xx1.c tifm_queue_work(&fm->media_switcher); fm 74 drivers/misc/tifm_7xx1.c spin_unlock(&fm->lock); fm 137 drivers/misc/tifm_7xx1.c struct tifm_adapter *fm = container_of(work, struct tifm_adapter, fm 145 drivers/misc/tifm_7xx1.c spin_lock_irqsave(&fm->lock, flags); fm 146 drivers/misc/tifm_7xx1.c socket_change_set = fm->socket_change_set; fm 147 drivers/misc/tifm_7xx1.c fm->socket_change_set = 0; fm 149 drivers/misc/tifm_7xx1.c dev_dbg(fm->dev.parent, "checking media set %x\n", fm 153 drivers/misc/tifm_7xx1.c spin_unlock_irqrestore(&fm->lock, flags); fm 157 drivers/misc/tifm_7xx1.c for (cnt = 0; cnt < fm->num_sockets; cnt++) { fm 160 drivers/misc/tifm_7xx1.c sock = fm->sockets[cnt]; fm 164 drivers/misc/tifm_7xx1.c dev_name(&fm->dev), fm->id, cnt); fm 165 drivers/misc/tifm_7xx1.c fm->sockets[cnt] = NULL; fm 167 drivers/misc/tifm_7xx1.c spin_unlock_irqrestore(&fm->lock, flags); fm 169 drivers/misc/tifm_7xx1.c spin_lock_irqsave(&fm->lock, flags); fm 174 drivers/misc/tifm_7xx1.c spin_unlock_irqrestore(&fm->lock, flags); fm 177 drivers/misc/tifm_7xx1.c tifm_7xx1_sock_addr(fm->addr, cnt)); fm 180 drivers/misc/tifm_7xx1.c sock = tifm_alloc_device(fm, cnt, media_id); fm 182 drivers/misc/tifm_7xx1.c sock->addr = tifm_7xx1_sock_addr(fm->addr, cnt); fm 185 drivers/misc/tifm_7xx1.c spin_lock_irqsave(&fm->lock, flags); fm 186 drivers/misc/tifm_7xx1.c if (!fm->sockets[cnt]) { fm 187 drivers/misc/tifm_7xx1.c fm->sockets[cnt] = sock; fm 190 drivers/misc/tifm_7xx1.c spin_unlock_irqrestore(&fm->lock, flags); fm 195 drivers/misc/tifm_7xx1.c spin_lock_irqsave(&fm->lock, flags); fm 200 drivers/misc/tifm_7xx1.c fm->addr + FM_CLEAR_INTERRUPT_ENABLE); fm 204 drivers/misc/tifm_7xx1.c fm->addr + FM_SET_INTERRUPT_ENABLE); fm 206 drivers/misc/tifm_7xx1.c writel(TIFM_IRQ_ENABLE, fm->addr + FM_SET_INTERRUPT_ENABLE); fm 207 drivers/misc/tifm_7xx1.c spin_unlock_irqrestore(&fm->lock, flags); fm 214 drivers/misc/tifm_7xx1.c struct tifm_adapter *fm = pci_get_drvdata(dev); fm 219 drivers/misc/tifm_7xx1.c for (cnt = 0; cnt < fm->num_sockets; cnt++) { fm 220 drivers/misc/tifm_7xx1.c if (fm->sockets[cnt]) fm 221 drivers/misc/tifm_7xx1.c tifm_7xx1_sock_power_off(fm->sockets[cnt]->addr); fm 233 drivers/misc/tifm_7xx1.c struct tifm_adapter *fm = pci_get_drvdata(dev); fm 242 drivers/misc/tifm_7xx1.c if (WARN_ON(fm->num_sockets > ARRAY_SIZE(new_ids))) fm 254 drivers/misc/tifm_7xx1.c for (rc = 0; rc < fm->num_sockets; rc++) fm 256 drivers/misc/tifm_7xx1.c tifm_7xx1_sock_addr(fm->addr, rc)); fm 257 drivers/misc/tifm_7xx1.c spin_lock_irqsave(&fm->lock, flags); fm 258 drivers/misc/tifm_7xx1.c for (rc = 0; rc < fm->num_sockets; rc++) { fm 259 drivers/misc/tifm_7xx1.c if (fm->sockets[rc]) { fm 260 drivers/misc/tifm_7xx1.c if (fm->sockets[rc]->type == new_ids[rc]) fm 267 drivers/misc/tifm_7xx1.c writel(TIFM_IRQ_ENABLE | TIFM_IRQ_SOCKMASK((1 << fm->num_sockets) - 1), fm 268 drivers/misc/tifm_7xx1.c fm->addr + FM_SET_INTERRUPT_ENABLE); fm 272 drivers/misc/tifm_7xx1.c fm->socket_change_set = 0; fm 274 drivers/misc/tifm_7xx1.c fm->finish_me = &finish_resume; fm 275 drivers/misc/tifm_7xx1.c spin_unlock_irqrestore(&fm->lock, flags); fm 280 drivers/misc/tifm_7xx1.c fm->addr + FM_CLEAR_INTERRUPT_ENABLE); fm 283 drivers/misc/tifm_7xx1.c fm->addr + FM_SET_INTERRUPT_ENABLE); fm 284 drivers/misc/tifm_7xx1.c spin_lock_irqsave(&fm->lock, flags); fm 285 drivers/misc/tifm_7xx1.c fm->finish_me = NULL; fm 286 drivers/misc/tifm_7xx1.c fm->socket_change_set ^= good_sockets & fm->socket_change_set; fm 289 drivers/misc/tifm_7xx1.c fm->socket_change_set |= bad_sockets; fm 290 drivers/misc/tifm_7xx1.c if (fm->socket_change_set) fm 291 drivers/misc/tifm_7xx1.c tifm_queue_work(&fm->media_switcher); fm 293 drivers/misc/tifm_7xx1.c spin_unlock_irqrestore(&fm->lock, flags); fm 295 drivers/misc/tifm_7xx1.c fm->addr + FM_SET_INTERRUPT_ENABLE); fm 307 drivers/misc/tifm_7xx1.c static int tifm_7xx1_dummy_has_ms_pif(struct tifm_adapter *fm, fm 313 drivers/misc/tifm_7xx1.c static int tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) fm 315 drivers/misc/tifm_7xx1.c if (((fm->num_sockets == 4) && (sock->socket_id == 2)) fm 316 drivers/misc/tifm_7xx1.c || ((fm->num_sockets == 2) && (sock->socket_id == 0))) fm 325 drivers/misc/tifm_7xx1.c struct tifm_adapter *fm; fm 347 drivers/misc/tifm_7xx1.c fm = tifm_alloc_adapter(dev->device == PCI_DEVICE_ID_TI_XX21_XX11_FM fm 349 drivers/misc/tifm_7xx1.c if (!fm) { fm 354 drivers/misc/tifm_7xx1.c INIT_WORK(&fm->media_switcher, tifm_7xx1_switch_media); fm 355 drivers/misc/tifm_7xx1.c fm->eject = tifm_7xx1_eject; fm 356 drivers/misc/tifm_7xx1.c fm->has_ms_pif = tifm_7xx1_has_ms_pif; fm 357 drivers/misc/tifm_7xx1.c pci_set_drvdata(dev, fm); fm 359 drivers/misc/tifm_7xx1.c fm->addr = pci_ioremap_bar(dev, 0); fm 360 drivers/misc/tifm_7xx1.c if (!fm->addr) { fm 365 drivers/misc/tifm_7xx1.c rc = request_irq(dev->irq, tifm_7xx1_isr, IRQF_SHARED, DRIVER_NAME, fm); fm 369 drivers/misc/tifm_7xx1.c rc = tifm_add_adapter(fm); fm 373 drivers/misc/tifm_7xx1.c writel(TIFM_IRQ_ENABLE | TIFM_IRQ_SOCKMASK((1 << fm->num_sockets) - 1), fm 374 drivers/misc/tifm_7xx1.c fm->addr + FM_CLEAR_INTERRUPT_ENABLE); fm 375 drivers/misc/tifm_7xx1.c writel(TIFM_IRQ_ENABLE | TIFM_IRQ_SOCKMASK((1 << fm->num_sockets) - 1), fm 376 drivers/misc/tifm_7xx1.c fm->addr + FM_SET_INTERRUPT_ENABLE); fm 380 drivers/misc/tifm_7xx1.c free_irq(dev->irq, fm); fm 382 drivers/misc/tifm_7xx1.c iounmap(fm->addr); fm 384 drivers/misc/tifm_7xx1.c tifm_free_adapter(fm); fm 396 drivers/misc/tifm_7xx1.c struct tifm_adapter *fm = pci_get_drvdata(dev); fm 399 drivers/misc/tifm_7xx1.c fm->eject = tifm_7xx1_dummy_eject; fm 400 drivers/misc/tifm_7xx1.c fm->has_ms_pif = tifm_7xx1_dummy_has_ms_pif; fm 401 drivers/misc/tifm_7xx1.c writel(TIFM_IRQ_SETALL, fm->addr + FM_CLEAR_INTERRUPT_ENABLE); fm 402 drivers/misc/tifm_7xx1.c free_irq(dev->irq, fm); fm 404 drivers/misc/tifm_7xx1.c tifm_remove_adapter(fm); fm 406 drivers/misc/tifm_7xx1.c for (cnt = 0; cnt < fm->num_sockets; cnt++) fm 407 drivers/misc/tifm_7xx1.c tifm_7xx1_sock_power_off(tifm_7xx1_sock_addr(fm->addr, cnt)); fm 409 drivers/misc/tifm_7xx1.c iounmap(fm->addr); fm 414 drivers/misc/tifm_7xx1.c tifm_free_adapter(fm); fm 165 drivers/misc/tifm_core.c struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); fm 167 drivers/misc/tifm_core.c kfree(fm); fm 178 drivers/misc/tifm_core.c struct tifm_adapter *fm; fm 180 drivers/misc/tifm_core.c fm = kzalloc(sizeof(struct tifm_adapter) fm 182 drivers/misc/tifm_core.c if (fm) { fm 183 drivers/misc/tifm_core.c fm->dev.class = &tifm_adapter_class; fm 184 drivers/misc/tifm_core.c fm->dev.parent = dev; fm 185 drivers/misc/tifm_core.c device_initialize(&fm->dev); fm 186 drivers/misc/tifm_core.c spin_lock_init(&fm->lock); fm 187 drivers/misc/tifm_core.c fm->num_sockets = num_sockets; fm 189 drivers/misc/tifm_core.c return fm; fm 193 drivers/misc/tifm_core.c int tifm_add_adapter(struct tifm_adapter *fm) fm 199 drivers/misc/tifm_core.c rc = idr_alloc(&tifm_adapter_idr, fm, 0, 0, GFP_NOWAIT); fm 201 drivers/misc/tifm_core.c fm->id = rc; fm 207 drivers/misc/tifm_core.c dev_set_name(&fm->dev, "tifm%u", fm->id); fm 208 drivers/misc/tifm_core.c rc = device_add(&fm->dev); fm 211 drivers/misc/tifm_core.c idr_remove(&tifm_adapter_idr, fm->id); fm 219 drivers/misc/tifm_core.c void tifm_remove_adapter(struct tifm_adapter *fm) fm 224 drivers/misc/tifm_core.c for (cnt = 0; cnt < fm->num_sockets; ++cnt) { fm 225 drivers/misc/tifm_core.c if (fm->sockets[cnt]) fm 226 drivers/misc/tifm_core.c device_unregister(&fm->sockets[cnt]->dev); fm 230 drivers/misc/tifm_core.c idr_remove(&tifm_adapter_idr, fm->id); fm 232 drivers/misc/tifm_core.c device_del(&fm->dev); fm 236 drivers/misc/tifm_core.c void tifm_free_adapter(struct tifm_adapter *fm) fm 238 drivers/misc/tifm_core.c put_device(&fm->dev); fm 249 drivers/misc/tifm_core.c struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, fm 265 drivers/misc/tifm_core.c sock->dev.parent = fm->dev.parent; fm 267 drivers/misc/tifm_core.c sock->dev.dma_mask = fm->dev.parent->dma_mask; fm 271 drivers/misc/tifm_core.c tifm_media_type_name(type, 2), fm->id, id); fm 274 drivers/misc/tifm_core.c tifm_media_type_name(type, 0), fm->id, id); fm 282 drivers/misc/tifm_core.c struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); fm 283 drivers/misc/tifm_core.c fm->eject(fm, sock); fm 289 drivers/misc/tifm_core.c struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); fm 290 drivers/misc/tifm_core.c return fm->has_ms_pif(fm, sock); fm 1614 drivers/mtd/ubi/attach.c if (ubi->fm && ubi_dbg_chk_fastmap(ubi)) { fm 359 drivers/mtd/ubi/fastmap-wl.c if (ubi->fm) { fm 360 drivers/mtd/ubi/fastmap-wl.c for (i = 0; i < ubi->fm->used_blocks; i++) fm 361 drivers/mtd/ubi/fastmap-wl.c kfree(ubi->fm->e[i]); fm 363 drivers/mtd/ubi/fastmap-wl.c kfree(ubi->fm); fm 377 drivers/mtd/ubi/fastmap-wl.c if (e && !ubi->fm_disabled && !ubi->fm && fm 548 drivers/mtd/ubi/fastmap.c struct ubi_fastmap_layout *fm) fm 607 drivers/mtd/ubi/fastmap.c fm->max_pool_size = be16_to_cpu(fmpl->max_size); fm 608 drivers/mtd/ubi/fastmap.c fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); fm 621 drivers/mtd/ubi/fastmap.c if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || fm 622 drivers/mtd/ubi/fastmap.c fm->max_pool_size < 0) { fm 623 drivers/mtd/ubi/fastmap.c ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); fm 627 drivers/mtd/ubi/fastmap.c if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || fm 628 drivers/mtd/ubi/fastmap.c fm->max_wl_pool_size < 0) { fm 630 drivers/mtd/ubi/fastmap.c fm->max_wl_pool_size); fm 781 drivers/mtd/ubi/fastmap.c ai->bad_peb_count - fm->used_blocks)) fm 857 drivers/mtd/ubi/fastmap.c struct ubi_fastmap_layout *fm; fm 888 drivers/mtd/ubi/fastmap.c fm = kzalloc(sizeof(*fm), GFP_KERNEL); fm 889 drivers/mtd/ubi/fastmap.c if (!fm) { fm 899 drivers/mtd/ubi/fastmap.c fm->to_be_tortured[0] = 1; fm 970 drivers/mtd/ubi/fastmap.c fm->to_be_tortured[i] = 1; fm 1041 drivers/mtd/ubi/fastmap.c fm->used_blocks = used_blocks; fm 1043 drivers/mtd/ubi/fastmap.c ret = ubi_attach_fastmap(ubi, ai, fm); fm 1056 drivers/mtd/ubi/fastmap.c kmem_cache_free(ubi_wl_entry_slab, fm->e[i]); fm 1064 drivers/mtd/ubi/fastmap.c fm->e[i] = e; fm 1067 drivers/mtd/ubi/fastmap.c ubi->fm = fm; fm 1068 drivers/mtd/ubi/fastmap.c ubi->fm_pool.max_size = ubi->fm->max_pool_size; fm 1069 drivers/mtd/ubi/fastmap.c ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size; fm 1090 drivers/mtd/ubi/fastmap.c kfree(fm); fm 1368 drivers/mtd/ubi/fastmap.c ubi->fm = new_fm; fm 1446 drivers/mtd/ubi/fastmap.c struct ubi_fastmap_layout *fm; fm 1451 drivers/mtd/ubi/fastmap.c if (!ubi->fm) fm 1454 drivers/mtd/ubi/fastmap.c ubi->fm = NULL; fm 1457 drivers/mtd/ubi/fastmap.c fm = kzalloc(sizeof(*fm), GFP_KERNEL); fm 1458 drivers/mtd/ubi/fastmap.c if (!fm) fm 1483 drivers/mtd/ubi/fastmap.c fm->used_blocks = 1; fm 1484 drivers/mtd/ubi/fastmap.c fm->e[0] = e; fm 1486 drivers/mtd/ubi/fastmap.c ubi->fm = fm; fm 1493 drivers/mtd/ubi/fastmap.c kfree(fm); fm 1504 drivers/mtd/ubi/fastmap.c struct ubi_fastmap_layout *fm) fm 1508 drivers/mtd/ubi/fastmap.c if (!fm) fm 1511 drivers/mtd/ubi/fastmap.c for (i = 0; i < fm->used_blocks; i++) { fm 1512 drivers/mtd/ubi/fastmap.c if (fm->e[i]) { fm 1513 drivers/mtd/ubi/fastmap.c ubi_wl_put_fm_peb(ubi, fm->e[i], i, fm 1514 drivers/mtd/ubi/fastmap.c fm->to_be_tortured[i]); fm 1515 drivers/mtd/ubi/fastmap.c fm->e[i] = NULL; fm 1563 drivers/mtd/ubi/fastmap.c old_fm = ubi->fm; fm 1564 drivers/mtd/ubi/fastmap.c ubi->fm = NULL; fm 592 drivers/mtd/ubi/ubi.h struct ubi_fastmap_layout *fm; fm 1216 drivers/mtd/ubi/ubi.h if (ubi->fm) { fm 1217 drivers/mtd/ubi/ubi.h for (i = 0; i < ubi->fm->used_blocks; i++) { fm 1218 drivers/mtd/ubi/ubi.h if (ubi->fm->e[i]->pnum == pnum) fm 1219 drivers/mtd/ubi/ubi.h return ubi->fm->e[i]; fm 346 drivers/mtd/ubi/wl.c !ubi->fm && e->pnum < UBI_FM_MAX_START) fm 344 drivers/net/ethernet/freescale/fman/fman_dtsec.c void *fm; fm 785 drivers/net/ethernet/freescale/fman/fman_dtsec.c fman_reset_mac(dtsec->fm, dtsec->mac_id); fm 834 drivers/net/ethernet/freescale/fman/fman_dtsec.c fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, fm 836 drivers/net/ethernet/freescale/fman/fman_dtsec.c fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, fm 1402 drivers/net/ethernet/freescale/fman/fman_dtsec.c (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { fm 1452 drivers/net/ethernet/freescale/fman/fman_dtsec.c err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); fm 1475 drivers/net/ethernet/freescale/fman/fman_dtsec.c fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, fm 1478 drivers/net/ethernet/freescale/fman/fman_dtsec.c fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, fm 1545 drivers/net/ethernet/freescale/fman/fman_dtsec.c dtsec->fm = params->fm; fm 1562 drivers/net/ethernet/freescale/fman/fman_dtsec.c fman_get_revision(dtsec->fm, &dtsec->fm_rev_info); fm 193 drivers/net/ethernet/freescale/fman/fman_mac.h void *fm; fm 349 drivers/net/ethernet/freescale/fman/fman_memac.c void *fm; fm 691 drivers/net/ethernet/freescale/fman/fman_memac.c fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, fm 694 drivers/net/ethernet/freescale/fman/fman_memac.c fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, fm 1110 drivers/net/ethernet/freescale/fman/fman_memac.c err = fman_set_mac_max_frame(memac->fm, memac->mac_id, fm 1131 drivers/net/ethernet/freescale/fman/fman_memac.c fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, fm 1134 drivers/net/ethernet/freescale/fman/fman_memac.c fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, fm 1191 drivers/net/ethernet/freescale/fman/fman_memac.c memac->fm = params->fm; fm 1195 drivers/net/ethernet/freescale/fman/fman_memac.c fman_get_revision(memac->fm, &memac->fm_rev_info); fm 452 drivers/net/ethernet/freescale/fman/fman_port.c void *fm; fm 1042 drivers/net/ethernet/freescale/fman/fman_port.c bmi_max_fifo_size = fman_get_bmi_max_fifo_size(port->fm); fm 1337 drivers/net/ethernet/freescale/fman/fman_port.c port->fm = port->dts_params.fman; fm 1341 drivers/net/ethernet/freescale/fman/fman_port.c fman_get_revision(port->fm, &port->rev_info); fm 1502 drivers/net/ethernet/freescale/fman/fman_port.c err = fman_set_port_params(port->fm, ¶ms); fm 133 drivers/net/ethernet/freescale/fman/fman_port.h void *fm; fm 219 drivers/net/ethernet/freescale/fman/fman_tgec.c void *fm; fm 405 drivers/net/ethernet/freescale/fman/fman_tgec.c fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, fm 698 drivers/net/ethernet/freescale/fman/fman_tgec.c (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { fm 726 drivers/net/ethernet/freescale/fman/fman_tgec.c err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, fm 760 drivers/net/ethernet/freescale/fman/fman_tgec.c fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, fm 825 drivers/net/ethernet/freescale/fman/fman_tgec.c tgec->fm = params->fm; fm 828 drivers/net/ethernet/freescale/fman/fman_tgec.c fman_get_revision(tgec->fm, &tgec->fm_rev_info); fm 110 drivers/net/ethernet/freescale/fman/mac.c params->fm = (void *)priv->fman; fm 968 drivers/pinctrl/qcom/pinctrl-msm8960.c FUNCTION(fm), fm 1093 drivers/pinctrl/qcom/pinctrl-msm8960.c PINGROUP(26, fm, gsbi6, NA, NA, NA, NA, NA, NA, NA, NA, NA), fm 1094 drivers/pinctrl/qcom/pinctrl-msm8960.c PINGROUP(27, fm, gsbi6, NA, NA, NA, NA, NA, NA, NA, NA, NA), fm 891 drivers/pinctrl/qcom/pinctrl-msm8x74.c FUNCTION(fm), fm 939 drivers/pinctrl/qcom/pinctrl-msm8x74.c PINGROUP(41, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA), fm 940 drivers/pinctrl/qcom/pinctrl-msm8x74.c PINGROUP(42, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA), fm 32 drivers/regulator/qcom_rpm-regulator.c struct request_member fm; /* force mode */ fm 45 drivers/regulator/qcom_rpm-regulator.c (((reg)->parts->fm.mask >> (reg)->parts->fm.shift) == 3) fm 69 drivers/regulator/qcom_rpm-regulator.c .fm = { 0, 0x03000000, 24 }, fm 80 drivers/regulator/qcom_rpm-regulator.c .fm = { 0, 0x03000000, 24 }, fm 114 drivers/regulator/qcom_rpm-regulator.c .fm = { 1, 0x00700000, 20 }, fm 125 drivers/regulator/qcom_rpm-regulator.c .fm = { 1, 0x00700000, 20 }, fm 724 drivers/regulator/qcom_rpm-regulator.c if (vreg->parts->fm.mask) { fm 771 drivers/regulator/qcom_rpm-regulator.c ret = rpm_reg_set(vreg, &vreg->parts->fm, force_mode); fm 537 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_get(struct bfa_fcxp_mod_s *fm, bfa_boolean_t req) fm 542 drivers/scsi/bfa/bfa_svc.c bfa_q_deq(&fm->fcxp_req_free_q, &fcxp); fm 544 drivers/scsi/bfa/bfa_svc.c bfa_q_deq(&fm->fcxp_rsp_free_q, &fcxp); fm 547 drivers/scsi/bfa/bfa_svc.c list_add_tail(&fcxp->qe, &fm->fcxp_active_q); fm 569 fs/ext4/fsmap.c struct ext4_fsmap *fm) fm 571 fs/ext4/fsmap.c if (fm->fmr_device == 0 || fm->fmr_device == UINT_MAX || fm 572 fs/ext4/fsmap.c fm->fmr_device == new_encode_dev(sb->s_bdev->bd_dev)) fm 575 fs/ext4/fsmap.c fm->fmr_device == new_encode_dev(EXT4_SB(sb)->journal_bdev->bd_dev)) fm 625 fs/ext4/ioctl.c struct fsmap fm; fm 630 fs/ext4/ioctl.c ext4_fsmap_from_internal(info->gi_sb, &fm, xfm); fm 631 fs/ext4/ioctl.c if (copy_to_user(&info->gi_data->fmh_recs[info->gi_idx++], &fm, fm 741 fs/xfs/xfs_fsmap.c struct xfs_fsmap *fm) fm 743 fs/xfs/xfs_fsmap.c if (fm->fmr_device == 0 || fm->fmr_device == UINT_MAX || fm 744 fs/xfs/xfs_fsmap.c fm->fmr_device == new_encode_dev(mp->m_ddev_targp->bt_dev)) fm 747 fs/xfs/xfs_fsmap.c fm->fmr_device == new_encode_dev(mp->m_logdev_targp->bt_dev)) fm 750 fs/xfs/xfs_fsmap.c fm->fmr_device == new_encode_dev(mp->m_rtdev_targp->bt_dev)) fm 1845 fs/xfs/xfs_ioctl.c struct fsmap fm; fm 1850 fs/xfs/xfs_ioctl.c xfs_fsmap_from_internal(&fm, xfm); fm 1851 fs/xfs/xfs_ioctl.c if (copy_to_user(&info->data->fmh_recs[info->idx++], &fm, fm 333 include/linux/intel-iommu.h #define QI_CC_FM(fm) (((u64)fm) << 48) fm 425 include/linux/intel-iommu.h u8 fm, u64 type); fm 645 include/linux/intel-iommu.h u8 fm, u64 type); fm 122 include/linux/tifm.h void (*eject)(struct tifm_adapter *fm, fm 124 include/linux/tifm.h int (*has_ms_pif)(struct tifm_adapter *fm, fm 132 include/linux/tifm.h int tifm_add_adapter(struct tifm_adapter *fm); fm 133 include/linux/tifm.h void tifm_remove_adapter(struct tifm_adapter *fm); fm 134 include/linux/tifm.h void tifm_free_adapter(struct tifm_adapter *fm); fm 137 include/linux/tifm.h struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, fm 301 sound/drivers/opl3/opl3_midi.c struct fm_instrument *fm; fm 347 sound/drivers/opl3/opl3_midi.c fm = &patch->inst; fm 435 sound/drivers/opl3/opl3_midi.c vol_op[i] = fm->op[i].ksl_level; fm 437 sound/drivers/opl3/opl3_midi.c connection = fm->feedback_connection[0] & 0x01; fm 440 sound/drivers/opl3/opl3_midi.c connection |= fm->feedback_connection[1] & 0x01; fm 467 sound/drivers/opl3/opl3_midi.c reg_val = fm->op[i].am_vib; fm 477 sound/drivers/opl3/opl3_midi.c reg_val = fm->op[i].attack_decay; fm 482 sound/drivers/opl3/opl3_midi.c reg_val = fm->op[i].sustain_release; fm 487 sound/drivers/opl3/opl3_midi.c reg_val = fm->op[i].wave_select; fm 493 sound/drivers/opl3/opl3_midi.c reg_val = fm->feedback_connection[0]; fm 505 sound/drivers/opl3/opl3_midi.c reg_val = fm->feedback_connection[1] & OPL3_CONNECTION_BIT; fm 522 sound/drivers/opl3/opl3_midi.c if (fm->fix_key) fm 523 sound/drivers/opl3/opl3_midi.c note = fm->fix_key; fm 527 sound/drivers/opl3/opl3_midi.c if (fm->trnsps) fm 528 sound/drivers/opl3/opl3_midi.c note += (fm->trnsps - 64); fm 549 sound/drivers/opl3/opl3_midi.c if (fm->fix_dur) { fm 551 sound/drivers/opl3/opl3_midi.c (fm->fix_dur * HZ) / 100; fm 558 sound/drivers/opl3/opl3_midi.c extra_prg = (extra_prg) ? 0 : fm->modes; fm 306 sound/isa/galaxy/galaxy.c goto fm; fm 355 sound/isa/galaxy/galaxy.c fm: fm 269 sound/soc/codecs/cs42xx8.c u32 fm[2]; fm 285 sound/soc/codecs/cs42xx8.c fm[i] = CS42XX8_FM_AUTO; fm 288 sound/soc/codecs/cs42xx8.c fm[i] = CS42XX8_FM_SINGLE; fm 290 sound/soc/codecs/cs42xx8.c fm[i] = CS42XX8_FM_DOUBLE; fm 292 sound/soc/codecs/cs42xx8.c fm[i] = CS42XX8_FM_QUAD; fm 303 sound/soc/codecs/cs42xx8.c condition1 = ((fm[tx] == CS42XX8_FM_AUTO) ? fm 307 sound/soc/codecs/cs42xx8.c (cs42xx8_ratios[i].ratio[fm[tx]] == ratio[tx])) && fm 315 sound/soc/codecs/cs42xx8.c condition2 = ((fm[!tx] == CS42XX8_FM_AUTO) ? fm 319 sound/soc/codecs/cs42xx8.c (cs42xx8_ratios[i].ratio[fm[!tx]] == ratio[!tx])); fm 344 sound/soc/codecs/cs42xx8.c CS42XX8_FUNCMOD_xC_FM(tx, fm[tx]) | val);