Searched refs:mfc (Results 1 - 47 of 47) sorted by relevance

/linux-4.4.14/include/pcmcia/
H A Ddevice_id.h110 #define PCMCIA_MFC_DEVICE_MANF_CARD(mfc, manf, card) { \
116 .function = (mfc), }
118 #define PCMCIA_MFC_DEVICE_PROD_ID1(mfc, v1, vh1) { \
123 .function = (mfc), }
125 #define PCMCIA_MFC_DEVICE_PROD_ID2(mfc, v2, vh2) { \
130 .function = (mfc), }
132 #define PCMCIA_MFC_DEVICE_PROD_ID12(mfc, v1, v2, vh1, vh2) { \
138 .function = (mfc), }
140 #define PCMCIA_MFC_DEVICE_PROD_ID13(mfc, v1, v3, vh1, vh3) { \
146 .function = (mfc), }
148 #define PCMCIA_MFC_DEVICE_PROD_ID123(mfc, v1, v2, v3, vh1, vh2, vh3) { \
155 .function = (mfc), }
159 #define PCMCIA_PFC_DEVICE_MANF_CARD(mfc, manf, card) { \
165 .device_no = (mfc), }
167 #define PCMCIA_PFC_DEVICE_PROD_ID1(mfc, v1, vh1) { \
172 .device_no = (mfc), }
174 #define PCMCIA_PFC_DEVICE_PROD_ID2(mfc, v2, vh2) { \
179 .device_no = (mfc), }
181 #define PCMCIA_PFC_DEVICE_PROD_ID12(mfc, v1, v2, vh1, vh2) { \
187 .device_no = (mfc), }
189 #define PCMCIA_PFC_DEVICE_PROD_ID13(mfc, v1, v3, vh1, vh3) { \
195 .device_no = (mfc), }
197 #define PCMCIA_PFC_DEVICE_PROD_ID123(mfc, v1, v2, v3, vh1, vh2, vh3) { \
204 .device_no = (mfc), }
241 #define PCMCIA_PFC_DEVICE_CIS_PROD_ID12(mfc, v1, v2, vh1, vh2, _cisfile) { \
248 .device_no = (mfc), \
251 #define PCMCIA_MFC_DEVICE_CIS_MANF_CARD(mfc, manf, card, _cisfile) { \
258 .function = (mfc), \
261 #define PCMCIA_MFC_DEVICE_CIS_PROD_ID12(mfc, v1, v2, vh1, vh2, _cisfile) { \
268 .function = (mfc), \
271 #define PCMCIA_MFC_DEVICE_CIS_PROD_ID4(mfc, v4, vh4, _cisfile) { \
277 .function = (mfc), \
/linux-4.4.14/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_cmd_v5.h2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.h
H A Ds5p_mfc_cmd_v6.h2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.h
H A Ds5p_mfc_cmd.c2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_cmd.c
H A Ds5p_mfc_dec.h2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_dec.h
H A Ds5p_mfc_enc.h2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_enc.h
H A Ds5p_mfc_pm.h2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_pm.h
H A Dregs-mfc-v7.h15 #include "regs-mfc-v6.h"
H A Ds5p_mfc_cmd.h2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_cmd.h
H A Ds5p_mfc_ctrl.h2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.h
H A Ds5p_mfc_debug.h2 * drivers/media/platform/s5p-mfc/s5p_mfc_debug.h
H A Ds5p_mfc_opr_v6.h2 * drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.h
H A Ds5p_mfc_pm.c2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c
21 #define MFC_GATE_CLK_NAME "mfc"
H A Ds5p_mfc.c36 #define S5P_MFC_NAME "s5p-mfc"
37 #define S5P_MFC_DEC_NAME "s5p-mfc-dec"
38 #define S5P_MFC_ENC_NAME "s5p-mfc-enc"
772 mfc_err("Failed to setup mfc controls\n"); s5p_mfc_open()
785 mfc_err("Failed to setup mfc controls\n"); s5p_mfc_open()
1046 "samsung,mfc-l", mem_info, 2); s5p_mfc_alloc_memdevs()
1063 "samsung,mfc-r", mem_info, 2); s5p_mfc_alloc_memdevs()
1101 dev_err(&pdev->dev, "failed to get mfc clock source\n"); s5p_mfc_probe()
1131 "s5p-mfc-l", match_child); s5p_mfc_probe()
1138 "s5p-mfc-r", match_child); s5p_mfc_probe()
1382 .fw_name[0] = "s5p-mfc.fw",
1409 .fw_name[0] = "s5p-mfc-v6.fw",
1414 .fw_name[1] = "s5p-mfc-v6-v2.fw",
1441 .fw_name[0] = "s5p-mfc-v7.fw",
1468 .fw_name[0] = "s5p-mfc-v8.fw",
1473 .name = "s5p-mfc",
1476 .name = "s5p-mfc-v5",
1479 .name = "s5p-mfc-v6",
1482 .name = "s5p-mfc-v7",
1485 .name = "s5p-mfc-v8",
1494 .compatible = "samsung,mfc-v5",
1497 .compatible = "samsung,mfc-v6",
1500 .compatible = "samsung,mfc-v7",
1503 .compatible = "samsung,mfc-v8",
H A Ds5p_mfc_opr.c2 * drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
H A Ds5p_mfc_cmd_v5.c2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c
13 #include "regs-mfc.h"
H A Dregs-mfc-v8.h16 #include "regs-mfc-v7.h"
H A Ds5p_mfc_cmd_v6.c2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c
H A Ds5p_mfc_common.h25 #include "regs-mfc.h"
26 #include "regs-mfc-v8.h"
H A Ds5p_mfc_ctrl.c2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c
H A Ds5p_mfc_opr.h2 * drivers/media/platform/s5p-mfc/s5p_mfc_opr.h
H A Ds5p_mfc_dec.c2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
H A Ds5p_mfc_enc.c2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
H A Ds5p_mfc_opr_v6.c2 * drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c
/linux-4.4.14/arch/arm/mach-exynos/
H A DMakefile27 obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
H A Ds5p-dev-mfc.c76 prop = of_get_flat_dt_prop(node, "samsung,mfc-l", &len); s5p_fdt_alloc_mfc_mem()
83 prop = of_get_flat_dt_prop(node, "samsung,mfc-r", &len); s5p_fdt_alloc_mfc_mem()
H A Dexynos.c33 #include "mfc.h"
298 "samsung,mfc-v5", exynos_reserve()
299 "samsung,mfc-v6", exynos_reserve()
300 "samsung,mfc-v7", exynos_reserve()
301 "samsung,mfc-v8", exynos_reserve()
/linux-4.4.14/net/ipv4/
H A Dipmr.c135 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
1103 static int ipmr_mfc_delete(struct mr_table *mrt, struct mfcctl *mfc, int parent) ipmr_mfc_delete() argument
1108 line = MFC_HASH(mfc->mfcc_mcastgrp.s_addr, mfc->mfcc_origin.s_addr); ipmr_mfc_delete()
1111 if (c->mfc_origin == mfc->mfcc_origin.s_addr && ipmr_mfc_delete()
1112 c->mfc_mcastgrp == mfc->mfcc_mcastgrp.s_addr && ipmr_mfc_delete()
1124 struct mfcctl *mfc, int mrtsock, int parent) ipmr_mfc_add()
1130 if (mfc->mfcc_parent >= MAXVIFS) ipmr_mfc_add()
1133 line = MFC_HASH(mfc->mfcc_mcastgrp.s_addr, mfc->mfcc_origin.s_addr); ipmr_mfc_add()
1136 if (c->mfc_origin == mfc->mfcc_origin.s_addr && ipmr_mfc_add()
1137 c->mfc_mcastgrp == mfc->mfcc_mcastgrp.s_addr && ipmr_mfc_add()
1146 c->mfc_parent = mfc->mfcc_parent; ipmr_mfc_add()
1147 ipmr_update_thresholds(mrt, c, mfc->mfcc_ttls); ipmr_mfc_add()
1155 if (mfc->mfcc_mcastgrp.s_addr != htonl(INADDR_ANY) && ipmr_mfc_add()
1156 !ipv4_is_multicast(mfc->mfcc_mcastgrp.s_addr)) ipmr_mfc_add()
1163 c->mfc_origin = mfc->mfcc_origin.s_addr; ipmr_mfc_add()
1164 c->mfc_mcastgrp = mfc->mfcc_mcastgrp.s_addr; ipmr_mfc_add()
1165 c->mfc_parent = mfc->mfcc_parent; ipmr_mfc_add()
1166 ipmr_update_thresholds(mrt, c, mfc->mfcc_ttls); ipmr_mfc_add()
1274 struct mfcctl mfc; ip_mroute_setsockopt() local
1344 if (optlen != sizeof(mfc)) ip_mroute_setsockopt()
1346 if (copy_from_user(&mfc, optval, sizeof(mfc))) ip_mroute_setsockopt()
1349 parent = mfc.mfcc_parent; ip_mroute_setsockopt()
1352 ret = ipmr_mfc_delete(mrt, &mfc, parent); ip_mroute_setsockopt()
1354 ret = ipmr_mfc_add(net, mrt, &mfc, ip_mroute_setsockopt()
2325 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc, mroute_netlink_event() argument
2332 skb = nlmsg_new(mroute_msgsize(mfc->mfc_parent >= MAXVIFS, mrt->maxvif), mroute_netlink_event()
2337 err = ipmr_fill_mroute(mrt, skb, 0, 0, mfc, cmd, 0); mroute_netlink_event()
2354 struct mfc_cache *mfc; ipmr_rtm_dumproute() local
2370 list_for_each_entry_rcu(mfc, &mrt->mfc_cache_array[h], list) { ipmr_for_each_table()
2376 mfc, RTM_NEWROUTE, ipmr_for_each_table()
2385 list_for_each_entry(mfc, &mrt->mfc_unres_queue, list) { ipmr_for_each_table()
2391 mfc, RTM_NEWROUTE, ipmr_for_each_table()
2538 struct mfc_cache *mfc; ipmr_mfc_seq_idx() local
2543 list_for_each_entry_rcu(mfc, it->cache, list) ipmr_mfc_seq_idx()
2545 return mfc; ipmr_mfc_seq_idx()
2551 list_for_each_entry(mfc, it->cache, list) ipmr_mfc_seq_idx()
2553 return mfc; ipmr_mfc_seq_idx()
2580 struct mfc_cache *mfc = v; ipmr_mfc_seq_next() local
2590 if (mfc->list.next != it->cache) ipmr_mfc_seq_next()
2591 return list_entry(mfc->list.next, struct mfc_cache, list); ipmr_mfc_seq_next()
2640 const struct mfc_cache *mfc = v; ipmr_mfc_seq_show() local
2645 (__force u32) mfc->mfc_mcastgrp, ipmr_mfc_seq_show()
2646 (__force u32) mfc->mfc_origin, ipmr_mfc_seq_show()
2647 mfc->mfc_parent); ipmr_mfc_seq_show()
2651 mfc->mfc_un.res.pkt, ipmr_mfc_seq_show()
2652 mfc->mfc_un.res.bytes, ipmr_mfc_seq_show()
2653 mfc->mfc_un.res.wrong_if); ipmr_mfc_seq_show()
2654 for (n = mfc->mfc_un.res.minvif; ipmr_mfc_seq_show()
2655 n < mfc->mfc_un.res.maxvif; n++) { ipmr_mfc_seq_show()
2657 mfc->mfc_un.res.ttls[n] < 255) ipmr_mfc_seq_show()
2660 n, mfc->mfc_un.res.ttls[n]); ipmr_mfc_seq_show()
1123 ipmr_mfc_add(struct net *net, struct mr_table *mrt, struct mfcctl *mfc, int mrtsock, int parent) ipmr_mfc_add() argument
/linux-4.4.14/net/ipv6/
H A Dip6mr.c117 static void mr6_netlink_event(struct mr6_table *mrt, struct mfc6_cache *mfc,
355 struct mfc6_cache *mfc; ipmr_mfc_seq_idx() local
360 list_for_each_entry(mfc, it->cache, list) ipmr_mfc_seq_idx()
362 return mfc; ipmr_mfc_seq_idx()
368 list_for_each_entry(mfc, it->cache, list) ipmr_mfc_seq_idx()
370 return mfc; ipmr_mfc_seq_idx()
504 struct mfc6_cache *mfc = v; ipmr_mfc_seq_next() local
514 if (mfc->list.next != it->cache) ipmr_mfc_seq_next()
515 return list_entry(mfc->list.next, struct mfc6_cache, list); ipmr_mfc_seq_next()
566 const struct mfc6_cache *mfc = v; ipmr_mfc_seq_show() local
571 &mfc->mf6c_mcastgrp, &mfc->mf6c_origin, ipmr_mfc_seq_show()
572 mfc->mf6c_parent); ipmr_mfc_seq_show()
576 mfc->mfc_un.res.pkt, ipmr_mfc_seq_show()
577 mfc->mfc_un.res.bytes, ipmr_mfc_seq_show()
578 mfc->mfc_un.res.wrong_if); ipmr_mfc_seq_show()
579 for (n = mfc->mfc_un.res.minvif; ipmr_mfc_seq_show()
580 n < mfc->mfc_un.res.maxvif; n++) { ipmr_mfc_seq_show()
582 mfc->mfc_un.res.ttls[n] < 255) ipmr_mfc_seq_show()
585 n, mfc->mfc_un.res.ttls[n]); ipmr_mfc_seq_show()
1299 static int ip6mr_mfc_delete(struct mr6_table *mrt, struct mf6cctl *mfc, ip6mr_mfc_delete() argument
1305 line = MFC6_HASH(&mfc->mf6cc_mcastgrp.sin6_addr, &mfc->mf6cc_origin.sin6_addr); ip6mr_mfc_delete()
1308 if (ipv6_addr_equal(&c->mf6c_origin, &mfc->mf6cc_origin.sin6_addr) && ip6mr_mfc_delete()
1310 &mfc->mf6cc_mcastgrp.sin6_addr) && ip6mr_mfc_delete()
1450 struct mf6cctl *mfc, int mrtsock, int parent) ip6mr_mfc_add()
1458 if (mfc->mf6cc_parent >= MAXMIFS) ip6mr_mfc_add()
1463 if (IF_ISSET(i, &mfc->mf6cc_ifset)) ip6mr_mfc_add()
1468 line = MFC6_HASH(&mfc->mf6cc_mcastgrp.sin6_addr, &mfc->mf6cc_origin.sin6_addr); ip6mr_mfc_add()
1471 if (ipv6_addr_equal(&c->mf6c_origin, &mfc->mf6cc_origin.sin6_addr) && ip6mr_mfc_add()
1473 &mfc->mf6cc_mcastgrp.sin6_addr) && ip6mr_mfc_add()
1474 (parent == -1 || parent == mfc->mf6cc_parent)) { ip6mr_mfc_add()
1482 c->mf6c_parent = mfc->mf6cc_parent; ip6mr_mfc_add()
1491 if (!ipv6_addr_any(&mfc->mf6cc_mcastgrp.sin6_addr) && ip6mr_mfc_add()
1492 !ipv6_addr_is_multicast(&mfc->mf6cc_mcastgrp.sin6_addr)) ip6mr_mfc_add()
1499 c->mf6c_origin = mfc->mf6cc_origin.sin6_addr; ip6mr_mfc_add()
1500 c->mf6c_mcastgrp = mfc->mf6cc_mcastgrp.sin6_addr; ip6mr_mfc_add()
1501 c->mf6c_parent = mfc->mf6cc_parent; ip6mr_mfc_add()
1661 struct mf6cctl mfc; ip6_mroute_setsockopt() local
1719 if (optlen < sizeof(mfc)) ip6_mroute_setsockopt()
1721 if (copy_from_user(&mfc, optval, sizeof(mfc))) ip6_mroute_setsockopt()
1724 parent = mfc.mf6cc_parent; ip6_mroute_setsockopt()
1727 ret = ip6mr_mfc_delete(mrt, &mfc, parent); ip6_mroute_setsockopt()
1729 ret = ip6mr_mfc_add(net, mrt, &mfc, ip6_mroute_setsockopt()
2420 static void mr6_netlink_event(struct mr6_table *mrt, struct mfc6_cache *mfc, mr6_netlink_event() argument
2427 skb = nlmsg_new(mr6_msgsize(mfc->mf6c_parent >= MAXMIFS, mrt->maxvif), mr6_netlink_event()
2432 err = ip6mr_fill_mroute(mrt, skb, 0, 0, mfc, cmd, 0); mr6_netlink_event()
2449 struct mfc6_cache *mfc; ip6mr_rtm_dumproute() local
2465 list_for_each_entry(mfc, &mrt->mfc6_cache_array[h], list) { ip6mr_for_each_table()
2471 mfc, RTM_NEWROUTE, ip6mr_for_each_table()
2480 list_for_each_entry(mfc, &mrt->mfc6_unres_queue, list) { ip6mr_for_each_table()
2486 mfc, RTM_NEWROUTE, ip6mr_for_each_table()
1449 ip6mr_mfc_add(struct net *net, struct mr6_table *mrt, struct mf6cctl *mfc, int mrtsock, int parent) ip6mr_mfc_add() argument
/linux-4.4.14/include/uapi/linux/
H A Dmroute.h29 #define MRT_ADD_MFC_PROXY (MRT_BASE+10) /* Add a (*,*|G) mfc entry */
30 #define MRT_DEL_MFC_PROXY (MRT_BASE+11) /* Del a (*,*|G) mfc entry */
H A Dmroute6.h29 #define MRT6_ADD_MFC_PROXY (MRT6_BASE+10) /* Add a (*,*|G) mfc entry */
30 #define MRT6_DEL_MFC_PROXY (MRT6_BASE+11) /* Del a (*,*|G) mfc entry */
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
H A Dcontext.c135 if (ctx->mfc) spu_unmap_mappings()
136 unmap_mapping_range(ctx->mfc, 0, SPUFS_MFC_MAP_SIZE, 1); spu_unmap_mappings()
H A Dspufs.h84 struct address_space *mfc; /* 'mfc' area mappings. */ member in struct:spu_context
H A Dfile.c1503 ctx->mfc = inode->i_mapping; spufs_mfc_open()
1516 ctx->mfc = NULL; spufs_mfc_release()
1521 /* interrupt-level mfc callback function. */ spufs_mfc_callback()
2640 { "mfc", &spufs_mfc_fops, 0666, },
2678 { "mfc", &spufs_mfc_fops, 0666, },
H A Dswitch.c746 * Now that we have saved the mfc in the csa, we can add in the set_switch_active()
1755 * this case, the code that suspended the mfc is responsible for restore_mfc_cntl()
/linux-4.4.14/drivers/char/hw_random/
H A Dintel-rng.c243 u8 mfc, dvc; intel_rng_hw_init() local
260 mfc = readb(intel_rng_hw->mem + INTEL_FWH_MANUFACTURER_CODE_ADDRESS); intel_rng_hw_init()
274 if (mfc != INTEL_FWH_MANUFACTURER_CODE || intel_rng_hw_init()
/linux-4.4.14/drivers/pcmcia/
H A Dds.c612 cistpl_longlink_mfc_t mfc; pcmcia_card_add() local
654 if (!pccard_read_tuple(s, BIND_FN_ALL, CISTPL_LONGLINK_MFC, &mfc)) pcmcia_card_add()
655 no_funcs = mfc.nfn; pcmcia_card_add()
700 cistpl_longlink_mfc_t mfc; pcmcia_requery() local
706 &mfc)) pcmcia_requery()
707 new_funcs = mfc.nfn; pcmcia_requery()
750 cistpl_longlink_mfc_t mfc; pcmcia_load_firmware() local
775 &mfc)) pcmcia_load_firmware()
776 new_funcs = mfc.nfn; pcmcia_load_firmware()
/linux-4.4.14/drivers/devfreq/event/
H A Dexynos-ppmu.c66 PPMU_EVENT(mfc),
69 PPMU_EVENT(mfc-left),
70 PPMU_EVENT(mfc-right),
/linux-4.4.14/drivers/clk/samsung/
H A Dclk-s5pv210.c669 GATE(CLK_MFC, "mfc", "dout_hclkm", CLK_GATE_IP0, 16, 0, 0),
731 GATE(CLK_MFC, "mfc", "dout_hclkd", CLK_GATE_IP0, 16, 0, 0),
H A Dclk-exynos5250.c586 GATE(CLK_MFC, "mfc", "mout_aclk333_sub", GATE_IP_MFC, 0, 0, 0),
H A Dclk-exynos3250.c595 GATE(CLK_MFC, "mfc", "div_aclk_200", GATE_IP_MFC, 0, 0, 0),
H A Dclk-exynos4415.c804 GATE(CLK_MFC, "mfc", "div_aclk_200", GATE_IP_MFC, 0, 0, 0),
H A Dclk-exynos5260.c1031 CLK_OF_DECLARE(exynos5260_clk_mfc, "samsung,exynos5260-clock-mfc",
H A Dclk-exynos5420.c1195 GATE(CLK_MFC, "mfc", "aclk333", GATE_IP_MFC, 0, 0, 0),
H A Dclk-exynos4.c956 GATE(CLK_MFC, "mfc", "aclk100", GATE_IP_MFC, 0, 0, 0),
H A Dclk-exynos5433.c1110 /* dout_{mfc|bus|mem1|mem0}_pll is half fixed rate from parent mux */
4188 CLK_OF_DECLARE(exynos5433_cmu_mfc, "samsung,exynos5433-cmu-mfc",
/linux-4.4.14/arch/x86/kernel/
H A Dftrace.c188 * atomic_inc(mfc);
191 * if (atomic_read(mfc))
196 * atomic_dec(mfc);

Completed in 1202 milliseconds