Home
last modified time | relevance | path

Searched refs:hwcaps (Results 1 – 9 of 9) sorted by relevance

/drivers/mtd/spi-nor/
Dsfdp.c39 u32 hwcaps; member
119 u32 hwcaps; member
496 params->hwcaps.mask &= ~rd->hwcaps; in spi_nor_parse_bfpt()
500 params->hwcaps.mask |= rd->hwcaps; in spi_nor_parse_bfpt()
501 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); in spi_nor_parse_bfpt()
986 discard_hwcaps |= read->hwcaps; in spi_nor_parse_4bait()
987 if ((params->hwcaps.mask & read->hwcaps) && in spi_nor_parse_4bait()
989 read_hwcaps |= read->hwcaps; in spi_nor_parse_4bait()
1006 discard_hwcaps |= program->hwcaps; in spi_nor_parse_4bait()
1008 pp_hwcaps |= program->hwcaps; in spi_nor_parse_4bait()
[all …]
Dcore.c2241 static int spi_nor_hwcaps2cmd(u32 hwcaps, const int table[][2], size_t size) in spi_nor_hwcaps2cmd() argument
2246 if (table[i][0] == (int)hwcaps) in spi_nor_hwcaps2cmd()
2252 int spi_nor_hwcaps_read2cmd(u32 hwcaps) in spi_nor_hwcaps_read2cmd() argument
2272 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_read2cmd, in spi_nor_hwcaps_read2cmd()
2276 static int spi_nor_hwcaps_pp2cmd(u32 hwcaps) in spi_nor_hwcaps_pp2cmd() argument
2288 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_pp2cmd, in spi_nor_hwcaps_pp2cmd()
2380 spi_nor_spimem_adjust_hwcaps(struct spi_nor *nor, u32 *hwcaps) in spi_nor_spimem_adjust_hwcaps() argument
2386 *hwcaps &= ~SNOR_HWCAPS_DTR; in spi_nor_spimem_adjust_hwcaps()
2389 *hwcaps &= ~SNOR_HWCAPS_X_X_X; in spi_nor_spimem_adjust_hwcaps()
2391 for (cap = 0; cap < sizeof(*hwcaps) * BITS_PER_BYTE; cap++) { in spi_nor_spimem_adjust_hwcaps()
[all …]
Dcore.h216 struct spi_nor_hwcaps hwcaps; member
225 int (*setup)(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps);
420 int spi_nor_hwcaps_read2cmd(u32 hwcaps);
Dxilinx.c41 const struct spi_nor_hwcaps *hwcaps) in xilinx_nor_setup() argument
/drivers/net/hyperv/
Drndis_filter.c588 struct ndis_offload *hwcaps; in rndis_filter_query_device() local
606 hwcaps = (struct ndis_offload *) in rndis_filter_query_device()
609 hwcaps->header.type = NDIS_OBJECT_TYPE_OFFLOAD; in rndis_filter_query_device()
610 hwcaps->header.revision = ndis_rev; in rndis_filter_query_device()
611 hwcaps->header.size = size; in rndis_filter_query_device()
1252 struct ndis_offload hwcaps; in rndis_netdev_set_hwcaps() local
1258 ret = rndis_query_hwcaps(rndis_device, nvdev, &hwcaps); in rndis_netdev_set_hwcaps()
1277 if ((hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_ALL_TCP4) == NDIS_TXCSUM_ALL_TCP4) { in rndis_netdev_set_hwcaps()
1284 if (hwcaps.lsov2.ip4_encap & NDIS_OFFLOAD_ENCAP_8023) { in rndis_netdev_set_hwcaps()
1288 if (hwcaps.lsov2.ip4_maxsz < gso_max_size) in rndis_netdev_set_hwcaps()
[all …]
/drivers/mtd/spi-nor/controllers/
Dnxp-spifi.c283 struct spi_nor_hwcaps hwcaps = { in nxp_spifi_setup_flash() local
321 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in nxp_spifi_setup_flash()
324 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in nxp_spifi_setup_flash()
359 ret = spi_nor_scan(&spifi->nor, NULL, &hwcaps); in nxp_spifi_setup_flash()
Dhisi-sfc.c329 const struct spi_nor_hwcaps hwcaps = { in hisi_spi_nor_register() local
371 ret = spi_nor_scan(nor, NULL, &hwcaps); in hisi_spi_nor_register()
Daspeed-smc.c762 const struct spi_nor_hwcaps hwcaps = { in aspeed_smc_setup_flash() local
829 ret = spi_nor_scan(nor, NULL, &hwcaps); in aspeed_smc_setup_flash()
Dintel-spi.c911 const struct spi_nor_hwcaps hwcaps = { in intel_spi_probe() local
942 ret = spi_nor_scan(&ispi->nor, NULL, &hwcaps); in intel_spi_probe()