/device/soc/chipsea/cst85/liteos_m/sdk/modules/common/api/ |
D | wb_co_utils.h | 420 __STATIC_INLINE uint8_t co_val_get(uint8_t const array[], int lsb, int width) in co_val_get() argument 422 int msb = lsb + width - 1; in co_val_get() 423 int l_byte_idx = lsb/8; in co_val_get() 430 int shift = lsb % 8; in co_val_get() 435 uint8_t l_bits_cnt = m_byte_idx * 8 - lsb; in co_val_get() 438 int l_shift = lsb % 8; in co_val_get() 455 __STATIC_INLINE void co_val_set(uint8_t array[], int lsb, int width, uint8_t val) in co_val_set() argument 457 int msb = lsb + width - 1; in co_val_set() 458 int l_byte_idx = lsb/8; in co_val_set() 464 int shift = lsb % 8; in co_val_set() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
D | hmac_crypto_tkip.c | 140 hi_u32 lsb = get_le32(puc_key + 4, 4); /* 4 偏移量 */ in hmac_crypto_tkip_michael_mic() local 144 michael_block(msb, lsb); in hmac_crypto_tkip_michael_mic() 146 michael_block(msb, lsb); in hmac_crypto_tkip_michael_mic() 148 michael_block(msb, lsb); in hmac_crypto_tkip_michael_mic() 150 michael_block(msb, lsb); in hmac_crypto_tkip_michael_mic() 162 michael_block(msb, lsb); in hmac_crypto_tkip_michael_mic() 201 michael_block(msb, lsb); in hmac_crypto_tkip_michael_mic() 223 michael_block(msb, lsb); in hmac_crypto_tkip_michael_mic() 225 michael_block(msb, lsb); in hmac_crypto_tkip_michael_mic() 228 put_le32(michael_mic_info->puc_mic + 4, lsb); /* 4 偏置项 */ in hmac_crypto_tkip_michael_mic()
|
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/ticker/ |
D | lp_ticker.c | 160 void lp_ticker_read_time(uint32_t *msb, uint32_t *lsb) in lp_ticker_read_time() argument 172 *lsb = _lsb; in lp_ticker_read_time() 175 void lp_ticker_set_match_time(uint32_t msb, uint32_t lsb) in lp_ticker_set_match_time() argument 179 LP_TICKER_TIMER->MR[LP_TICKER_TIMER_MRi].L = lsb; in lp_ticker_set_match_time()
|
D | lp_ticker_api.h | 238 void lp_ticker_read_time(uint32_t *msb, uint32_t *lsb); 239 void lp_ticker_set_match_time(uint32_t msb, uint32_t lsb);
|
/device/soc/esp/esp32/components/esp_hw_support/port/esp32/ |
D | regi2c_ctrl.h | 36 …_t rom_i2c_readReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 38 …eReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data);
|
/device/qemu/drivers/virtio/ |
D | virtblock.c | 281 uint32_t index, lsb; in FillCidCsdBits() local 284 lsb = start % U32_BITS; in FillCidCsdBits() 285 resp[index] |= value << lsb; in FillCidCsdBits() 287 if (lsb + bits > U32_BITS) { in FillCidCsdBits() 288 resp[index - 1] |= value >> (U32_BITS - lsb); in FillCidCsdBits()
|
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/ |
D | isp_stats_v2x.c | 62 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_reg() local 149 lsb = rkisp_read(stats_vdev->dev, ISP_RAWAWB_RAM_DATA, true); in rkisp_stats_get_rawawb_meas_reg() 151 pbuf->params.rawawb.ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_reg() 152 pbuf->params.rawawb.ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_reg() 671 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_ddr() local 750 lsb = raw_addr[4 * i]; in rkisp_stats_get_rawawb_meas_ddr() 752 pbuf->params.rawawb.ramdata[2 * i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_ddr() 753 pbuf->params.rawawb.ramdata[2 * i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_ddr() 757 lsb = ((raw_addr[4 * i + 2] & 0x3FFFFFF) << 6) | ((raw_addr[4 * i + 1] & 0xFC000000) >> 26); in rkisp_stats_get_rawawb_meas_ddr() 759 pbuf->params.rawawb.ramdata[2 * i + 1].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_ddr() [all …]
|
D | isp_stats_v21.c | 40 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_reg() local 74 lsb = rkisp_read(stats_vdev->dev, ISP21_RAWAWB_RAM_DATA_BASE, true); in rkisp_stats_get_rawawb_meas_reg() 76 pbuf->params.rawawb.ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_reg() 77 pbuf->params.rawawb.ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_reg() 474 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_ddr() local 507 lsb = raw_addr[2 * i]; in rkisp_stats_get_rawawb_meas_ddr() 509 rawawb->ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_ddr() 510 rawawb->ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_ddr()
|
D | isp_stats_v3x.c | 56 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_reg() local 126 lsb = isp3_stats_read(stats_vdev, ISP3X_RAWAWB_RAM_DATA_BASE, id); in rkisp_stats_get_rawawb_meas_reg() 128 pbuf->params.rawawb.ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_reg() 129 pbuf->params.rawawb.ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_reg() 549 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_ddr() local 612 lsb = raw_addr[2 * i]; in rkisp_stats_get_rawawb_meas_ddr() 614 rawawb->ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_ddr() 615 rawawb->ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_ddr()
|
/device/soc/hpmicro/drivers/platform/ |
D | spi.c | 66 format_config.common_config.lsb = 1; in HpmSpiConfig() 68 format_config.common_config.lsb = 0; in HpmSpiConfig()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
D | isp_stats_v21.c | 39 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_reg() local 75 lsb = rkisp_read(stats_vdev->dev, ISP21_RAWAWB_RAM_DATA_BASE, true); in rkisp_stats_get_rawawb_meas_reg() 77 pbuf->params.rawawb.ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_reg() 79 ((lsb & 0xFFFC0000) >> CIF_ISP_EXP_OFFSET_EIT) | (msb & 0xF) << CIF_ISP_EXP_OFFSET_FOR; in rkisp_stats_get_rawawb_meas_reg() 486 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_ddr() local 515 lsb = raw_addr[CIF_IMG_EFF_CTRL_MODE_SEPIA_SHIFT * i]; in rkisp_stats_get_rawawb_meas_ddr() 517 rawawb->ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_ddr() 518 …rawawb->ramdata[i].g = ((lsb & 0xFFFC0000) >> CIF_ISP_EXP_OFFSET_EIT) | (msb & 0xF) << CIF_ISP_EXP… in rkisp_stats_get_rawawb_meas_ddr()
|
D | isp_stats_v3x.c | 55 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_reg() local 115 lsb = isp3_stats_read(stats_vdev, ISP3X_RAWAWB_RAM_DATA_BASE, id); in rkisp_stats_get_rawawb_meas_reg() 117 pbuf->params.rawawb.ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_reg() 118 pbuf->params.rawawb.ramdata[i].g = ((lsb & 0xFFFC0000) >> 0x12) | (msb & 0xF) << 0x0E; in rkisp_stats_get_rawawb_meas_reg() 523 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_ddr() local 573 lsb = raw_addr[0x02 * i]; in rkisp_stats_get_rawawb_meas_ddr() 575 rawawb->ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_ddr() 576 rawawb->ramdata[i].g = ((lsb & 0xFFFC0000) >> 0x12) | (msb & 0xF) << 0x0E; in rkisp_stats_get_rawawb_meas_ddr()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
D | isp_stats_v21.c | 40 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_reg() local 74 lsb = rkisp_read(stats_vdev->dev, ISP21_RAWAWB_RAM_DATA_BASE, true); in rkisp_stats_get_rawawb_meas_reg() 76 pbuf->params.rawawb.ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_reg() 77 pbuf->params.rawawb.ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_reg() 474 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_ddr() local 507 lsb = raw_addr[2 * i]; in rkisp_stats_get_rawawb_meas_ddr() 509 rawawb->ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_ddr() 510 rawawb->ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_ddr()
|
D | isp_stats_v3x.c | 56 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_reg() local 126 lsb = isp3_stats_read(stats_vdev, ISP3X_RAWAWB_RAM_DATA_BASE, id); in rkisp_stats_get_rawawb_meas_reg() 128 pbuf->params.rawawb.ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_reg() 129 pbuf->params.rawawb.ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_reg() 549 u64 msb, lsb; in rkisp_stats_get_rawawb_meas_ddr() local 612 lsb = raw_addr[2 * i]; in rkisp_stats_get_rawawb_meas_ddr() 614 rawawb->ramdata[i].b = lsb & 0x3FFFF; in rkisp_stats_get_rawawb_meas_ddr() 615 rawawb->ramdata[i].g = ((lsb & 0xFFFC0000) >> 18) | (msb & 0xF) << 14; in rkisp_stats_get_rawawb_meas_ddr()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
D | analogix_dp-rockchip.c | 41 ….reg = (_reg), .lsb = (_lsb), .msb = (_msb), .valid = true, … 46 unsigned int lsb; member 106 mask = GENMASK(field->msb, field->lsb); in rockchip_grf_field_write() 107 val <<= field->lsb; in rockchip_grf_field_write()
|
D | dw-mipi-dsi2-rockchip.c | 179 #define GRF_REG_FIELD(reg, lsb, msb) (((reg) << 16) | ((lsb) << 8) | (msb)) argument 297 u8 msb, lsb; in grf_field_write() local 304 lsb = (field >> 0x8) & 0xff; in grf_field_write() 307 regmap_write(dsi2->grf, reg, (val << lsb) | (GENMASK(msb, lsb) << 0x10)); in grf_field_write()
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/ |
D | rockchip-mipi-csi-tx.h | 212 #define GRF_REG_FIELD(reg, lsb, msb) ((reg << 16) | (lsb << 8) | (msb)) argument
|
D | dw-mipi-dsi2-rockchip.c | 179 #define GRF_REG_FIELD(reg, lsb, msb) (((reg) << 16) | ((lsb) << 8) | (msb)) argument 303 u8 msb, lsb; in grf_field_write() local 309 lsb = (field >> 8) & 0xff; in grf_field_write() 312 regmap_write(dsi2->grf, reg, (val << lsb) | (GENMASK(msb, lsb) << 16)); in grf_field_write()
|
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/ |
D | hpm_spi_drv.c | 296 config->common_config.lsb = false; in spi_master_get_default_format_config() 307 config->common_config.lsb = false; in spi_slave_get_default_format_config() 364 SPI_TRANSFMT_LSB_SET(config->common_config.lsb) | in spi_format_init()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/ |
D | aml_cimax_usb.c | 1540 u8 lsb = 0, msb = 0, plen = 0; in ts_rate_show() local 1549 err |= aml_cimax_usb_read_reg(cimax, BITRATE_CH0_LSB, &lsb, 1); in ts_rate_show() 1553 else if (!byte_to_u16(msb, lsb)) in ts_rate_show() 1557 540*plen*8/byte_to_u16(msb, lsb)); in ts_rate_show() 1561 err = aml_cimax_usb_read_reg(cimax, BITRATE_CH1_LSB, &lsb, 1); in ts_rate_show() 1565 else if (!byte_to_u16(msb, lsb)) in ts_rate_show() 1569 540*plen*8/byte_to_u16(msb, lsb)); in ts_rate_show()
|
D | aml_cimax_spi.c | 1961 u8 lsb = 0, msb = 0, plen = 0; in ts_rate_show() local 1970 err |= aml_cimax_spi_read_reg(cimax, BITRATE_CH0_LSB, &lsb, 1); in ts_rate_show() 1972 if (err || !byte_to_u16(msb, lsb)) in ts_rate_show() 1976 540*plen*8/byte_to_u16(msb, lsb)); in ts_rate_show() 1980 err = aml_cimax_spi_read_reg(cimax, BITRATE_CH1_LSB, &lsb, 1); in ts_rate_show() 1982 if (err || !byte_to_u16(msb, lsb)) in ts_rate_show() 1986 540*plen*8/byte_to_u16(msb, lsb)); in ts_rate_show()
|
/device/soc/rockchip/common/sdk_linux/drivers/mfd/ |
D | rk808.c | 1160 int pm_off = 0, msb, lsb; in rk808_probe() local 1189 lsb = i2c_smbus_read_byte_data(client, pmic_id_lsb); in rk808_probe() 1190 if (lsb < 0) { in rk808_probe() 1192 return lsb; in rk808_probe() 1195 rk808->variant = ((msb << RK_REG_SHIFT_MASK_EIGHT) | lsb) & RK8XX_ID_MSK; in rk808_probe()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
D | dw-mipi-dsi2-rockchip.c | 179 #define GRF_REG_FIELD(reg, lsb, msb) (((reg) << 16) | ((lsb) << 8) | (msb)) argument 301 u8 msb, lsb; in grf_field_write() local 307 lsb = (field >> 8) & 0xff; in grf_field_write() 310 regmap_write(dsi2->grf, reg, (val << lsb) | (GENMASK(msb, lsb) << 16)); in grf_field_write()
|
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
D | hpm_spi_drv.h | 187 bool lsb; member
|
/device/board/bearpi/bearpi_hm_nano/docs/quick-start/ |
D | BearPi-HM_Nano开发搭建环境.md | 250 …mmand '\('lsb\_release', '-a'\)' returned non-zero exit status 1.",解决方法:"find / -name lsb\_release…
|