/drivers/misc/ |
D | tifm_7xx1.c | 25 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 …]
|
D | tifm_core.c | 169 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/ |
D | fastmap.c | 558 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument 617 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap() 618 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap() 631 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap() 632 fm->max_pool_size < 0) { in ubi_attach_fastmap() 633 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap() 637 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap() 638 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap() 640 fm->max_wl_pool_size); in ubi_attach_fastmap() 791 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap() [all …]
|
D | fastmap-wl.c | 368 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()
|
D | ubi.h | 595 struct ubi_fastmap_layout *fm; member 1214 if (ubi->fm) { in ubi_find_fm_block() 1215 for (i = 0; i < ubi->fm->used_blocks; i++) { in ubi_find_fm_block() 1216 if (ubi->fm->e[i]->pnum == pnum) in ubi_find_fm_block() 1217 return ubi->fm->e[i]; in ubi_find_fm_block()
|
D | wl.c | 338 !ubi->fm && e->pnum < UBI_FM_MAX_START) in find_wl_entry()
|
D | attach.c | 1626 if (ubi->fm && ubi_dbg_chk_fastmap(ubi)) { in ubi_attach()
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_tgec.c | 218 void *fm; member 403 fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in free_init_resources() 650 (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { in tgec_init() 678 err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, in tgec_init() 712 fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in tgec_init() 777 tgec->fm = params->fm; in tgec_config() 780 fman_get_revision(tgec->fm, &tgec->fm_rev_info); in tgec_config()
|
D | fman_dtsec.c | 342 void *fm; member 777 fman_reset_mac(dtsec->fm, dtsec->mac_id); in dtsec_isr() 826 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources() 828 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources() 1282 (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { in dtsec_init() 1332 err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); in dtsec_init() 1355 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init() 1358 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init() 1425 dtsec->fm = params->fm; in dtsec_config() 1442 fman_get_revision(dtsec->fm, &dtsec->fm_rev_info); in dtsec_config()
|
D | fman_memac.c | 348 void *fm; member 686 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 689 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 1073 err = fman_set_mac_max_frame(memac->fm, memac->mac_id, in memac_init() 1094 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1097 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1154 memac->fm = params->fm; in memac_config() 1158 fman_get_revision(memac->fm, &memac->fm_rev_info); in memac_config()
|
D | fman_port.h | 130 void *fm; member
|
D | fman_mac.h | 193 void *fm; member
|
D | fman_port.c | 430 void *fm; member 965 bmi_max_fifo_size = fman_get_bmi_max_fifo_size(port->fm); in fill_soc_specific_params() 1256 port->fm = port->dts_params.fman; in fman_port_config() 1260 fman_get_revision(port->fm, &port->rev_info); in fman_port_config() 1403 err = fman_set_port_params(port->fm, ¶ms); in fman_port_init()
|
D | mac.c | 112 params->fm = (void *)priv->fman; in set_fman_mac_params()
|
/drivers/regulator/ |
D | qcom_rpm-regulator.c | 40 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 }, 732 if (vreg->parts->fm.mask) { in rpm_reg_of_parse() 779 ret = rpm_reg_set(vreg, &vreg->parts->fm, force_mode); in rpm_reg_of_parse()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fifo.c | 543 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/clk/rockchip/ |
D | clk.h | 605 #define FACTOR(_id, cname, pname, f, fm, fd) \ argument 613 .div_shift = fm, \ 617 #define FACTOR_GATE(_id, cname, pname, f, fm, fd, go, gb, gf) \ argument 625 .div_shift = fm, \
|
/drivers/media/tuners/ |
D | mt2063.c | 688 u32 *fm, u32 * fp) in IsSpurInBand() argument 707 *fm = 0; in IsSpurInBand() 750 *fm = (((s32) d - f_Spur) / (mc - n)) + 1; in IsSpurInBand() 767 *fm = (((s32) f - f_Spur) / (me - n)) + 1; in IsSpurInBand() 781 *fm = (-(f_Spur + (s32) c) / (ma - n)) + 1; in IsSpurInBand() 799 u32 fm, fp; /* restricted range on LO's */ in MT2063_AvoidSpurs() local 819 pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp); in MT2063_AvoidSpurs() 834 MT2063_AddExclZone(pAS_Info, zfIF1 - fm, zfIF1 + fp); in MT2063_AvoidSpurs() 853 pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp); in MT2063_AvoidSpurs()
|
/drivers/media/pci/saa7134/ |
D | saa7134-tvaudio.c | 445 static u32 fm[] = { in tvaudio_setstereo() local 464 reg = fm[ mode % ARRAY_SIZE(fm) ]; in tvaudio_setstereo()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-msm8x74.c | 899 FUNCTION(fm), 947 PINGROUP(41, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA), 948 PINGROUP(42, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA),
|
D | pinctrl-msm8960.c | 976 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/ |
D | cx88-cards.c | 2921 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/ |
D | yealink.c | 76 #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) \ argument 80 _LOC(f, fm) } } }
|
/drivers/iommu/ |
D | dmar.c | 1297 void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, in qi_flush_context() argument 1302 desc.low = QI_CC_FM(fm) | QI_CC_SID(sid) | QI_CC_DID(did) in qi_flush_context()
|
/drivers/scsi/bfa/ |
D | bfa_svc.c | 588 bfa_fcxp_get(struct bfa_fcxp_mod_s *fm, bfa_boolean_t req) in bfa_fcxp_get() argument 593 bfa_q_deq(&fm->fcxp_req_free_q, &fcxp); in bfa_fcxp_get() 595 bfa_q_deq(&fm->fcxp_rsp_free_q, &fcxp); in bfa_fcxp_get() 598 list_add_tail(&fcxp->qe, &fm->fcxp_active_q); in bfa_fcxp_get()
|