Home
last modified time | relevance | path

Searched refs:hwconfig (Results 1 – 25 of 60) sorted by relevance

123

/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_hwconfig.c67 hwconfig->size = ret; in guc_hwconfig_discover_size()
78 GEM_BUG_ON(!hwconfig->size); in guc_hwconfig_fill_buffer()
88 memcpy(hwconfig->ptr, vaddr, hwconfig->size); in guc_hwconfig_fill_buffer()
113 struct intel_hwconfig *hwconfig = &gt->info.hwconfig; in guc_hwconfig_init() local
124 hwconfig->ptr = kmalloc(hwconfig->size, GFP_KERNEL); in guc_hwconfig_init()
125 if (!hwconfig->ptr) { in guc_hwconfig_init()
126 hwconfig->size = 0; in guc_hwconfig_init()
159 struct intel_hwconfig *hwconfig = &gt->info.hwconfig; in intel_gt_fini_hwconfig() local
161 kfree(hwconfig->ptr); in intel_gt_fini_hwconfig()
162 hwconfig->size = 0; in intel_gt_fini_hwconfig()
[all …]
/openbmc/u-boot/board/freescale/p1022ds/
H A DREADME7 Pin Multiplex(hwconfig setting)
10 via hwconfig, i.e:
11 'setenv hwconfig usb2' to enable USB2 and disable eTsec2
12 'setenv hwconfig tdm' to enable TDM and disable Audio
13 'setenv hwconfig audclk:12' to enable Audio(codec clock sources is 12MHz)
15 'setenv hwconfig 'usb2;tdm' to enable USB2 and TDM, disable eTsec2 and Audio
16 'setenv hwconfig 'usb2;audclk:11' to enable USB2 and Audio(codec clock sources
21 'setenv hwconfig 'audclk:12;tdm' --- error !
22 'setenv hwconfig 'audclk:11;tdm' --- error !
23 'setenv hwconfig 'audclk:10' --- error !
H A Dp1022ds.c125 if (hwconfig("usb2")) { in misc_init_r()
132 if (hwconfig("tdm") && hwconfig("audclk")){ in misc_init_r()
138 if (hwconfig("tdm")) { in misc_init_r()
153 if (hwconfig("audclk")) { in misc_init_r()
/openbmc/u-boot/board/freescale/bsc9132qds/
H A Dbsc9132qds.c282 if (hwconfig("uart2") && hwconfig("usb1")) { in misc_init_r()
286 if (hwconfig("uart2")) { in misc_init_r()
303 if (hwconfig("sim")) { in misc_init_r()
316 if (hwconfig("uart3")) { in misc_init_r()
331 if (hwconfig("gps")) in misc_init_r()
388 if (!(hwconfig("uart2") && hwconfig("usb1"))) { in ft_board_setup()
392 if (hwconfig("uart2")) { in ft_board_setup()
401 if (hwconfig("uart3")) { in ft_board_setup()
410 if (hwconfig("sim")) { in ft_board_setup()
/openbmc/u-boot/doc/
H A DREADME.hwconfig4 This implements a simple hwconfig infrastructure: an
8 via the `hwconfig' environment variable. Later we could write
9 some "hwconfig <enable|disable|list>" commands, ncurses
20 2. Since we don't implement a hwconfig command, i.e. we're working
24 target after modifying the hwconfig variable.
26 3. We support hwconfig options with arguments. For example,
28 set hwconfig "dr_usb:mode=peripheral,phy_type=ulpi"
30 This selects three hwconfig options:
37 experience by adding more mature interfaces, like a hwconfig
H A DREADME.fsl-ddr61 "hwconfig=fsl_ddr:ctlr_intlv=bank" \
68 setenv hwconfig "fsl_ddr:ctlr_intlv=null"
74 setenv hwconfig "fsl_ddr:ctlr_intlv=page"
77 setenv hwconfig "fsl_ddr:ctlr_intlv=bank"
92 setenv hwconfig "fsl_ddr:bank_intlv=null"
107 setenv hwconfig "fsl_ddr:bank_intlv=auto"
116 hwconfig=fsl_ddr:addr_hash=true
121 ECC can be turned on/off by hwconfig.
124 hwconfig=fsl_ddr:ecc=off
131 hwconfig=fsl_ddr:parity=on
[all …]
H A DREADME.fsl-hwconfig1 Freescale-specific 'hwconfig' options.
3 This file documents Freescale-specific key:value pairs for the 'hwconfig'
4 option. See README.hwconfig for general information about 'hwconfig'.
/openbmc/u-boot/board/freescale/ls1021aqds/
H A Dls1021aqds.c371 if (hwconfig("sdhc")) in misc_init_r()
373 if (hwconfig("iic2")) in misc_init_r()
381 if (hwconfig("rgmii")) in misc_init_r()
383 if (hwconfig("can")) in misc_init_r()
385 if (hwconfig("sai")) in misc_init_r()
392 if (hwconfig("can")) in misc_init_r()
394 else if (hwconfig("rgmii")) in misc_init_r()
396 else if (hwconfig("sai")) in misc_init_r()
399 if (hwconfig("iic2")) in misc_init_r()
401 else if (hwconfig("sdhc")) in misc_init_r()
/openbmc/linux/drivers/crypto/inside-secure/
H A Dsafexcel.c546 priv->hwconfig.hwdataw; in safexcel_hw_setup_rdesc_rings()
1497 priv->hwconfig.icever = 0; in safexcel_probe_generic()
1498 priv->hwconfig.ocever = 0; in safexcel_probe_generic()
1499 priv->hwconfig.psever = 0; in safexcel_probe_generic()
1587 peid, priv->hwconfig.hwver, hwctg, priv->hwconfig.hwnumpes, in safexcel_probe_generic()
1588 priv->hwconfig.hwnumrings, priv->hwconfig.hwnumraic, in safexcel_probe_generic()
1589 priv->hwconfig.hiaver, priv->hwconfig.hwdataw, in safexcel_probe_generic()
1590 priv->hwconfig.hwcfsize, priv->hwconfig.hwrfsize, in safexcel_probe_generic()
1591 priv->hwconfig.ppver, priv->hwconfig.pever, in safexcel_probe_generic()
1592 priv->hwconfig.algo_flags, priv->hwconfig.icever, in safexcel_probe_generic()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dtimestamping.c327 struct hwtstamp_config hwconfig, hwconfig_requested; in main() local
394 hwtstamp.ifr_data = (void *)&hwconfig; in main()
395 memset(&hwconfig, 0, sizeof(hwconfig)); in main()
396 hwconfig.tx_type = in main()
399 hwconfig.rx_filter = in main()
403 hwconfig_requested = hwconfig; in main()
413 hwconfig_requested.tx_type, hwconfig.tx_type, in main()
414 hwconfig_requested.rx_filter, hwconfig.rx_filter); in main()
/openbmc/u-boot/board/freescale/t1040qds/
H A Dt1040qds.c96 if (hwconfig("qe") && hwconfig("tdm")) { in qe_board_setup()
103 } else if (hwconfig("qe") && hwconfig("uart")) { in qe_board_setup()
/openbmc/u-boot/common/
H A Dhwconfig.c272 assert(hwconfig("key3")); in main()
278 assert(hwconfig(NULL) == 0); in main()
279 assert(hwconfig("") == 0); in main()
280 assert(hwconfig("key3") == 0); in main()
/openbmc/u-boot/board/freescale/p1_p2_rdb_pc/
H A DREADME43 in hwconfig. In addition, QE-UEC and QE-TDM also have pins multiplexing, to
44 enable QE-TDM for linux kernel, set "qe;tdm" in hwconfig. Syntax is as below
46 'setenv hwconfig qe' to enable QE UEC/UART and disable Nor-Flash/CPLD.
47 'setenv hwconfig 'qe;tdm'' to enalbe QE TDM and disable Nor-Flash/CPLD.
H A Dp1_p2_rdb_pc.c390 if (hwconfig("qe")) { in fdt_board_fixup_qe_pins()
399 if (hwconfig("tdm")) in fdt_board_fixup_qe_pins()
411 if (hwconfig("tdm")) { in fdt_board_fixup_qe_pins()
462 if (hwconfig("usb2")) { in ft_board_setup()
/openbmc/u-boot/board/freescale/ls1043ardb/
H A Dls1043ardb.c234 if (hwconfig("qe-hdlc")) { in config_board_mux()
297 if (hwconfig("qe-hdlc")) in ft_board_setup()
306 if (!hwconfig("qe-uart") && !hwconfig("qe-hdlc")) in ft_board_setup()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_query.c536 struct intel_hwconfig *hwconfig = &gt->info.hwconfig; in query_hwconfig_blob() local
538 if (!hwconfig->size || !hwconfig->ptr) in query_hwconfig_blob()
542 return hwconfig->size; in query_hwconfig_blob()
544 if (query_item->length < hwconfig->size) in query_hwconfig_blob()
548 hwconfig->ptr, hwconfig->size)) in query_hwconfig_blob()
551 return hwconfig->size; in query_hwconfig_blob()
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/
H A DREADME.core_prefetch3 To disable instruction prefetch of core; hwconfig needs to be updated.
5 setenv hwconfig 'fsl_ddr:bank_intlv=auto;core_prefetch:disable=0x02'
/openbmc/linux/drivers/media/pci/mantis/
H A Dmantis_dvb.c33 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_frontend_power()
61 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_frontend_soft_reset()
137 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_dvb_init()
210 if (mantis->hwconfig) { in mantis_dvb_init()
H A Dmantis_uart.c54 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_uart_read()
145 struct mantis_hwconfig *config = mantis->hwconfig; in mantis_uart_init()
H A Dmantis_common.h95 struct mantis_hwconfig *hwconfig; member
147 struct mantis_hwconfig *hwconfig; member
/openbmc/u-boot/board/freescale/ls1021atwr/
H A Dls1021atwr.c374 if (hwconfig("i2c3")) { in config_board_mux()
380 if (hwconfig("ifc")) { in config_board_mux()
390 if (hwconfig("usb2")) { in config_board_mux()
396 if (hwconfig("can3")) { in config_board_mux()
406 if (hwconfig("lcd")) { in config_board_mux()
412 if (hwconfig("qe")) { in config_board_mux()
/openbmc/u-boot/board/freescale/t104xrdb/
H A Dt104xrdb.c108 if (hwconfig("qe-tdm")) { in misc_init_r()
153 if (hwconfig("qe-tdm")) in ft_board_setup()
/openbmc/u-boot/board/freescale/mpc8569mds/
H A Dmpc8569mds.c361 if (!hwconfig("qe_uart")) in fdt_board_fixup_qe_uart()
364 if (hwconfig("esdhc") && esdhc_disables_uart0()) { in fdt_board_fixup_qe_uart()
405 if (!hwconfig("esdhc")) in board_mmc_init()
445 if (!hwconfig("esdhc")) in fdt_board_fixup_esdhc()
/openbmc/u-boot/board/freescale/p1_twr/
H A Dp1_twr.c237 if (!hwconfig("qe")) { in fdt_board_fixup_qe_pins()
250 if (hwconfig("mii")) in fdt_board_fixup_qe_pins()
/openbmc/u-boot/board/freescale/p1010rdb/
H A DREADME.P1010RDB-PB106 => setenv hwconfig fsl_p1010mux:tdm_can=tdm
110 => setenv hwconfig fsl_p1010mux:tdm_can=can
118 set 'esdhc' in hwconfig and save it.
125 set 'ifc' in hwconfig and save it.

123