Searched refs:hwcaps (Results 1 – 10 of 10) sorted by relevance
/drivers/mtd/spi-nor/ |
D | sfdp.c | 46 u32 hwcaps; member 126 u32 hwcaps; member 501 params->hwcaps.mask &= ~rd->hwcaps; in spi_nor_parse_bfpt() 505 params->hwcaps.mask |= rd->hwcaps; in spi_nor_parse_bfpt() 506 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); in spi_nor_parse_bfpt() 1004 discard_hwcaps |= read->hwcaps; in spi_nor_parse_4bait() 1005 if ((params->hwcaps.mask & read->hwcaps) && in spi_nor_parse_4bait() 1007 read_hwcaps |= read->hwcaps; in spi_nor_parse_4bait() 1024 discard_hwcaps |= program->hwcaps; in spi_nor_parse_4bait() 1026 pp_hwcaps |= program->hwcaps; in spi_nor_parse_4bait() [all …]
|
D | core.c | 2058 static int spi_nor_hwcaps2cmd(u32 hwcaps, const int table[][2], size_t size) in spi_nor_hwcaps2cmd() argument 2063 if (table[i][0] == (int)hwcaps) in spi_nor_hwcaps2cmd() 2069 int spi_nor_hwcaps_read2cmd(u32 hwcaps) in spi_nor_hwcaps_read2cmd() argument 2090 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_read2cmd, in spi_nor_hwcaps_read2cmd() 2094 static int spi_nor_hwcaps_pp2cmd(u32 hwcaps) in spi_nor_hwcaps_pp2cmd() argument 2107 return spi_nor_hwcaps2cmd(hwcaps, hwcaps_pp2cmd, in spi_nor_hwcaps_pp2cmd() 2198 spi_nor_spimem_adjust_hwcaps(struct spi_nor *nor, u32 *hwcaps) in spi_nor_spimem_adjust_hwcaps() argument 2204 *hwcaps &= ~SNOR_HWCAPS_X_X_X; in spi_nor_spimem_adjust_hwcaps() 2211 *hwcaps &= ~(SNOR_HWCAPS_X_X_X | SNOR_HWCAPS_X_X_X_DTR); in spi_nor_spimem_adjust_hwcaps() 2213 for (cap = 0; cap < sizeof(*hwcaps) * BITS_PER_BYTE; cap++) { in spi_nor_spimem_adjust_hwcaps() [all …]
|
D | core.h | 274 struct spi_nor_hwcaps hwcaps; member 285 int (*setup)(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps); 529 int spi_nor_hwcaps_read2cmd(u32 hwcaps);
|
D | xilinx.c | 41 const struct spi_nor_hwcaps *hwcaps) in xilinx_nor_setup() argument
|
D | micron-st.c | 99 nor->params->hwcaps.mask |= SNOR_HWCAPS_READ_8_8_8_DTR; in mt35xu512aba_post_sfdp_fixup()
|
/drivers/net/hyperv/ |
D | rndis_filter.c | 666 struct ndis_offload *hwcaps; in rndis_filter_query_device() local 684 hwcaps = (struct ndis_offload *) in rndis_filter_query_device() 687 hwcaps->header.type = NDIS_OBJECT_TYPE_OFFLOAD; in rndis_filter_query_device() 688 hwcaps->header.revision = ndis_rev; in rndis_filter_query_device() 689 hwcaps->header.size = size; in rndis_filter_query_device() 1348 struct ndis_offload hwcaps; in rndis_netdev_set_hwcaps() local 1354 ret = rndis_query_hwcaps(rndis_device, nvdev, &hwcaps); in rndis_netdev_set_hwcaps() 1373 if ((hwcaps.csum.ip4_txcsum & NDIS_TXCSUM_ALL_TCP4) == NDIS_TXCSUM_ALL_TCP4) { in rndis_netdev_set_hwcaps() 1380 if (hwcaps.lsov2.ip4_encap & NDIS_OFFLOAD_ENCAP_8023) { in rndis_netdev_set_hwcaps() 1384 if (hwcaps.lsov2.ip4_maxsz < gso_max_size) in rndis_netdev_set_hwcaps() [all …]
|
/drivers/mtd/spi-nor/controllers/ |
D | nxp-spifi.c | 283 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()
|
D | hisi-sfc.c | 329 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()
|
D | aspeed-smc.c | 762 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()
|
D | intel-spi.c | 910 const struct spi_nor_hwcaps hwcaps = { in intel_spi_probe() local 941 ret = spi_nor_scan(&ispi->nor, NULL, &hwcaps); in intel_spi_probe()
|