| /linux/drivers/net/dsa/ |
| H A D | vitesse-vsc73xx-spi.c | 40 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 D | vitesse-vsc73xx.h | 70 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 D | vitesse-vsc73xx-core.c | 37 #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 D | fsl,spi.yaml | 24 QE SPI subblock index. 25 0: QE subblock SPI1 26 1: QE subblock SPI2
|
| /linux/drivers/spi/ |
| H A D | spi-fsl-cpm.c | 55 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 D | spi-fsl-lib.h | 28 int subblock; member
|
| /linux/drivers/virtio/ |
| H A D | virtio_mem.c | 170 /* 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 D | mmhub_v1_0.c | 773 "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 D | gfx_v9_0.c | 518 #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 D | auth.c | 391 /* Add terminator subblock */ in ksmbd_build_ntlmssp_challenge_blob()
|
| /linux/net/mac80211/ |
| H A D | tx.c | 5114 * 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()
|