Home
last modified time | relevance | path

Searched full:subblock (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/dsa/
H A Dvitesse-vsc73xx-spi.c40 static u8 vsc73xx_make_addr(u8 mode, u8 block, u8 subblock) in vsc73xx_make_addr() argument
47 ret |= subblock & VSC73XX_CMD_SPI_SUBBLOCK_MASK; in vsc73xx_make_addr()
52 static int vsc73xx_spi_read(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_spi_read() argument
62 if (!vsc73xx_is_addr_valid(block, subblock)) in vsc73xx_spi_read()
77 cmd[0] = vsc73xx_make_addr(VSC73XX_CMD_SPI_MODE_READ, block, subblock); in vsc73xx_spi_read()
94 static int vsc73xx_spi_write(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_spi_write() argument
104 if (!vsc73xx_is_addr_valid(block, subblock)) in vsc73xx_spi_write()
119 cmd[0] = vsc73xx_make_addr(VSC73XX_CMD_SPI_MODE_WRITE, block, subblock); in vsc73xx_spi_write()
H A Dvitesse-vsc73xx.h70 int (*read)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg,
72 int (*write)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg,
91 int vsc73xx_is_addr_valid(u8 block, u8 subblock);
H A Dvitesse-vsc73xx-core.c37 #define VSC73XX_BLOCK_ANALYZER 0x2 /* Only subblock 0 */
39 #define VSC73XX_BLOCK_MEMINIT 0x3 /* Only subblock 2 */
41 #define VSC73XX_BLOCK_ARBITER 0x5 /* Only subblock 0 */
42 #define VSC73XX_BLOCK_SYSTEM 0x7 /* Only subblock 0 */
44 /* MII Block subblock */
45 #define VSC73XX_BLOCK_MII_INTERNAL 0x0 /* Internal MDIO subblock */
46 #define VSC73XX_BLOCK_MII_EXTERNAL 0x1 /* External MDIO subblock */
455 int vsc73xx_is_addr_valid(u8 block, u8 subblock) in vsc73xx_is_addr_valid() argument
459 switch (subblock) { in vsc73xx_is_addr_valid()
468 switch (subblock) { in vsc73xx_is_addr_valid()
[all …]
/linux/Documentation/devicetree/bindings/spi/
H A Dfsl,spi.yaml24 QE SPI subblock index.
25 0: QE subblock SPI1
26 1: QE subblock SPI2
/linux/drivers/spi/
H A Dspi-fsl-cpm.c55 qe_issue_cmd(QE_INIT_TX_RX, mspi->subblock, in fsl_spi_cpm_reinit_txrx()
274 qe_issue_cmd(QE_ASSIGN_PAGE_TO_DEVICE, mspi->subblock, in fsl_spi_cpm_get_pram()
309 mspi->subblock = *iprop; in fsl_spi_cpm_init()
311 switch (mspi->subblock) { in fsl_spi_cpm_init()
316 mspi->subblock = QE_CR_SUBBLOCK_SPI1; in fsl_spi_cpm_init()
319 mspi->subblock = QE_CR_SUBBLOCK_SPI2; in fsl_spi_cpm_init()
H A Dspi-fsl-lib.h28 int subblock; member
/linux/drivers/virtio/
H A Dvirtio_mem.c170 /* The subblock size. */
195 * Bitmap: one bit per subblock. Allocated similar to
198 * A set bit means the corresponding subblock is
359 * Calculate the subblock id of a given address.
504 * Calculate the bit number in the subblock bitmap for the given subblock
573 * Find the first unplugged subblock. Returns vm->sbm.sbs_per_mb in case there is
586 * Prepare the subblock bitmap for the next memory block.
1206 * using alloc_contig_range(). All pages in a subblock are in virtio_mem_fake_online()
1308 * We can get called with any order up to MAX_PAGE_ORDER. If our subblock in virtio_mem_online_page()
1583 * memory block. Will fail if any subblock cannot get unplugged (instead of
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dmmhub_v1_0.c773 "MMHUB SubBlock %s, SEC %d\n", in mmhub_v1_0_get_ras_error_count()
784 "MMHUB SubBlock %s, DED %d\n", in mmhub_v1_0_get_ras_error_count()
H A Dgfx_v9_0.c518 #define AMDGPU_RAS_SUB_BLOCK(subblock, a, b, c, d, e, f, g, h) \ argument
519 [AMDGPU_RAS_BLOCK__##subblock] = { \
520 #subblock, \
521 TA_RAS_BLOCK__##subblock, \
6820 DRM_ERROR("GFX Subblock %s, hardware do not support type 0x%x\n", in gfx_v9_0_ras_error_inject()
6828 DRM_ERROR("GFX Subblock %s, driver do not support type 0x%x\n", in gfx_v9_0_ras_error_inject()
6940 dev_info(adev->dev, "Instance[%d]: SubBlock %s, " in gfx_v9_0_query_utc_edc_status()
6947 dev_info(adev->dev, "Instance[%d]: SubBlock %s, " in gfx_v9_0_query_utc_edc_status()
6960 dev_info(adev->dev, "Instance[%d]: SubBlock %s, " in gfx_v9_0_query_utc_edc_status()
6968 dev_info(adev->dev, "Instance[%d]: SubBlock %s, " in gfx_v9_0_query_utc_edc_status()
[all …]
/linux/fs/smb/server/
H A Dauth.c391 /* Add terminator subblock */ in ksmbd_build_ntlmssp_challenge_blob()
/linux/net/mac80211/
H A Dtx.c5114 * AIDs. Each block contains between 0 and 8 subblocks. Each subblock in ieee80211_s1g_beacon_add_tim_pvb()
5115 * describes 8 AIDs and the presence of a subblock is determined by in ieee80211_s1g_beacon_add_tim_pvb()
5153 * If the current subblock is non-zero, increase the in __ieee80211_beacon_add_tim()