/drivers/misc/ |
D | tifm_7xx1.c | 21 static void tifm_7xx1_dummy_eject(struct tifm_adapter *fm, in tifm_7xx1_dummy_eject() argument 26 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_eject() argument 30 spin_lock_irqsave(&fm->lock, flags); in tifm_7xx1_eject() 31 fm->socket_change_set |= 1 << sock->socket_id; in tifm_7xx1_eject() 32 tifm_queue_work(&fm->media_switcher); in tifm_7xx1_eject() 33 spin_unlock_irqrestore(&fm->lock, flags); in tifm_7xx1_eject() 38 struct tifm_adapter *fm = dev_id; in tifm_7xx1_isr() local 42 spin_lock(&fm->lock); in tifm_7xx1_isr() 43 irq_status = readl(fm->addr + FM_INTERRUPT_STATUS); in tifm_7xx1_isr() 45 spin_unlock(&fm->lock); in tifm_7xx1_isr() [all …]
|
D | tifm_core.c | 164 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); in tifm_free() local 166 kfree(fm); in tifm_free() 177 struct tifm_adapter *fm; in tifm_alloc_adapter() local 179 fm = kzalloc(sizeof(struct tifm_adapter) in tifm_alloc_adapter() 181 if (fm) { in tifm_alloc_adapter() 182 fm->dev.class = &tifm_adapter_class; in tifm_alloc_adapter() 183 fm->dev.parent = dev; in tifm_alloc_adapter() 184 device_initialize(&fm->dev); in tifm_alloc_adapter() 185 spin_lock_init(&fm->lock); in tifm_alloc_adapter() 186 fm->num_sockets = num_sockets; in tifm_alloc_adapter() [all …]
|
/drivers/mtd/ubi/ |
D | fastmap.c | 550 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument 609 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap() 610 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->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(ubi, "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() 632 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 | 414 if (ubi->fm) { in ubi_fastmap_close() 415 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close() 416 kfree(ubi->fm->e[i]); in ubi_fastmap_close() 418 kfree(ubi->fm); in ubi_fastmap_close() 432 if (e && !ubi->fm_disabled && !ubi->fm && in may_reserve_for_fm()
|
D | ubi.h | 592 struct ubi_fastmap_layout *fm; member 1217 if (ubi->fm) { in ubi_find_fm_block() 1218 for (i = 0; i < ubi->fm->used_blocks; i++) { in ubi_find_fm_block() 1219 if (ubi->fm->e[i]->pnum == pnum) in ubi_find_fm_block() 1220 return ubi->fm->e[i]; in ubi_find_fm_block()
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_formats.c | 34 bp, flg, fm, np) \ argument 46 .fetch_mode = fm, \ 53 alpha, bp, flg, fm, np, th) \ argument 65 .fetch_mode = fm, \ 73 alpha, chroma, count, bp, flg, fm, np) \ argument 85 .fetch_mode = fm, \ 91 #define PSEUDO_YUV_FMT(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np) \ argument 103 .fetch_mode = fm, \ 110 flg, fm, np, th) \ argument 122 .fetch_mode = fm, \ [all …]
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_tgec.c | 219 void *fm; member 401 fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in free_init_resources() 694 (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { in tgec_init() 724 err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, in tgec_init() 758 fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in tgec_init() 823 tgec->fm = params->fm; in tgec_config() 826 fman_get_revision(tgec->fm, &tgec->fm_rev_info); in tgec_config()
|
D | fman_dtsec.c | 344 void *fm; member 780 fman_reset_mac(dtsec->fm, dtsec->mac_id); in dtsec_isr() 829 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources() 831 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources() 1396 (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { in dtsec_init() 1444 err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); in dtsec_init() 1467 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init() 1470 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init() 1537 dtsec->fm = params->fm; in dtsec_config() 1554 fman_get_revision(dtsec->fm, &dtsec->fm_rev_info); in dtsec_config()
|
D | fman_memac.c | 350 void *fm; member 691 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 694 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 1111 err = fman_set_mac_max_frame(memac->fm, memac->mac_id, in memac_init() 1132 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1135 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1192 memac->fm = params->fm; in memac_config() 1196 fman_get_revision(memac->fm, &memac->fm_rev_info); in memac_config()
|
D | fman_port.h | 133 void *fm; member
|
D | fman_mac.h | 193 void *fm; member
|
D | fman_port.c | 451 void *fm; member 1039 bmi_max_fifo_size = fman_get_bmi_max_fifo_size(port->fm); in fill_soc_specific_params() 1334 port->fm = port->dts_params.fman; in fman_port_config() 1338 fman_get_revision(port->fm, &port->rev_info); in fman_port_config() 1502 err = fman_set_port_params(port->fm, ¶ms); in fman_port_init()
|
D | mac.c | 113 params->fm = (void *)priv->fman; in set_fman_mac_params()
|
/drivers/regulator/ |
D | qcom_rpm-regulator.c | 32 struct request_member fm; /* force mode */ member 45 (((reg)->parts->fm.mask >> (reg)->parts->fm.shift) == 3) 69 .fm = { 0, 0x03000000, 24 }, 80 .fm = { 0, 0x03000000, 24 }, 114 .fm = { 1, 0x00700000, 20 }, 125 .fm = { 1, 0x00700000, 20 }, 714 if (vreg->parts->fm.mask) { in rpm_reg_of_parse() 761 ret = rpm_reg_set(vreg, &vreg->parts->fm, force_mode); in rpm_reg_of_parse()
|
/drivers/media/pci/ddbridge/ |
D | ddbridge-max.c | 364 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm) in ddb_lnb_init_fmode() argument 368 if (link->lnb.fmode == fm) in ddb_lnb_init_fmode() 370 dev_info(dev->dev, "Set fmode link %u = %u\n", l, fm); in ddb_lnb_init_fmode() 372 if (fm == 2 || fm == 1) { in ddb_lnb_init_fmode() 394 link->lnb.fmode = fm; in ddb_lnb_init_fmode()
|
D | ddbridge-max.h | 26 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm);
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmd.c | 514 u32 *fm; in vmw_cmd_send_fence() local 518 fm = VMW_CMD_RESERVE(dev_priv, bytes); in vmw_cmd_send_fence() 519 if (unlikely(fm == NULL)) { in vmw_cmd_send_fence() 542 *fm++ = SVGA_CMD_FENCE; in vmw_cmd_send_fence() 543 cmd_fence = (struct svga_fifo_cmd_fence *) fm; in vmw_cmd_send_fence()
|
/drivers/i2c/busses/ |
D | i2c-pxa.c | 142 u32 fm; member 162 .fm = ICR_FM, 171 .fm = ICR_FM, 180 .fm = ICR_FM, 191 .fm = ICR_FM, 200 .fm = ICR_A3700_FM, 1478 i2c->fm_mask = pxa_reg_layout[i2c_type].fm; in i2c_pxa_probe()
|
/drivers/media/tuners/ |
D | mt2063.c | 679 u32 *fm, u32 * fp) in IsSpurInBand() argument 698 *fm = 0; in IsSpurInBand() 741 *fm = (((s32) d - f_Spur) / (mc - n)) + 1; in IsSpurInBand() 758 *fm = (((s32) f - f_Spur) / (me - n)) + 1; in IsSpurInBand() 772 *fm = (-(f_Spur + (s32) c) / (ma - n)) + 1; in IsSpurInBand() 790 u32 fm, fp; /* restricted range on LO's */ in MT2063_AvoidSpurs() local 810 pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp); in MT2063_AvoidSpurs() 825 MT2063_AddExclZone(pAS_Info, zfIF1 - fm, zfIF1 + fp); in MT2063_AvoidSpurs() 844 pAS_Info->bSpurPresent = IsSpurInBand(pAS_Info, &fm, &fp); in MT2063_AvoidSpurs()
|
/drivers/clk/rockchip/ |
D | clk.h | 764 #define FACTOR(_id, cname, pname, f, fm, fd) \ argument 772 .div_shift = fm, \ 776 #define FACTOR_GATE(_id, cname, pname, f, fm, fd, go, gb, gf) \ argument 784 .div_shift = fm, \
|
/drivers/media/pci/saa7134/ |
D | saa7134-tvaudio.c | 431 static u32 fm[] = { in tvaudio_setstereo() local 450 reg = fm[ mode % ARRAY_SIZE(fm) ]; in tvaudio_setstereo()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-msm8x74.c | 891 FUNCTION(fm), 939 PINGROUP(41, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA), 940 PINGROUP(42, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA),
|
D | pinctrl-msm8960.c | 968 FUNCTION(fm), 1093 PINGROUP(26, fm, gsbi6, NA, NA, NA, NA, NA, NA, NA, NA, NA), 1094 PINGROUP(27, fm, gsbi6, NA, NA, NA, NA, NA, NA, NA, NA, NA),
|
/drivers/media/pci/cx88/ |
D | cx88-cards.c | 2945 int fm; member 2960 .fm = 1, 2968 .fm = 1, 2970 [0x21] = { .id = UNSET, .fm = 1, 2987 core->board.radio.type = gdi_tuner[eeprom_data[0x0d]].fm ? in gdi_eeprom()
|
/drivers/input/misc/ |
D | yealink.c | 61 #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) \ argument 65 _LOC(f, fm) } } }
|