Home
last modified time | relevance | path

Searched refs:flash (Results 1 – 200 of 620) sorted by relevance

1234

/linux-4.4.14/drivers/media/i2c/
Dadp1653.c52 static int adp1653_update_hw(struct adp1653_flash *flash) in adp1653_update_hw() argument
54 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_update_hw()
60 flash->indicator_intensity->val) in adp1653_update_hw()
63 switch (flash->led_mode->val) { in adp1653_update_hw()
69 config |= TIMEOUT_US_TO_CODE(flash->flash_timeout->val) in adp1653_update_hw()
75 flash->torch_intensity->val) in adp1653_update_hw()
91 static int adp1653_get_fault(struct adp1653_flash *flash) in adp1653_get_fault() argument
93 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_get_fault()
101 flash->fault |= fault; in adp1653_get_fault()
103 if (!flash->fault) in adp1653_get_fault()
[all …]
Das3645a.c139 static int as3645a_write(struct as3645a *flash, u8 addr, u8 val) in as3645a_write() argument
141 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in as3645a_write()
153 static int as3645a_read(struct as3645a *flash, u8 addr) in as3645a_read() argument
155 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in as3645a_read()
180 static int as3645a_set_config(struct as3645a *flash) in as3645a_set_config() argument
185 val = (flash->flash_current << AS_CURRENT_FLASH_CURRENT_SHIFT) in as3645a_set_config()
186 | (flash->assist_current << AS_CURRENT_ASSIST_LIGHT_SHIFT) in as3645a_set_config()
189 ret = as3645a_write(flash, AS_CURRENT_SET_REG, val); in as3645a_set_config()
193 val = AS_TIMER_MS_TO_CODE(flash->timeout / 1000) in as3645a_set_config()
196 val |= (flash->pdata->vref << AS_INDICATOR_AND_TIMER_VREF_SHIFT) in as3645a_set_config()
[all …]
Dlm3560.c75 static int lm3560_mode_ctrl(struct lm3560_flash *flash) in lm3560_mode_ctrl() argument
79 switch (flash->led_mode) { in lm3560_mode_ctrl()
81 rval = regmap_update_bits(flash->regmap, in lm3560_mode_ctrl()
85 rval = regmap_update_bits(flash->regmap, in lm3560_mode_ctrl()
89 rval = regmap_update_bits(flash->regmap, in lm3560_mode_ctrl()
97 static int lm3560_enable_ctrl(struct lm3560_flash *flash, in lm3560_enable_ctrl() argument
104 rval = regmap_update_bits(flash->regmap, in lm3560_enable_ctrl()
107 rval = regmap_update_bits(flash->regmap, in lm3560_enable_ctrl()
111 rval = regmap_update_bits(flash->regmap, in lm3560_enable_ctrl()
114 rval = regmap_update_bits(flash->regmap, in lm3560_enable_ctrl()
[all …]
Dlm3646.c84 static int lm3646_mode_ctrl(struct lm3646_flash *flash, in lm3646_mode_ctrl() argument
89 return regmap_write(flash->regmap, in lm3646_mode_ctrl()
90 REG_ENABLE, flash->mode_reg | MODE_SHDN); in lm3646_mode_ctrl()
92 return regmap_write(flash->regmap, in lm3646_mode_ctrl()
93 REG_ENABLE, flash->mode_reg | MODE_TORCH); in lm3646_mode_ctrl()
95 return regmap_write(flash->regmap, in lm3646_mode_ctrl()
96 REG_ENABLE, flash->mode_reg | MODE_FLASH); in lm3646_mode_ctrl()
104 struct lm3646_flash *flash = to_lm3646_flash(ctrl); in lm3646_get_ctrl() local
111 rval = regmap_read(flash->regmap, REG_FLAG, &reg_val); in lm3646_get_ctrl()
138 struct lm3646_flash *flash = to_lm3646_flash(ctrl); in lm3646_set_ctrl() local
[all …]
DKconfig633 tristate "ADP1653 flash support"
637 This is a driver for the ADP1653 flash controller. It is used for
641 tristate "AS3645A flash driver support"
645 This is a driver for the AS3645A and LM3555 flash controllers. It has
646 build in control for flash, torch and indicator LEDs.
649 tristate "LM3560 dual flash driver support"
654 This is a driver for the lm3560 dual flash controllers. It controls
655 flash, torch LEDs.
658 tristate "LM3646 dual flash driver support"
663 This is a driver for the lm3646 dual flash controllers. It controls
[all …]
/linux-4.4.14/drivers/mtd/devices/
Dsst25l.c71 static int sst25l_status(struct sst25l_flash *flash, int *status) in sst25l_status() argument
87 err = spi_sync(flash->spi, &m); in sst25l_status()
95 static int sst25l_write_enable(struct sst25l_flash *flash, int enable) in sst25l_write_enable() argument
101 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
106 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
112 err = spi_write(flash->spi, command, 2); in sst25l_write_enable()
117 err = sst25l_status(flash, &status); in sst25l_write_enable()
127 static int sst25l_wait_till_ready(struct sst25l_flash *flash) in sst25l_wait_till_ready() argument
134 err = sst25l_status(flash, &status); in sst25l_wait_till_ready()
146 static int sst25l_erase_sector(struct sst25l_flash *flash, uint32_t offset) in sst25l_erase_sector() argument
[all …]
Dm25p80.c39 struct m25p *flash = nor->priv; in m25p80_read_reg() local
40 struct spi_device *spi = flash->spi; in m25p80_read_reg()
66 struct m25p *flash = nor->priv; in m25p80_write_reg() local
67 struct spi_device *spi = flash->spi; in m25p80_write_reg()
69 flash->command[0] = opcode; in m25p80_write_reg()
71 memcpy(&flash->command[1], buf, len); in m25p80_write_reg()
73 return spi_write(spi, flash->command, len + 1); in m25p80_write_reg()
79 struct m25p *flash = nor->priv; in m25p80_write() local
80 struct spi_device *spi = flash->spi; in m25p80_write()
90 flash->command[0] = nor->program_opcode; in m25p80_write()
[all …]
Dspear_smi.c178 struct spear_snor_flash *flash[MAX_NUM_FLASH_CHIP]; member
420 get_sector_erase_cmd(struct spear_snor_flash *flash, u32 offset) in get_sector_erase_cmd() argument
425 x[0] = flash->erase_cmd; in get_sector_erase_cmd()
496 struct spear_snor_flash *flash = get_flash_data(mtd); in spear_mtd_erase() local
501 if (!flash || !dev) in spear_mtd_erase()
504 bank = flash->bank; in spear_mtd_erase()
513 mutex_lock(&flash->lock); in spear_mtd_erase()
517 command = get_sector_erase_cmd(flash, addr); in spear_mtd_erase()
522 mutex_unlock(&flash->lock); in spear_mtd_erase()
529 mutex_unlock(&flash->lock); in spear_mtd_erase()
[all …]
DKconfig65 This adds an extra check when data is written to the flash.
85 This enables access to most modern SPI flash chips, used for
109 This enables access to the non JEDEC SST25L SPI flash chips, used
116 tristate "R/O support for serial flash on BCMA bus"
119 BCMA bus can have various flash memories attached, they are
121 serial flash memories (only read-only mode is implemented).
140 tristate "28F160xx flash driver for LART"
143 This enables the flash driver for LART. Please note that you do
199 tristate "powernv flash MTD driver"
202 This provides an MTD device to access flash on powernv OPAL
[all …]
/linux-4.4.14/drivers/sbus/char/
Dflash.c31 } flash; variable
42 if (flash.read_base == flash.write_base) { in flash_mmap()
43 addr = flash.read_base; in flash_mmap()
44 size = flash.read_size; in flash_mmap()
52 addr = flash.read_base; in flash_mmap()
53 size = flash.read_size; in flash_mmap()
55 addr = flash.write_base; in flash_mmap()
56 size = flash.write_size; in flash_mmap()
89 if (file->f_pos > flash.read_size) in flash_llseek()
90 file->f_pos = flash.read_size; in flash_llseek()
[all …]
DMakefile14 obj-$(CONFIG_OBP_FLASH) += flash.o
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-led-flash6 Set the brightness of this LED in the flash strobe mode, in
7 microamperes. The file is created only for the flash LED devices
8 that support setting flash brightness.
18 Maximum brightness level for this LED in the flash strobe mode,
26 Hardware timeout for flash, in microseconds. The flash strobe
28 of the strobe. The file is created only for the flash LED
29 devices that support setting flash timeout.
36 Maximum flash timeout for this LED, in microseconds.
43 Flash strobe state. When written with 1 it triggers flash strobe
44 and when written with 0 it turns the flash off.
[all …]
Dsysfs-c2port37 access to the on-board flash of the connected micro.
45 the on-board flash block size of the connected micro.
52 the on-board flash blocks number of the connected micro.
59 the content of the on-board flash of the connected micro.
66 the "erase" command on the on-board flash of the connected
74 on-board flash size of the connected micro.
Dsysfs-class-mtd16 physical/simulated flash devices, partitions on a flash
17 device, or concatenated flash devices.
114 Minimal writable flash unit size. This will always be
117 In the case of NOR flash it is 1 (even though individual
120 In the case of NAND flash it is one NAND page (or a
151 The initial value may be specified by the flash device driver.
172 This is generally applicable only to NAND flash devices with ECC
223 this partition. These are typically used to store the in-flash
/linux-4.4.14/Documentation/leds/
Dleds-class-flash.txt5 Some LED devices provide two modes - torch and flash. In the LED subsystem
8 by default and the flash ones only if a driver declares it by setting
11 In order to enable the support for flash LEDs CONFIG_LEDS_CLASS_FLASH symbol
15 Following sysfs attributes are exposed for controlling flash LED devices:
16 (see Documentation/ABI/testing/sysfs-class-led-flash)
25 V4L2 flash wrapper for flash LEDs
34 - dev : flash device, e.g. an I2C device
36 - fled_cdev : LED flash class device to wrap
37 - iled_cdev : LED flash class device representing indicator LED associated with
40 * external_strobe_set - defines the source of the flash LED strobe -
[all …]
Dleds-lm3556.txt21 LM3556 Flash can be controlled through sys/class/leds/flash/brightness file
26 OFF : #echo 0 > sys/class/leds/flash/brightness
27 93.75 mA: #echo 1 > sys/class/leds/flash/brightness
29 1500 mA: #echo 16 > sys/class/leds/flash/brightness
/linux-4.4.14/Documentation/devicetree/bindings/leds/
Dcommon.txt3 LED and flash LED devices provide the same basic functionality as current
4 regulators, but extended with LED and flash LED specific features like
5 blinking patterns, flash timeout, flash faults and external flash strobe mode.
36 For flash LED controllers with configurable current this
37 property is mandatory for the LEDs in the non-flash modes
40 Required properties for flash LED child nodes:
41 - flash-max-microamp : Maximum flash LED supply current in microamperes.
42 - flash-max-timeout-us : Maximum timeout in microseconds after which the flash
45 For controllers that have no configurable current the flash-max-microamp
47 For controllers that have no configurable timeout the flash-max-timeout-us
[all …]
Dleds-aat1290.txt4 asserted high, enable flash strobe and movie mode (max 1/2 of flash current)
7 of the flash chip. The switch is controlled with pin control.
12 - flen-gpios : Must be device tree identifier of the flash device FL_EN pin.
13 - enset-gpios : Must be device tree identifier of the flash device EN_SET pin.
27 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
28 Maximum flash LED supply current can be calculated using
30 - flash-max-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
31 Maximum flash timeout can be calculated using following
53 camera_flash: flash-led {
54 label = "aat1290-flash";
[all …]
Dleds-ktd2692.txt3 KTD2692 is the ideal power solution for high-power flash LEDs.
11 LED current will be ramped up to the flash-mode current level.
25 Required properties for flash LED child nodes:
29 - flash-max-microamp : Flash LED maximum current
31 - flash-max-timeout-us : Flash LED maximum timeout.
33 Optional properties for flash LED child nodes:
44 flash-led {
45 label = "ktd2692-flash";
47 flash-max-microamp = <1500000>;
48 flash-max-timeout-us = <1835000>;
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/
Dadp1653.txt1 * Analog Devices ADP1653 flash LED driver
11 There are two LED outputs available - flash and indicator. One LED is
12 represented by one child node, nodes need to be named "flash" and "indicator".
17 Required properties of the flash LED child node:
19 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
20 - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
29 flash {
30 flash-timeout-us = <500000>;
31 flash-max-microamp = <320000>;
/linux-4.4.14/drivers/mtd/maps/
DMakefile18 obj-$(CONFIG_MTD_PXA2XX) += pxa2xx-flash.o
22 obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcmsp-flash.o
24 obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o
40 obj-$(CONFIG_MTD_BFIN_ASYNC) += bfin-async-flash.o
41 obj-$(CONFIG_MTD_RBTX4939) += rbtx4939-flash.o
42 obj-$(CONFIG_MTD_VMU) += vmu-flash.o
43 obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o
44 obj-$(CONFIG_MTD_LATCH_ADDR) += latch-addr-flash.o
45 obj-$(CONFIG_MTD_LANTIQ) += lantiq-flash.o
DKconfig6 bool "Support non-linear mappings of flash chips"
9 paged mappings of flash chips.
18 the physical address and size of the flash chips on your
37 hex "Physical start address of flash mapping"
41 This is the physical memory location at which the flash chips
47 hex "Physical length of flash mapping"
51 This is the total length of the mapping of the flash chips on
54 than the total amount of flash present. Refer to the memory
63 This is the total width of the data bus of the flash devices
82 in which user-programmable flash chips are connected on the
[all …]
Dpxa2xx-flash.c51 struct flash_platform_data *flash = dev_get_platdata(&pdev->dev); in pxa2xx_flash_probe() local
63 info->map.name = flash->name; in pxa2xx_flash_probe()
64 info->map.bankwidth = flash->width; in pxa2xx_flash_probe()
88 info->mtd = do_map_probe(flash->map_name, &info->map); in pxa2xx_flash_probe()
98 mtd_device_parse_register(info->mtd, probes, NULL, flash->parts, in pxa2xx_flash_probe()
99 flash->nr_parts); in pxa2xx_flash_probe()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c3035 bfa_flash_cb(struct bfa_flash *flash) in bfa_flash_cb() argument
3037 flash->op_busy = 0; in bfa_flash_cb()
3038 if (flash->cbfn) in bfa_flash_cb()
3039 flash->cbfn(flash->cbarg, flash->status); in bfa_flash_cb()
3045 struct bfa_flash *flash = cbarg; in bfa_flash_notify() local
3050 if (flash->op_busy) { in bfa_flash_notify()
3051 flash->status = BFA_STATUS_IOC_FAILURE; in bfa_flash_notify()
3052 flash->cbfn(flash->cbarg, flash->status); in bfa_flash_notify()
3053 flash->op_busy = 0; in bfa_flash_notify()
3065 bfa_flash_write_send(struct bfa_flash *flash) in bfa_flash_write_send() argument
[all …]
Dbfa_ioc.h342 enum bfa_status bfa_nw_flash_get_attr(struct bfa_flash *flash,
345 enum bfa_status bfa_nw_flash_update_part(struct bfa_flash *flash,
348 enum bfa_status bfa_nw_flash_read_part(struct bfa_flash *flash,
352 void bfa_nw_flash_attach(struct bfa_flash *flash,
354 void bfa_nw_flash_memclaim(struct bfa_flash *flash, u8 *dm_kva, u64 dm_pa);
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dgoramo_mlr.c338 static inline u8 __init flash_readb(u8 __iomem *flash, u32 addr) in flash_readb() argument
341 return __raw_readb(flash + addr); in flash_readb()
343 return __raw_readb(flash + (addr ^ 3)); in flash_readb()
347 static inline u16 __init flash_readw(u8 __iomem *flash, u32 addr) in flash_readw() argument
350 return __raw_readw(flash + addr); in flash_readw()
352 return __raw_readw(flash + (addr ^ 2)); in flash_readw()
358 u8 __iomem *flash; in gmlr_init() local
363 if ((flash = ioremap(IXP4XX_EXP_BUS_BASE_PHYS, 0x80)) == NULL) in gmlr_init()
367 system_rev = __raw_readl(flash + CFG_REV); in gmlr_init()
368 hw_bits = __raw_readl(flash + CFG_HW_BITS); in gmlr_init()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/mtd/
Dmtd-physmap.txt1 CFI or JEDEC memory-mapped NOR flash, MTD-RAM (NVRAM...)
7 used, if known, followed by either "cfi-flash", "jedec-flash",
20 mapping of the flash.
24 By defining "no-unaligned-direct-access", the flash will not be
27 physmap-flash drivers as boot loader pass the mtd partition via the old
28 device name physmap-flash.
36 - vendor-id : Contains the flash chip's vendor id (1 byte).
37 - device-id : Contains the flash chip's device id (1 byte).
39 For ROM compatible devices (and ROM fallback from cfi-flash), the following
49 flash@ff000000 {
[all …]
Dgpmi-nand.txt4 NAND flash chips.
18 - nand-on-flash-bbt: boolean to enable on flash bbt option if not
20 - fsl,use-minimum-ecc: Protect this NAND flash with the minimum ECC
22 automatically discoverable for some flash
30 flash based BBT for identifying bad blocks.
32 'nand-on-flash-bbt'.
Dpartition.txt1 Representing flash partitions in devicetree
4 on platforms which have strong conventions about which portions of a flash are
5 used for what purposes, but which don't use an on-flash partition table such
32 partition should only be mounted read-only. This is usually used for flash
39 flash@0 {
57 flash@1 {
71 flash@2 {
Dbrcm,brcmnand.txt4 flash chips. It has a memory-mapped register interface for both control
32 (optional) NAND flash cache range (if at non-standard offset)
35 "flash-dma" and/or "nand-cache".
86 to represent enabled chip-selects which (may) contain NAND flash chips. Their
99 - nand-on-flash-bbt : boolean, to enable the on-flash BBT for this
105 out the parity bytes it stores on the flash.
107 the flash geometry (particularly the NAND page
113 Each nandcs device node may optionally contain sub-nodes describing the flash
123 reg-names = "nand", "flash-dma";
133 nand-on-flash-bbt;
Dlpc32xx-slc.txt6 - nand-on-flash-bbt: Use bad block table on flash
27 slc: flash@20020000 {
41 nand-on-flash-bbt;
Dgpio-control-nand.txt1 GPIO assisted NAND flash
3 The GPIO assisted NAND flash uses a memory mapped interface to
10 resource describes the data bus connected to the NAND flash and all accesses
24 the GPIO's and the NAND flash data bus. If present, then after changing
Datmel-nand.txt1 Atmel NAND flash
34 - nand-on-flash-bbt: boolean to enable on flash bbt option if not present false
35 - Nand Flash Controller(NFC) is a slave driver under Atmel nand flash
55 nand-on-flash-bbt;
78 nand-on-flash-bbt;
Dvf610-nfc.txt1 Freescale's NAND flash controller (NFC)
3 This variant of the Freescale NAND flash controller (NFC) can be found on
35 - nand-on-flash-bbt: see nand.txt
57 nand-on-flash-bbt;
Darm-versatile.txt4 - compatible : must be "arm,versatile-flash";
5 - bank-width : width in bytes of flash interface.
Dgpmc-nor.txt1 Device tree bindings for NOR flash connect to TI GPMC
3 NOR flash connected to the TI GPMC (found on OMAP boards) are represented as
11 - bank-width: Width of NOR flash in bytes. GPMC supports 8-bit and
26 and size of NOR flash. Note that base address will be
52 compatible = "cfi-flash";
Djedec,spi-nor.txt1 * MTD SPI driver for ST M25Pxx (and similar) serial flash chips
11 Must also include "jedec,spi-nor" for any SPI NOR flash that can
25 flash: m25p80@0 {
Ddavinci-nand.txt52 - nand-on-flash-bbt: use flash based bad block table support. OOB
66 - ti,davinci-nand-use-bbt: use flash based bad block table support. OOB
88 nand-on-flash-bbt;
Dspear_smi.txt18 smi: flash@fc000000 {
27 flash@f8000000 {
Dnxp-spifi.txt13 - reg-names: Should contain the reg names "spifi" and "flash"
38 reg-names = "spifi", "flash";
44 flash@0 {
Dfsl-upm-nand.txt1 Freescale Localbus UPM programmed to work with NAND flash
22 Each flash chip described may optionally contain additional sub-nodes
35 flash {
Dnand.txt7 - nand-on-flash-bbt: boolean to enable on flash bbt option if not present false
Dpxa3xx-nand.txt19 - nand-on-flash-bbt: boolean to enable on flash bbt option if
Datmel-dataflash.txt11 flash@1 {
Ddiskonchip.txt12 docg3: flash@0 {
Dmxc-nand.txt9 - nand-on-flash-bbt: see nand.txt
Dfsmc-nand.txt27 NAND flash in response to SMWAITn. Zero means 1 cycle,
42 fsmc: flash@d1800000 {
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_ioc.c4222 bfa_flash_cb(struct bfa_flash_s *flash) in bfa_flash_cb() argument
4224 flash->op_busy = 0; in bfa_flash_cb()
4225 if (flash->cbfn) in bfa_flash_cb()
4226 flash->cbfn(flash->cbarg, flash->status); in bfa_flash_cb()
4232 struct bfa_flash_s *flash = cbarg; in bfa_flash_notify() local
4234 bfa_trc(flash, event); in bfa_flash_notify()
4238 if (flash->op_busy) { in bfa_flash_notify()
4239 flash->status = BFA_STATUS_IOC_FAILURE; in bfa_flash_notify()
4240 flash->cbfn(flash->cbarg, flash->status); in bfa_flash_notify()
4241 flash->op_busy = 0; in bfa_flash_notify()
[all …]
/linux-4.4.14/drivers/mtd/chips/
DKconfig5 tristate "Detect flash chips by Common Flash Interface (CFI) probe"
10 AMD and other flash manufactures that provides a universal method
11 for probing the capabilities of flash devices. If you wish to
17 tristate "Detect non-CFI AMD/JEDEC-compatible flash chips"
21 This option enables JEDEC-style probing of flash chips which are not
23 CFI-targeted flash drivers for any chips which are identified which
35 If you need to specify a specific endianness for access to flash
37 support for only specific arrangements of flash chips, say 'Y'. This
120 bool "Support 1-chip flash interleave" if MTD_CFI_GEOMETRY
123 If your flash chips are not interleaved - i.e. you only have one
[all …]
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_sds.c572 d = asd_read_reg_byte(asd_ha, asd_ha->hw_prof.flash.bar); in asd_poll_flash()
573 d ^= asd_read_reg_byte(asd_ha, asd_ha->hw_prof.flash.bar); in asd_poll_flash()
588 asd_write_reg_byte(asd_ha, asd_ha->hw_prof.flash.bar, FLASH_RESET); in asd_reset_flash()
597 asd_read_reg_string(asd_ha, buffer, asd_ha->hw_prof.flash.bar+offs, in asd_read_flash_seg()
619 asd_ha->hw_prof.flash.dir_offs = v; in asd_find_flash_dir()
636 &asd_ha->hw_prof.flash.bar)) { in asd_flash_getid()
641 asd_ha->hw_prof.flash.present = 1; in asd_flash_getid()
642 asd_ha->hw_prof.flash.wide = reg & FLASHW ? 1 : 0; in asd_flash_getid()
1105 reg = asd_ha->hw_prof.flash.bar; in asd_verify_flash_seg()
1135 reg = asd_ha->hw_prof.flash.bar; in asd_write_flash_seg()
[all …]
/linux-4.4.14/arch/cris/boot/rescue/
Drescue_v10.lds3 flash : ORIGIN = 0x00000000,
14 } > flash
19 } > flash
Dhead_v10.S122 ;; 0x80000000 if loaded in flash (as it should be)
123 ;; Since etrax actually starts at address 2 when booting from flash, we
207 beq flash_ok ; if so, the flash is validated
232 ;; (so we can flash LEDs, and so that DTR and others are set)
255 moveq 0, $r1 ; "timer" to clock out a LED red flash
331 ;; If the first physical flash memory is exceeded wrap to the
333 btstq 26, $r1 ; Are we addressing first flash?
353 3: move.d MEM_CSE1_START, $r1 ; wrap to second flash
Dkimagerescue.S47 ;; 0x80000000 if loaded in flash (as it should be)
48 ;; since etrax actually starts at address 2 when booting from flash, we
54 ;; (so we can flash LEDs, and so that DTR and others are set)
88 moveq 0, $r1 ; "timer" to clock out a LED red flash
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_vda.c102 if (vi->cmd.flash.sub_func != VDA_FLASH_FREAD in esas2r_process_vda_ioctl()
103 && vi->cmd.flash.sub_func != VDA_FLASH_FWRITE in esas2r_process_vda_ioctl()
104 && vi->cmd.flash.sub_func != VDA_FLASH_FINFO) { in esas2r_process_vda_ioctl()
109 if (vi->cmd.flash.sub_func != VDA_FLASH_FINFO) in esas2r_process_vda_ioctl()
112 rq->vrq->flash.length = cpu_to_le32(datalen); in esas2r_process_vda_ioctl()
113 rq->vrq->flash.sub_func = vi->cmd.flash.sub_func; in esas2r_process_vda_ioctl()
115 memcpy(rq->vrq->flash.data.file.file_name, in esas2r_process_vda_ioctl()
116 vi->cmd.flash.data.file.file_name, in esas2r_process_vda_ioctl()
117 sizeof(vi->cmd.flash.data.file.file_name)); in esas2r_process_vda_ioctl()
119 firstsg = rq->vrq->flash.data.file.sge; in esas2r_process_vda_ioctl()
[all …]
/linux-4.4.14/Documentation/arm/SA1100/
DAssabet51 you need to have RedBoot installed in your flash memory. A known to work
74 To initialize the flash directory:
84 Writing a kernel image into flash
96 To write it to flash:
112 Now the kernel can be retrieved from flash like this:
120 The ramdisk image could be stored into flash as well, but there are better
121 solutions for on-flash filesystems as mentioned below.
128 convenient way to store a writable filesystem into flash. JFFS2 is used in
129 conjunction with the MTD layer which is responsible for low-level flash
146 Now we must know the size of the unallocated flash:
[all …]
DGraphicsMaster23 - flash memory access (MTD/JFFS)
24 - pcmcia, compact flash
39 - The flash on board is divided into 3 partitions. mtd0 is where
42 for the ramdisk.gz image. mtd2 is user flash space and can be
DADSBitsy22 - pcmcia, compact flash
33 - The flash on board is divided into 3 partitions.
34 You should be careful to use flash on board.
DPangolin15 - flash memory access
16 - compact flash driver
DItsy25 Next, flash the params-itsy program to 0x00060000 ("p 1 0x00060000" in the
26 flash menu) Flash the kernel in arch/arm/boot/zImage into 0x08340000
27 ("p 1 0x00340000"). Finally flash an initial ramdisk into 0xC8000000
DGraphicsClient66 - flash memory access (MTD/JFFS)
83 - The flash on board is divided into 3 partitions. mtd0 is where
86 for the ramdisk.gz image. mtd2 is user flash space and can be
/linux-4.4.14/arch/xtensa/boot/dts/
Dxtfpga-flash-4m.dtsi3 flash: flash@08000000 { label
6 compatible = "cfi-flash";
Dxtfpga-flash-128m.dtsi3 flash: flash@00000000 { label
6 compatible = "cfi-flash";
Dxtfpga-flash-16m.dtsi3 flash: flash@08000000 { label
6 compatible = "cfi-flash";
Dlx60.dts3 /include/ "xtfpga-flash-4m.dtsi"
Dml605.dts3 /include/ "xtfpga-flash-16m.dtsi"
Dlx200mx.dts3 /include/ "xtfpga-flash-16m.dtsi"
Dkc705.dts3 /include/ "xtfpga-flash-128m.dtsi"
Dkc705_nommu.dts3 /include/ "xtfpga-flash-128m.dtsi"
/linux-4.4.14/drivers/mtd/lpddr/
DKconfig5 tristate "Support for LPDDR flash chips"
9 flash chips. Synonymous with Mobile-DDR. It is a new standard for
14 tristate "Detect flash chips by QINFO probe"
24 tristate "Support for LPDDR2-NVM flash chips"
/linux-4.4.14/Documentation/devicetree/bindings/ata/
Dcavium-compact-flash.txt5 industry standard compact flash devices.
8 - compatible: "cavium,ebt3000-compact-flash";
24 compact-flash@5,0 {
25 compatible = "cavium,ebt3000-compact-flash";
Datmel-at91_cf.txt11 compact-flash@50000000 {
/linux-4.4.14/arch/powerpc/boot/dts/
Dmedia5200.dts114 flash@0,0 {
115 compatible = "amd,am29lv28ml", "cfi-flash";
117 bank-width = <4>; // Width in bytes of the flash bank
121 flash@1,0 {
122 compatible = "amd,am29lv28ml", "cfi-flash";
124 bank-width = <4>; // Width in bytes of the flash bank
Dsbc8548-altflash.dts4 * Configured for booting off the alternate (64MB SODIMM) flash.
36 flash@0,0 {
40 compatible = "intel,JS28F128", "cfi-flash";
91 alt-flash@6,0 {
94 compatible = "intel,JS28F640", "cfi-flash";
Dsbc8548.dts34 flash@0,0 {
37 compatible = "intel,JS28F640", "cfi-flash";
88 alt-flash@6,0 {
92 compatible = "intel,JS28F128", "cfi-flash";
Dcm5200.dts79 // 16-bit flash device at LocalPlus Bus CS0
80 flash@0,0 {
81 compatible = "cfi-flash";
Dgef_sbc610.dts78 ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash
87 /* flash@0,0 is a mirror of part of the memory in flash@1,0
88 flash@0,0 {
89 compatible = "gef,sbc610-firmware-mirror", "cfi-flash";
103 flash@1,0 {
104 compatible = "gef,sbc610-paged-flash", "cfi-flash";
Do2d.dtsi84 // flash device at LocalPlus Bus CS0
85 flash@0,0 {
86 compatible = "cfi-flash";
Dgef_ppc9a.dts78 ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash
87 /* flash@0,0 is a mirror of part of the memory in flash@1,0
88 flash@0,0 {
89 compatible = "gef,ppc9a-firmware-mirror", "cfi-flash";
103 flash@1,0 {
104 compatible = "gef,ppc9a-paged-flash", "cfi-flash";
Do2d.dts27 flash@0,0 {
28 compatible = "cfi-flash";
Do2dnt2.dts27 flash@0,0 {
28 compatible = "cfi-flash";
Do3dnt.dts27 flash@0,0 {
28 compatible = "cfi-flash";
Dmotionpro.dts125 // 16-bit flash device at LocalPlus Bus CS0
126 flash@0,0 {
127 compatible = "cfi-flash";
Dmpc8610_hpcd.dts67 flash@0,0 {
68 compatible = "cfi-flash";
74 flash@1,0 {
75 compatible = "cfi-flash";
81 flash@2,0 {
87 flash@4,0 {
93 flash@5,0 {
99 flash@6,0 {
Dgef_sbc310.dts79 ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash
85 /* flash@0,0 is a mirror of part of the memory in flash@1,0
86 flash@0,0 {
87 compatible = "gef,sbc310-firmware-mirror", "cfi-flash";
101 flash@1,0 {
102 compatible = "gef,sbc310-paged-flash", "cfi-flash";
Do2d300.dts22 flash@0,0 {
23 compatible = "cfi-flash";
Ddigsy_mtc.dts114 // 16-bit flash device at LocalPlus Bus CS0
115 flash@0,0 {
116 compatible = "cfi-flash";
Dmgcoge.dts56 flash@0,0 {
57 compatible = "cfi-flash";
81 flash@5,0 {
82 compatible = "cfi-flash";
Dmpc5121ads.dts20 * ADS has two Hynix 512MB Nand flash chips in a single
35 flash@0,0 {
36 compatible = "cfi-flash";
Dmpc8349emitx.dts395 ranges = <0x0 0x0 0xfe000000 0x1000000 /* flash */
400 flash@0,0 {
401 compatible = "cfi-flash";
407 flash@0,800000 {
410 compatible = "cfi-flash";
Da3m071.dts102 flash@0,0 {
106 compatible = "cfi-flash";
Duc101.dts113 flash@0,0 {
114 compatible = "cfi-flash";
Dac14xx.dts45 ranges = <0x0 0x0 0xfc000000 0x04000000 /* CS0: NOR flash */
52 flash@0,0 {
53 compatible = "cfi-flash";
318 flash: m25p128@0 { label
Dlite5200b.dts131 flash@0,0 {
132 compatible = "cfi-flash";
Da4m072.dts116 flash@0,0 {
117 compatible = "cfi-flash";
Debony.dts150 small-flash@0,80000 {
151 compatible = "jedec-flash";
170 large-flash@2,0 {
171 compatible = "jedec-flash";
Dpdm360ng.dts44 flash@0,0 {
45 compatible = "amd,s29gl01gp", "cfi-flash";
Dpcm032.dts111 flash@0,0 {
112 compatible = "cfi-flash";
Dxpedite5301.dts19 boot-bank = <0x0>; /* 0: Primary flash, 1: Secondary flash */
74 ranges = <0 0 0 0xf8000000 0x8000000 /* CS0: Boot flash */
75 1 0 0 0xf0000000 0x8000000 /* CS1: Alternate flash */
80 compatible = "amd,s29gl01gp", "cfi-flash";
109 compatible = "amd,s29gl01gp", "cfi-flash";
/linux-4.4.14/arch/cris/boot/compressed/
Dhead_v10.S58 ;; in the flash (since we wont try to copy it to DRAM
59 ;; before unpacking). It is at _edata, but in flash.
65 move.d $r5, $r0 ; save for later - flash address of 'basse'
67 sub.d basse, $r5 ; $r5 = flash address of '_edata'
103 ;; when mounting from flash
105 move.d [input_data], $r9 ; flash address of compressed kernel
DREADME11 burned into a flash or executed directly at the DRAM origin.
18 into the file vmlinuz. It can be executed in an arbitrary place in flash.
Dhead_v32.S49 ;; It is either in [NOR] flash (we don't want to copy it
/linux-4.4.14/drivers/mtd/onenand/
DKconfig6 This enables support for accessing all type of OneNAND flash
15 This adds an extra check when data is written to the flash. The
16 OneNAND flash device internally checks only bits transitioning
24 Support for OneNAND flash via platform device driver.
30 Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
37 Support for a OneNAND flash device connected to an Samsung SOC.
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/fsl/
Difc.txt6 flash controller can be found in the IFC_REV register at
28 cfi-flash) and NAND (fsl,ifc-nand). There might be board specific devices
46 flash@0,0 {
49 compatible = "cfi-flash";
61 flash@1,0 {
/linux-4.4.14/drivers/media/v4l2-core/
DKconfig47 # Used by LED subsystem flash drivers
49 tristate "V4L2 flash API for LED flash class devices"
53 Say Y here to enable V4L2 flash API support for LED flash
/linux-4.4.14/arch/cris/arch-v32/drivers/
DKconfig103 bool "Axis flash-map support"
113 This option enables MTD mapping of flash devices. Needed to use
114 flash memories. If unsure, say Y.
117 bool "MTD0 is whole boot flash device"
121 on the boot flash device. When set, mtd0 refers to the whole
129 Byte-offset of the partition table in the first flash chip.
132 for changing this is when the flash block size is bigger
136 bool "NAND flash support"
141 This option enables MTD mapping of NAND flash devices. Needed to use
142 NAND flash memories. If unsure, say Y.
[all …]
/linux-4.4.14/drivers/mtd/
DKconfig5 Memory Technology Devices are flash, RAM and similar chips, often
30 'images' in flash devices by putting a table one of the erase
33 flash.
63 bool "Include unallocated flash regions"
65 If you need to register each unallocated flash region as a MTD
81 command line. Multiple flash resources are supported for hardware where
82 different kinds of flash memory are available.
105 1 flash resource (mtd-id "sa1100"), with 1 single writable partition:
108 Same flash, but 2 named partitions, the first one being read-only:
117 The ARM Firmware Suite allows the user to divide flash devices into
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dorion5x-lacie-ethernet-disk-mini-v2.dts11 * TODO: add flash write support: see below.
85 * accidentally erasing critical flash sectors. We thus define
87 * flash. TODO: once the flash part TOP/BOTTOM detection
92 flash@0 {
93 compatible = "cfi-flash";
Dorion5x-maxtor-shared-storage-2.dts64 * accidentally erasing critical flash sectors. We thus define
66 * flash. TODO: once the flash part TOP/BOTTOM detection
71 flash@0 {
72 compatible = "cfi-flash";
Dorion5x-rd88f5182-nas.dts62 flash@0 {
63 compatible = "cfi-flash";
84 flash@0 {
85 compatible = "cfi-flash";
Dorion5x-lacie-d2-network.dts104 * accidentally erasing critical flash sectors. We thus define
106 * flash. TODO: once the flash part TOP/BOTTOM detection
111 flash@0 {
112 compatible = "cfi-flash";
Dspear320-evb.dts89 fsmc: flash@4c000000 {
102 smi: flash@fc000000 {
106 flash@f8000000 {
Dspear310-evb.dts93 fsmc: flash@44000000 {
101 smi: flash@fc000000 {
105 flash@f8000000 {
Dspear300-evb.dts74 fsmc: flash@94000000 {
87 smi: flash@fc000000 {
91 flash@f8000000 {
Dspear600-evb.dts56 smi: flash@fc000000 {
60 flash@f8000000 {
Dmoxart-uc7112lx.dts28 flash@80000000,0 {
29 compatible = "numonyx,js28f128", "cfi-flash";
Dat91rm9200ek.dts87 compatible = "cfi-flash";
89 linux,mtd-name = "physmap-flash.0";
Darmada-398-db.dts73 spi-flash@0 {
111 flash@d0000 {
118 nand-on-flash-bbt;
Dintegrator.dtsi54 flash@24000000 {
55 compatible = "cfi-flash";
Dimx27-eukrea-cpuimx27.dtsi59 nand-on-flash-bbt;
108 compatible = "cfi-flash";
111 linux,mtd-name = "physmap-flash.0";
Dspear320-hmi.dts105 fsmc: flash@4c000000 {
174 smi: flash@fc000000 {
178 flash@f8000000 {
Darmada-388-db.dts75 spi-flash@0 {
132 flash@d0000 {
137 nand-on-flash-bbt;
Dkirkwood-nas2big.dts48 * A NAND flash is used instead of an SPI flash for
Ddove-dove-db.dts29 spi-flash@0 {
Dimx27-phytec-phycore-som.dtsi306 nand-on-flash-bbt;
331 compatible = "cfi-flash";
334 linux,mtd-name = "physmap-flash.0";
Darmada-385-db-ap.dts72 spi-flash@0 {
162 nfc: flash@d0000 {
172 nand-on-flash-bbt;
Dbcm7445-bcm97445svmb.dts24 nand-on-flash-bbt;
Dr8a7794-silk.dts156 flash@0 {
179 label = "flash";
Dphy3250.dts52 slc: flash@20020000 {
65 nand-on-flash-bbt;
Dimx6q-rex-pro.dts25 flash: m25p80@0 { label
Dimx6dl-rex-basic.dts25 flash: m25p80@0 { label
Dvexpress-v2m-rs1.dtsi31 flash@0,00000000 {
32 compatible = "arm,vexpress-flash", "cfi-flash";
241 compact-flash@1a0000 {
Dvexpress-v2m.dtsi30 flash@0,00000000 {
31 compatible = "arm,vexpress-flash", "cfi-flash";
240 compact-flash@1a000 {
/linux-4.4.14/Documentation/filesystems/
Dubifs.txt5 Block Images". UBIFS is a flash file system, which means it is designed
6 to work with flash devices. It is important to understand, that UBIFS
15 1 MTD devices represent flash devices and they consist of eraseblocks of
51 information on the flash media and does not require full media scan,
57 it possible to fit quite a lot of data to the flash.
61 journal and recovers from crashes, ensuring that the on-flash data
66 on the flash size, like in case of JFFS2. This is because UBIFS
67 maintains the FS index on the flash media. However, UBIFS depends on
82 bulk_read read more in one go to take advantage of flash
87 if the flash media is highly reliable. The effect
/linux-4.4.14/drivers/mtd/nand/
DKconfig19 This enables support for accessing all type of NAND flash
52 Enable the driver for NAND flash on Intel Moorestown, using the
60 Enable the driver for NAND flash on platforms using a Denali NAND
78 This enables a NAND flash driver where control signals are
87 Support for NAND flash on Amstrad E3 (Delta).
93 Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
130 This enables the driver for the NAND flash controller on the
137 This enables the Blackfin on-chip NAND flash controller
169 This enables the NAND flash controller on the S3C24xx and S3C64xx
283 Support for diskonchip G4 nand flash, found in various smartphones and
[all …]
/linux-4.4.14/Documentation/misc-devices/
Dc2port.txt24 By using this driver you can reprogram the in-system flash without EC2
43 this code supports only flash programming but extensions are easy to
50 info or read/write in-system flash.
71 However, for security reasons, the in-system flash access in not
76 After that you can read the whole flash:
/linux-4.4.14/drivers/mtd/ubi/
DKconfig7 flash chips like wear and bad blocks and provides some other useful
37 flash does not admit of bad eraseblocks (e.g. NOR flash), this value
50 flash chip admits maximum 40 bad eraseblocks, and it is split on two
63 Important: this feature is experimental so far and the on-flash
69 The on-flash fastmap contains all information needed to attach
75 fastmap support. On typical flash devices the whole fastmap fits
/linux-4.4.14/Documentation/devicetree/bindings/c6x/
Demifa.txt48 flash@3,0 {
51 compatible = "cfi-flash";
62 This shows a flash chip attached to chip select 3.
/linux-4.4.14/Documentation/zh_CN/arm/
DBooting142 调用内核映像 zImage 有两个选择。如果 zImge 保存在 flash 中,且是为了
143flash 中直接运行而被正确链接的。这样引导加载程序就可以在 flash
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dmax77693.txt104 to flash power consumption.
116 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
124 - flash-max-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
180 camera_flash: flash-led {
181 label = "max77693-flash";
184 flash-max-microamp = <1250000>;
185 flash-max-timeout-us = <1000000>;
/linux-4.4.14/fs/ubifs/
DKconfig12 UBIFS is a file system for flash devices which works on top of UBI.
45 increased flash wear. This option adds atime support and it is disabled by default
48 updates). This may affect file-system performance and increase flash device wear,
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dmpc8536ds.dtsi39 compatible = "cfi-flash";
142 flash@0 {
168 flash@1 {
173 flash@2 {
178 flash@3 {
Dt1024qds.dts53 compatible = "cfi-flash";
87 flash@0 {
95 flash@1 {
103 flash@2 {
Dt208xqds.dtsi70 compatible = "cfi-flash";
112 flash@0 {
120 flash@1 {
128 flash@2 {
Dp4080ds.dts84 flash@0 {
158 flash@0,0 {
159 compatible = "cfi-flash";
Dge_imp3a.dts41 compatible = "ge,imp3a-firmware-mirror", "cfi-flash";
57 compatible = "ge,imp3a-paged-flash", "cfi-flash";
Dkmcoge4.dts63 flash@0 {
77 flash@2 {
Dp2041rdb.dts83 flash@0 {
158 flash@0,0 {
159 compatible = "cfi-flash";
Dp5040ds.dts83 flash@0 {
158 flash@0,0 {
159 compatible = "cfi-flash";
/linux-4.4.14/fs/jffs2/
DTODO13 mount doesn't have to read the flash twice for large files.
18 - NAND flash support:
29 the full dirent, we only need to go to the flash in lookup() when we think we've
DREADME.Locking24 which they belong. This is for the benefit of NAND flash - adding new
32 With the introduction of NAND flash support and the write-buffer,
126 The latter function on NAND flash must read _obsolete_ nodes to
129 been unlinked. Because reading from the flash may sleep, the
142 write-behind buffer ('wbuf') used for flash chips where we must write
144 which indicates which flash region (if any) is currently covered by
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-motherboard.dtsi106 flash@0,00000000 {
108 compatible = "arm,vexpress-flash", "cfi-flash";
113 * Unfortunately, accessing the flash disturbs
116 * flash hardware access is disabled by default.
Drtsm_ve-motherboard.dtsi18 flash@0,00000000 {
19 compatible = "arm,vexpress-flash", "cfi-flash";
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dlbc.txt25 flash@0,0 {
26 compatible = "jedec-flash";
/linux-4.4.14/arch/c6x/boot/dts/
Ddsk6455.dts39 flash@3,0 {
42 compatible = "cfi-flash";
/linux-4.4.14/Documentation/hwmon/
Dmax1606533 [From datasheets] The MAX16065/MAX16066 flash-configurable system managers
39 The MAX16067 flash-configurable system manager monitors and sequences multiple
42 The MAX16068 flash-configurable system manager monitors and manages up to six
45 The MAX16070/MAX16071 flash-configurable system monitors supervise multiple
/linux-4.4.14/Documentation/spi/
Dbutterfly8 sensors, LCD, flash, toggle stick, and more. You can use AVR-GCC to
9 develop firmware for this, and flash it using this adapter cable.
40 (a) flash new firmware that disables SPI (set PRR.2, and disable pullups
50 Or you could flash firmware making the AVR into an SPI slave (keeping the
/linux-4.4.14/Documentation/blockdev/
Dmflash.txt1 This document describes m[g]flash support in linux.
10 Mflash and gflash are embedded flash drive. The only difference is mflash is
14 Internally, mflash has nand flash and other hardware logics and supports
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Darm,pl172.txt29 such as NOR (e.g. cfi-flash) and NAND.
88 Example for pl172 with nor flash on chip select 0 shown below.
115 flash@0,0 {
116 compatible = "sst,sst39vf320", "cfi-flash";
/linux-4.4.14/arch/cris/arch-v32/kernel/
Dhead.S44 ;; 0x00000000 if flash.
87 ;; e,f used for memory-mapped NOR flash
163 ; compressed kernel), or directly from flash.
202 ;; Leave the cramfs file system (piggybacked after the kernel) in flash.
228 add.d 0xf0000000, $r4 ; Add cached flash start in virtual memory.
239 ;; Check if booting from NAND flash; if so, set appropriate flags
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_bsg.c22 uint8_t *flash = NULL; in qla4xxx_read_flash() local
47 flash = dma_alloc_coherent(&ha->pdev->dev, length, &flash_dma, in qla4xxx_read_flash()
49 if (!flash) { in qla4xxx_read_flash()
65 flash, length); in qla4xxx_read_flash()
71 dma_free_coherent(&ha->pdev->dev, length, flash, flash_dma); in qla4xxx_read_flash()
88 uint8_t *flash = NULL; in qla4xxx_update_flash() local
114 flash = dma_alloc_coherent(&ha->pdev->dev, length, &flash_dma, in qla4xxx_update_flash()
116 if (!flash) { in qla4xxx_update_flash()
124 bsg_job->request_payload.sg_cnt, flash, length); in qla4xxx_update_flash()
136 dma_free_coherent(&ha->pdev->dev, length, flash, flash_dma); in qla4xxx_update_flash()
/linux-4.4.14/arch/arm/mach-omap2/
DMakefile241 omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
242 omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
243 obj-y += $(omap-flash-y) $(omap-flash-m)
/linux-4.4.14/Documentation/arm/Samsung-S3C24XX/
DSMDK2440.txt42 The NAND flash should be supported by the in kernel MTD NAND support,
43 NOR flash will be added later.
/linux-4.4.14/arch/avr32/boards/hammerhead/
DMakefile1 obj-y += setup.o flash.o
/linux-4.4.14/arch/avr32/boards/mimc200/
DMakefile1 obj-y += setup.o flash.o
/linux-4.4.14/arch/avr32/boards/favr-32/
DMakefile1 obj-y += setup.o flash.o
/linux-4.4.14/drivers/mtd/spi-nor/
DKconfig14 Many flash memories support erasing small (4096 B) sectors. Depending
17 Changing a small part of the flash's contents is usually faster with
/linux-4.4.14/arch/avr32/boards/merisc/
DMakefile1 obj-y += setup.o flash.o display.o merisc_sysfs.o
/linux-4.4.14/arch/mn10300/unit-asb2303/
DMakefile6 obj-y := unit-init.o smc91111.o flash.o leds.o
/linux-4.4.14/Documentation/cris/
DREADME36 * NOR-flash/ROM
115 Axis flash mapping: 200000 at 50000000
116 Axis flash: Found 1 x16 CFI device at 0x0 in 16 bit mode
118 Axis flash: JEDEC Device ID is 0xC4. Assuming broken CFI table.
119 Axis flash: Swapping erase regions for broken CFI table.
/linux-4.4.14/arch/avr32/boards/atngw100/
DMakefile1 obj-y += setup.o flash.o
/linux-4.4.14/fs/f2fs/
DKconfig6 versatile "flash-friendly" features. The design has been focused on
10 Since flash-based storages show different characteristics according to
11 the internal geometry or flash memory management schemes aka FTL, F2FS
/linux-4.4.14/arch/arm/mach-sa1100/
Dgeneric.c242 void sa11x0_register_mtd(struct flash_platform_data *flash, in sa11x0_register_mtd() argument
245 flash->name = "sa1100"; in sa11x0_register_mtd()
248 sa11x0_register_device(&sa11x0mtd_device, flash); in sa11x0_register_mtd()
Dgeneric.h29 void sa11x0_register_mtd(struct flash_platform_data *flash,
/linux-4.4.14/arch/mips/netlogic/xlr/
DMakefile1 obj-y += fmn.o fmn-config.o setup.o platform.o platform-flash.o
/linux-4.4.14/arch/avr32/boards/atstk1000/
DMakefile1 obj-y += setup.o flash.o
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcmulti.c1643 hc->flash[2] = 0; in hfcmulti_leds()
1644 hc->flash[3] = 0; in hfcmulti_leds()
1648 if (!hc->flash[2] && hc->activity_tx) in hfcmulti_leds()
1649 hc->flash[2] = poll; in hfcmulti_leds()
1650 if (!hc->flash[3] && hc->activity_rx) in hfcmulti_leds()
1651 hc->flash[3] = poll; in hfcmulti_leds()
1652 if (hc->flash[2] && hc->flash[2] < 1024) in hfcmulti_leds()
1654 if (hc->flash[3] && hc->flash[3] < 1024) in hfcmulti_leds()
1656 if (hc->flash[2] >= 2048) in hfcmulti_leds()
1657 hc->flash[2] = 0; in hfcmulti_leds()
[all …]
/linux-4.4.14/drivers/video/fbdev/
Dauo_k1900fb.c136 if (par->flash) in auok1900fb_dpy_update_pages()
154 if (par->flash) in auok1900fb_dpy_update()
Dauo_k1901fb.c184 if (par->flash) in auok1901fb_dpy_update_pages()
207 if (par->flash) in auok1901fb_dpy_update()
Dauo_k190x.c677 return sprintf(buf, "%d\n", par->flash); in flash_show()
685 int flash, ret; in flash_store() local
687 ret = kstrtoint(buf, 10, &flash); in flash_store()
691 if (flash > 0) in flash_store()
692 par->flash = 1; in flash_store()
694 par->flash = 0; in flash_store()
711 static DEVICE_ATTR(flash, 0644, flash_show, flash_store);
982 par->flash = 0; in auok190x_common_probe()
/linux-4.4.14/drivers/leds/trigger/
DKconfig49 The flash frequency is a hyperbolic function of the 1-minute
107 This allows LEDs to be controlled as a camera flash/torch device.
108 This enables direct flash/torch on/off by the driver, kernel space.
/linux-4.4.14/arch/frv/mb93090-mb00/
DMakefile15 obj-$(CONFIG_MTD) += flash.o
/linux-4.4.14/drivers/media/pci/cobalt/
DMakefile2 cobalt-i2c.o cobalt-omnitek.o cobalt-flash.o cobalt-cpld.o \
/linux-4.4.14/drivers/media/i2c/m5mols/
Dm5mols.h70 u16 flash; member
126 u8 flash; member
/linux-4.4.14/drivers/staging/goldfish/
DKconfig12 Drives the emulated NAND flash device on the Google Goldfish
/linux-4.4.14/Documentation/power/
Dswsusp-dmcrypt.txt22 the key(s) from an external device like a pcmcia flash disk
52 from a pcmcia flash disk card. The card is formatted with an ext2
64 pcmcia flash disk. What follows now is a /linuxrc for your
124 pcmcia flash disk. If this succeeds we need to reset the swap
/linux-4.4.14/arch/cris/arch-v10/
DREADME.mm47 internal chip I/O registers and the flash memory area (including SRAM
54 | kernel seg_f | flash | |
57 | kernel seg_e | flash | |
97 The kernel needs access to both cached and uncached flash. Uncached is
126 R_MMU_KBASE_HI = ( ( base_f, 0x0 ) | // flash/sram/periph cached
127 ( base_e, 0x8 ) | // flash/sram/periph uncached
/linux-4.4.14/arch/mips/bcm63xx/
DMakefile2 setup.o timer.o dev-dsp.o dev-enet.o dev-flash.o \
/linux-4.4.14/drivers/staging/mt29f_spinand/
DKconfig5 This enables support for accessing Micron SPI NAND flash
/linux-4.4.14/Documentation/gpio/
Ddrivers-on-gpio.txt81 - gpio-nand: drivers/mtd/nand/gpio.c is used to connect a NAND flash chip to
83 NAND flash MTD subsystem and provides chip access and partition parsing like
89 MTD NOR flash has add-ons for extra GPIO lines too, though the address bus is
90 usually connected directly to the flash.
/linux-4.4.14/drivers/firmware/broadcom/
DKconfig5 Broadcom home routers contain flash partition called "nvram" with all
/linux-4.4.14/drivers/misc/genwqe/
Dcard_dev.c512 u64 flash = 0; in do_flash_update() local
584 *(__be64 *)&req->__asiv[16] = cpu_to_be64(flash); in do_flash_update()
597 *(__be64 *)&req->asiv[16] = cpu_to_be64(flash); in do_flash_update()
632 flash += tocopy; in do_flash_update()
648 u64 flash = 0; in do_flash_read() local
710 *(__be64 *)&cmd->__asiv[16] = cpu_to_be64(flash); in do_flash_read()
719 *(__be64 *)&cmd->asiv[16] = cpu_to_be64(flash); in do_flash_read()
761 flash += tocopy; in do_flash_read()
/linux-4.4.14/drivers/isdn/hardware/eicon/
Dos_pri.c770 volatile byte __iomem *flash; in pri_get_serial_number() local
788 flash = DIVA_OS_MEM_ATTACH_PROM(&a->xdi_adapter); in pri_get_serial_number()
790 data[i] = READ_BYTE(&flash[0x8000 - len + i]); in pri_get_serial_number()
792 DIVA_OS_MEM_DETACH_PROM(&a->xdi_adapter, flash); in pri_get_serial_number()
848 flash = DIVA_OS_MEM_ATTACH_PROM(&a->xdi_adapter); in pri_get_serial_number()
850 data[i] = flash[0x8000 - len + i]; in pri_get_serial_number()
852 DIVA_OS_MEM_ATTACH_PROM(&a->xdi_adapter, flash); in pri_get_serial_number()
/linux-4.4.14/arch/mips/boot/dts/ralink/
Drt2880_eval.dts19 compatible = "cfi-flash";
Drt3052_eval.dts19 compatible = "cfi-flash";
/linux-4.4.14/drivers/spi/
Dspi-butterfly.c183 static struct flash_platform_data flash = { variable
280 pp->info[0].platform_data = &flash; in butterfly_attach()
/linux-4.4.14/arch/arm/boot/compressed/
Dhead-sharpsl.S68 cmp r3, #0x76 @ 64MiB flash
79 cmp r3, #0x73 @ 16MiB flash
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dspi-davinci.txt58 Example of a NOR flash slave device (n25q032) connected to DaVinci
71 flash: n25q032@0 {
/linux-4.4.14/arch/sh/drivers/
DKconfig10 behavior is platform-dependent, but normally the flash frequency is
/linux-4.4.14/include/video/
Dauo_k190xfb.h62 int flash; member
/linux-4.4.14/Documentation/arm/
DIXP4xx16 supports faster speeds, new memory and flash configurations, and more
126 of flash, two 10/100 ports and one ADSL port.
131 This is basically an IXDP425 with an IXP465 and 32M of flash instead
148 contains a CPU and 16MB of flash on the board and needs to be

1234