| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | fw.h | 400 #define SET_PKT_H2C_CATEGORY(h2c_pkt, value) \ argument 401 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(6, 0)) 402 #define SET_PKT_H2C_CMD_ID(h2c_pkt, value) \ argument 403 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8)) 404 #define SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, value) \ argument 405 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 16)) 406 #define SET_PKT_H2C_TOTAL_LEN(h2c_pkt, value) \ argument 407 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 0)) 416 #define FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, value) \ argument 417 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(31, 16)) [all …]
|
| /linux/drivers/media/pci/cx25821/ |
| H A D | cx25821-medusa-video.c | 24 u32 value = 0; in medusa_enable_bluefield_output() local 63 value = cx25821_i2c_read(&dev->i2c_bus[0], out_ctrl, &tmp); in medusa_enable_bluefield_output() 64 value &= 0xFFFFFF7F; /* clear BLUE_FIELD_EN */ in medusa_enable_bluefield_output() 66 value |= 0x00000080; /* set BLUE_FIELD_EN */ in medusa_enable_bluefield_output() 67 cx25821_i2c_write(&dev->i2c_bus[0], out_ctrl, value); in medusa_enable_bluefield_output() 69 value = cx25821_i2c_read(&dev->i2c_bus[0], out_ctrl_ns, &tmp); in medusa_enable_bluefield_output() 70 value &= 0xFFFFFF7F; in medusa_enable_bluefield_output() 72 value |= 0x00000080; /* set BLUE_FIELD_EN */ in medusa_enable_bluefield_output() 73 cx25821_i2c_write(&dev->i2c_bus[0], out_ctrl_ns, value); in medusa_enable_bluefield_output() 80 u32 value = 0; in medusa_initialize_ntsc() local [all …]
|
| /linux/tools/testing/selftests/kvm/include/x86/ |
| H A D | evmcs.h | 262 static inline int evmcs_vmread(u64 encoding, u64 *value) in load_evmcs() 266 *value = current_evmcs->guest_rip; in load_evmcs() 269 *value = current_evmcs->guest_rsp; in evmcs_vmptrst() 272 *value = current_evmcs->guest_rflags; in evmcs_vmptrst() 275 *value = current_evmcs->host_ia32_pat; 278 *value = current_evmcs->host_ia32_efer; in evmcs_vmread() 281 *value = current_evmcs->host_cr0; in evmcs_vmread() 284 *value = current_evmcs->host_cr3; in evmcs_vmread() 287 *value = current_evmcs->host_cr4; in evmcs_vmread() 290 *value in evmcs_vmread() 268 evmcs_vmptrst(u64 * value) evmcs_vmptrst() argument 276 evmcs_vmread(u64 encoding,u64 * value) evmcs_vmread() argument 675 evmcs_vmwrite(u64 encoding,u64 value) evmcs_vmwrite() argument [all...] |
| /linux/drivers/phy/tegra/ |
| H A D | xusb-tegra210.c | 468 u32 value; in tegra210_pex_uphy_enable() local 486 value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL2); in tegra210_pex_uphy_enable() 487 value &= ~(XUSB_PADCTL_UPHY_PLL_CTL2_CAL_CTRL_MASK << in tegra210_pex_uphy_enable() 489 value |= XUSB_PADCTL_UPHY_PLL_CTL2_CAL_CTRL_VAL << in tegra210_pex_uphy_enable() 491 padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL2); in tegra210_pex_uphy_enable() 493 value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL5); in tegra210_pex_uphy_enable() 494 value &= ~(XUSB_PADCTL_UPHY_PLL_CTL5_DCO_CTRL_MASK << in tegra210_pex_uphy_enable() 496 value |= XUSB_PADCTL_UPHY_PLL_CTL5_DCO_CTRL_VAL << in tegra210_pex_uphy_enable() 498 padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL5); in tegra210_pex_uphy_enable() 500 value in tegra210_pex_uphy_enable() 685 u32 value; tegra210_pex_uphy_disable() local 708 u32 value; tegra210_sata_uphy_enable() local 944 u32 value; tegra210_sata_uphy_disable() local 963 u32 value; tegra210_aux_mux_lp0_clamp_disable() local 984 u32 value; tegra210_aux_mux_lp0_clamp_enable() local 1036 u32 value; tegra210_hsic_set_idle() local 1064 u32 value; tegra210_usb3_enable_phy_sleepwalk() local 1095 u32 value; tegra210_usb3_disable_phy_sleepwalk() local 1124 u32 value; tegra210_usb3_enable_phy_wake() local 1155 u32 value; tegra210_usb3_disable_phy_wake() local 1185 u32 value; tegra210_usb3_phy_remote_wake_detected() local 1201 u32 value; tegra210_utmi_enable_phy_wake() local 1226 u32 value; tegra210_utmi_disable_phy_wake() local 1251 u32 value; tegra210_utmi_phy_remote_wake_detected() local 1265 u32 value; tegra210_hsic_enable_phy_wake() local 1290 u32 value; tegra210_hsic_disable_phy_wake() local 1315 u32 value; tegra210_hsic_phy_remote_wake_detected() local 1341 u32 value, tctrl, pctrl, rpd_ctrl; tegra210_pmc_utmi_enable_phy_sleepwalk() local 1513 u32 value; tegra210_pmc_utmi_disable_phy_sleepwalk() local 1561 u32 value; tegra210_pmc_hsic_enable_phy_sleepwalk() local 1662 u32 value; tegra210_pmc_hsic_disable_phy_sleepwalk() local 1700 u32 value, offset; tegra210_usb3_set_lfps_detect() local 1805 u32 value; tegra210_usb2_phy_init() local 1858 u32 value; tegra210_xusb_padctl_vbus_override() local 1882 u32 value; tegra210_xusb_padctl_id_override() local 1961 u32 value; tegra210_usb2_phy_power_on() local 2118 u32 value; tegra210_usb2_phy_power_off() local 2298 u32 value; tegra210_hsic_phy_init() local 2322 u32 value; tegra210_hsic_phy_power_on() local 2406 u32 value; tegra210_hsic_phy_power_off() local 2499 u32 value; tegra210_uphy_lane_iddq_enable() local 2518 u32 value; tegra210_uphy_lane_iddq_disable() local 2584 u32 value; tegra210_usb3_phy_power_on() local 2657 u32 value; tegra210_usb3_phy_power_off() local 3090 u32 value; tegra210_utmi_port_reset() local 3112 u32 value; tegra210_xusb_read_fuse_calibration() local [all...] |
| H A D | xusb-tegra186.c | 281 static inline void ao_writel(struct tegra186_xusb_padctl *priv, u32 value, unsigned int offset) in ao_writel() argument 283 writel(value, priv->ao_regs + offset); in ao_writel() 337 u32 value; in tegra186_utmi_enable_phy_sleepwalk() local 342 value = ao_readl(priv, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 343 value &= ~MASTER_ENABLE; in tegra186_utmi_enable_phy_sleepwalk() 344 ao_writel(priv, value, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 347 value = ao_readl(priv, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 348 value |= MASTER_CFG_SEL; in tegra186_utmi_enable_phy_sleepwalk() 349 ao_writel(priv, value, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 352 value in tegra186_utmi_enable_phy_sleepwalk() 485 u32 value; tegra186_utmi_disable_phy_sleepwalk() local 532 u32 value; tegra186_utmi_enable_phy_wake() local 557 u32 value; tegra186_utmi_disable_phy_wake() local 582 u32 value; tegra186_utmi_phy_remote_wake_detected() local 606 u32 value; tegra186_utmi_bias_pad_power_on() local 668 u32 value; tegra186_utmi_bias_pad_power_off() local 694 u32 value; tegra186_utmi_pad_power_on() local 736 u32 value; tegra186_utmi_pad_power_down() local 769 u32 value; tegra186_xusb_padctl_vbus_override() local 791 u32 value, id_override; tegra186_xusb_padctl_id_override() local 881 u32 value; tegra186_utmi_phy_power_on() local 1147 u32 value; tegra186_usb3_enable_phy_sleepwalk() local 1172 u32 value; tegra186_usb3_disable_phy_sleepwalk() local 1195 u32 value; tegra186_usb3_enable_phy_wake() local 1220 u32 value; tegra186_usb3_disable_phy_wake() local 1245 u32 value; tegra186_usb3_phy_remote_wake_detected() local 1294 u32 value; tegra186_usb3_phy_power_on() local 1362 u32 value; tegra186_usb3_phy_power_off() local 1470 u32 value, *level; tegra186_xusb_read_fuse_calibration() local [all...] |
| H A D | xusb-tegra124.c | 227 u32 value; in tegra124_xusb_padctl_enable() local 234 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable() 235 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_CLAMP_EN; in tegra124_xusb_padctl_enable() 236 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable() 240 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable() 241 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_CLAMP_EN_EARLY; in tegra124_xusb_padctl_enable() 242 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable() 246 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra124_xusb_padctl_enable() 247 value &= ~XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_VCORE_DOWN; in tegra124_xusb_padctl_enable() 248 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRA in tegra124_xusb_padctl_enable() 257 u32 value; tegra124_xusb_padctl_disable() local 293 u32 value, offset; tegra124_usb3_save_context() local 388 u32 value; tegra124_hsic_set_idle() local 487 u32 value; tegra124_usb2_phy_power_on() local 573 u32 value; tegra124_usb2_phy_power_off() local 870 u32 value; tegra124_hsic_phy_power_on() local 939 u32 value; tegra124_hsic_phy_power_off() local 1089 u32 value; tegra124_pcie_phy_power_on() local 1128 u32 value; tegra124_pcie_phy_power_off() local 1267 u32 value; tegra124_sata_phy_power_on() local 1310 u32 value; tegra124_sata_phy_power_off() local 1482 u32 value; tegra124_usb3_port_enable() local 1616 u32 value; tegra124_usb3_port_disable() local 1665 u32 value; tegra124_xusb_read_fuse_calibration() local [all...] |
| /linux/drivers/video/fbdev/riva/ |
| H A D | nvreg.h | 34 #define SetBF(mask,value) ((value) << (0?mask)) argument 37 #define MaskAndSetBF(var,mask,value) (var)=(((var)&(~MASKEXPAND(mask)) \ argument 38 | SetBF(mask,value))) 47 #define DEVICE_WRITE(device,reg,value) DEVICE_ACCESS(device,reg)=(value) argument 51 #define DEVICE_DEF(device,mask,value) \ argument 52 SetBF(NV_##device##_##mask,NV_##device##_##mask##_##value) 53 #define DEVICE_VALUE(device,mask,value) SetBF(NV_##device##_##mask,value) argument 56 #define PDAC_Write(reg,value) DEVICE_WRITE(PDAC,reg,value) argument 59 #define PDAC_Def(mask,value) DEVICE_DEF(PDAC,mask,value) argument 60 #define PDAC_Val(mask,value) DEVICE_VALUE(PDAC,mask,value) argument [all …]
|
| /linux/tools/perf/util/annotate-arch/ |
| H A D | annotate-powerpc.c | 146 int value; member 164 * value => 21 168 { .name = "OP_31_XOP_LXSIWZX", .value = 12, }, 169 { .name = "OP_31_XOP_LWARX", .value = 20, }, 170 { .name = "OP_31_XOP_LDX", .value = 21, }, 171 { .name = "OP_31_XOP_LWZX", .value = 23, }, 172 { .name = "OP_31_XOP_LDUX", .value = 53, }, 173 { .name = "OP_31_XOP_LWZUX", .value = 55, }, 174 { .name = "OP_31_XOP_LXSIWAX", .value = 76, }, 175 { .name = "OP_31_XOP_LDARX", .value [all...] |
| /linux/tools/power/x86/intel-speed-select/ |
| H A D | isst-display.c | 85 char *value) in format_and_print_txt() argument 102 if (header && value) { in format_and_print_txt() 104 fprintf(outf, "%s:%s\n", header, value); in format_and_print_txt() 112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument 119 format_and_print_txt(outf, level, header, value); in format_and_print() 139 if (value) { in format_and_print() 144 fprintf(outf, "\"%s\"", value); in format_and_print() 222 static char value[1024]; in _isst_pbf_display_information() local 228 snprintf(value, sizeof(value), "%d", in _isst_pbf_display_information() 230 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_scl_filters.c | 1343 if (ratio.value < dc_fixpt_one.value) in get_filter_3tap_16p() 1345 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_3tap_16p() 1347 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_3tap_16p() 1355 if (ratio.value < dc_fixpt_one.value) in get_filter_3tap_64p() 1357 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_3tap_64p() 1359 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_3tap_64p() 1367 if (ratio.value < dc_fixpt_one.value) in get_filter_4tap_16p() 1369 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_4tap_16p() 1371 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_4tap_16p() 1379 if (ratio.value < dc_fixpt_one.value) in get_filter_4tap_64p() [all …]
|
| /linux/tools/testing/selftests/bpf/test_kmods/ |
| H A D | bpf_testmod.h | 28 /* BPF iter that returns *value* *n* times in a row */ 30 s64 value; member 69 int (*tramp_1)(int value); 70 int (*tramp_2)(int value); 71 int (*tramp_3)(int value); 72 int (*tramp_4)(int value); 73 int (*tramp_5)(int value); 74 int (*tramp_6)(int value); 75 int (*tramp_7)(int value); 76 int (*tramp_8)(int value); [all...] |
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_dpmaif.c | 37 u32 value, ul_intr_enable, dl_intr_enable; in t7xx_dpmaif_init_intr() local 50 value, (value & ul_intr_enable) != ul_intr_enable, 0, in t7xx_dpmaif_init_intr() 65 value, (value & ul_intr_enable) != ul_intr_enable, 0, in t7xx_dpmaif_init_intr() 74 value = ioread32(hw_info->pcie_base + DPMAIF_AO_UL_AP_L1TIMR0); in t7xx_dpmaif_init_intr() 75 value |= DPMAIF_DL_INT_Q2APTOP | DPMAIF_DL_INT_Q2TOQ1; in t7xx_dpmaif_init_intr() 76 iowrite32(value, hw_info->pcie_base + DPMAIF_AO_UL_AP_L1TIMR0); in t7xx_dpmaif_init_intr() 85 u32 value, ul_int_que_done; in t7xx_dpmaif_mask_ulq_intr() local 94 value, (value & ul_int_que_done) == ul_int_que_done, 0, in t7xx_dpmaif_mask_ulq_intr() 99 value); in t7xx_dpmaif_mask_ulq_intr() 105 u32 value, ul_int_que_done; in t7xx_dpmaif_unmask_ulq_intr() local [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | unaligned-emul.h | 8 #define _LoadHW(addr, value, res, type) \ argument 26 : "=&r" (value), "=r" (res) \ 31 #define _LoadW(addr, value, res, type) \ argument 47 : "=&r" (value), "=r" (res) \ 53 #define _LoadW(addr, value, res, type) \ argument 82 : "=&r" (value), "=r" (res) \ 88 #define _LoadHWU(addr, value, res, type) \ argument 108 : "=&r" (value), "=r" (res) \ 113 #define _LoadWU(addr, value, res, type) \ argument 131 : "=&r" (value), "=r" (res) \ [all …]
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac4_core.c | 46 u32 value; in dwmac4_core_init() local 48 value = readl(ioaddr + GMAC_CONFIG); in dwmac4_core_init() 49 writel(value | GMAC_CORE_INIT, ioaddr + GMAC_CONFIG); in dwmac4_core_init() 53 * to linux, in which case there's no meaningful value to program. in dwmac4_core_init() 72 u32 value; in dwmac4_irq_modify() 75 value = readl(int_mask) & ~disable; 76 value |= enable; in dwmac4_update_caps() 77 writel(value, int_mask); in dwmac4_update_caps() 93 u32 value = readl(ioaddr + GMAC_RXQ_CTRL0); in dwmac4_rx_queue_enable() 95 value in dwmac4_rx_queue_enable() 67 u32 value; dwmac4_irq_modify() local 88 u32 value = readl(ioaddr + GMAC_RXQ_CTRL0); dwmac4_rx_queue_enable() local 145 u32 value; dwmac4_tx_queue_priority() local 164 u32 value; dwmac4_rx_queue_routing() local 197 u32 value = readl(ioaddr + MTL_OPERATION_MODE); dwmac4_prog_mtl_rx_algorithms() local 218 u32 value = readl(ioaddr + MTL_OPERATION_MODE); dwmac4_prog_mtl_tx_algorithms() local 247 u32 value = readl(ioaddr + mtl_txqx_weight_base_addr(dwmac4_addrs, dwmac4_set_mtl_tx_queue_weight() local 258 u32 value; dwmac4_map_mtl_dma() local 280 u32 value; dwmac4_config_cbs() local 330 u32 value = readl(ioaddr + GMAC_CONFIG); dwmac4_rx_ipc_enable() local 391 u32 value, mask; dwmac4_set_lpi_mode() local 431 u32 value; dwmac4_set_eee_pls() local 446 int value = ((tw & 0xffff)) | ((ls & 0x3ff) << 16); dwmac4_set_eee_timer() local 464 unsigned int value; dwmac4_set_filter() local 678 u32 value; dwmac4_debug() local 763 u32 value = readl(ioaddr + GMAC_CONFIG); dwmac4_set_mac_loopback() local 775 u32 value = readl(ioaddr + GMAC_CONFIG); dwmac4_sarc_configure() local 786 u32 value; dwmac4_set_arp_offload() local 803 u32 value; dwmac4_config_l3_filter() local 857 u32 value; dwmac4_config_l4_filter() local [all...] |
| H A D | dwxgmac2_dma.c | 13 u32 value = readl(ioaddr + XGMAC_DMA_MODE); in dwxgmac2_dma_reset() local 16 writel(value | XGMAC_SWR, ioaddr + XGMAC_DMA_MODE); in dwxgmac2_dma_reset() 18 return readl_poll_timeout(ioaddr + XGMAC_DMA_MODE, value, in dwxgmac2_dma_reset() 19 !(value & XGMAC_SWR), 0, 100000); in dwxgmac2_dma_reset() 25 u32 value = readl(ioaddr + XGMAC_DMA_SYSBUS_MODE); in dwxgmac2_dma_init() local 28 value |= XGMAC_AAL; in dwxgmac2_dma_init() 31 value |= XGMAC_EAME; in dwxgmac2_dma_init() 33 writel(value, ioaddr + XGMAC_DMA_SYSBUS_MODE); in dwxgmac2_dma_init() 39 value = readl(ioaddr + XGMAC_DMA_MODE); in dwxgmac2_dma_init() 40 value in dwxgmac2_dma_init() 50 u32 value = readl(ioaddr + XGMAC_DMA_CH_CONTROL(chan)); dwxgmac2_dma_init_chan() local 65 u32 value; dwxgmac2_dma_init_rx_chan() local 81 u32 value; dwxgmac2_dma_init_tx_chan() local 93 u32 value = readl(ioaddr + XGMAC_DMA_SYSBUS_MODE); dwxgmac2_dma_axi() local 130 u32 value = readl(ioaddr + XGMAC_MTL_RXQ_OPMODE(channel)); dwxgmac2_dma_rx_mode() local 190 u32 value = readl(ioaddr + XGMAC_MTL_TXQ_OPMODE(channel)); dwxgmac2_dma_tx_mode() local 235 u32 value = readl(ioaddr + XGMAC_DMA_CH_INT_EN(chan)); dwxgmac2_enable_dma_irq() local 249 u32 value = readl(ioaddr + XGMAC_DMA_CH_INT_EN(chan)); dwxgmac2_disable_dma_irq() local 262 u32 value; dwxgmac2_dma_start_tx() local 276 u32 value; dwxgmac2_dma_stop_tx() local 290 u32 value; dwxgmac2_dma_start_rx() local 304 u32 value; dwxgmac2_dma_stop_rx() local 516 u32 value = readl(ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); dwxgmac2_enable_tso() local 529 u32 value = readl(ioaddr + XGMAC_MTL_TXQ_OPMODE(channel)); dwxgmac2_qmode() local 548 u32 value; dwxgmac2_set_bfsize() local 558 u32 value = readl(ioaddr + XGMAC_RX_CONFIG); dwxgmac2_enable_sph() local 575 u32 value = readl(ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); dwxgmac2_enable_tbs() local [all...] |
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-fau.h | 62 int64_t value:63; member 72 int32_t value:31; member 82 int16_t value:15; member 92 int8_t value:7; member 153 int64_t value) in __cvmx_fau_atomic_address() argument 156 cvmx_build_bits(CVMX_FAU_BITS_INEVAL, value) | in __cvmx_fau_atomic_address() 171 int64_t value) in cvmx_fau_fetch_and_add64() argument 173 return cvmx_read64_int64(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add64() 186 int32_t value) in cvmx_fau_fetch_and_add32() argument 189 return cvmx_read64_int32(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add32() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | sor.c | 492 u32 value = readl(sor->regs + (offset << 2)); in tegra_sor_readl() local 494 trace_sor_readl(sor->dev, offset, value); in tegra_sor_readl() 496 return value; in tegra_sor_readl() 499 static inline void tegra_sor_writel(struct tegra_sor *sor, u32 value, in tegra_sor_writel() argument 502 trace_sor_writel(sor->dev, offset, value); in tegra_sor_writel() 503 writel(value, sor->regs + (offset << 2)); in tegra_sor_writel() 550 u32 value; in tegra_clk_sor_pad_set_parent() local 552 value = tegra_sor_readl(sor, SOR_CLK_CNTRL); in tegra_clk_sor_pad_set_parent() 553 value &= ~SOR_CLK_CNTRL_DP_CLK_SEL_MASK; in tegra_clk_sor_pad_set_parent() 557 value | in tegra_clk_sor_pad_set_parent() 575 u32 value; tegra_clk_sor_pad_get_parent() local 653 u32 value; tegra_sor_power_up_lanes() local 704 u32 value; tegra_sor_power_down_lanes() local 735 u32 value; tegra_sor_dp_precharge() local 769 u32 mask = 0x08, adj = 0, value; tegra_sor_dp_term_calibrate() local 813 u32 pattern = 0, tx_pu = 0, value; tegra_sor_dp_link_apply_training() local 883 u32 value; tegra_sor_dp_link_configure() local 976 u32 value; tegra_sor_setup_pwm() local 1005 unsigned long value, timeout; tegra_sor_attach() local 1035 unsigned long value, timeout; tegra_sor_wakeup() local 1055 u32 value; tegra_sor_power_up() local 1252 u32 value; tegra_sor_apply_config() local 1295 u32 value; tegra_sor_mode_set() local 1380 unsigned long value, timeout; tegra_sor_detach() local 1429 unsigned long value, timeout; tegra_sor_power_down() local 1479 u32 value; tegra_sor_crc_wait() local 1501 u32 value; tegra_sor_show_crc() local 1857 u32 value = 0; tegra_sor_hdmi_subpack() local 1872 u32 value; tegra_sor_hdmi_write_infopack() local 1923 u32 value; tegra_sor_hdmi_setup_avi_infoframe() local 1977 u32 value; tegra_sor_audio_prepare() local 2003 u32 value; tegra_sor_audio_enable() local 2029 u32 value; tegra_sor_hdmi_enable_audio_infoframe() local 2058 u32 value; tegra_sor_hdmi_audio_enable() local 2115 u32 value; tegra_sor_hdmi_disable_audio_infoframe() local 2141 u32 value; tegra_sor_hdmi_disable_scrambling() local 2167 u32 value; tegra_sor_hdmi_enable_scrambling() local 2214 u32 value; tegra_sor_hdmi_disable() local 2261 u32 value; tegra_sor_hdmi_enable() local 2673 u32 value; tegra_sor_dp_disable() local 2742 u32 value; tegra_sor_dp_enable() local 3679 u32 value; tegra_sor_parse_dt() local 3718 u32 value; tegra_sor_irq() local [all...] |
| /linux/sound/soc/ti/ |
| H A D | omap-mcbsp-priv.h | 78 #define RINTM(value) (((value) & 0x3) << 4) /* bits 4:5 */ argument 81 #define CLKSTP(value) (((value) & 0x3) << 11) /* bits 11:12 */ argument 82 #define RJUST(value) (((value) & 0x3) << 13) /* bits 13:14 */ argument 91 #define XINTM(value) (((value) & 0x3) << 4) /* bits 4:5 */ argument 115 #define RWDLEN1(value) (((value) & 0x7) << 5) /* Bits 5:7 */ argument 116 #define RFRLEN1(value) (((value) & 0x7f) << 8) /* Bits 8:14 */ argument 119 #define XWDLEN1(value) (((value) & 0x7) << 5) /* Bits 5:7 */ argument 120 #define XFRLEN1(value) (((value) & 0x7f) << 8) /* Bits 8:14 */ argument 123 #define RDATDLY(value) ((value) & 0x3) /* Bits 0:1 */ argument 125 #define RCOMPAND(value) (((value) & 0x3) << 3) /* Bits 3:4 */ argument [all …]
|
| /linux/fs/nfsd/ |
| H A D | nfs4xdr_gen.c | 740 xdrgen_encode_int32_t(struct xdr_stream *xdr, const int32_t value) in xdrgen_encode_int32_t() argument 742 return xdrgen_encode_int(xdr, value); in xdrgen_encode_int32_t() 746 xdrgen_encode_uint32_t(struct xdr_stream *xdr, const uint32_t value) in xdrgen_encode_uint32_t() argument 748 return xdrgen_encode_unsigned_int(xdr, value); in xdrgen_encode_uint32_t() 752 xdrgen_encode_int64_t(struct xdr_stream *xdr, const int64_t value) in xdrgen_encode_int64_t() argument 754 return xdrgen_encode_hyper(xdr, value); in xdrgen_encode_int64_t() 758 xdrgen_encode_uint64_t(struct xdr_stream *xdr, const uint64_t value) in xdrgen_encode_uint64_t() argument 760 return xdrgen_encode_unsigned_hyper(xdr, value); in xdrgen_encode_uint64_t() 764 xdrgen_encode_nfsstat4(struct xdr_stream *xdr, nfsstat4 value) in xdrgen_encode_nfsstat4() argument 766 return xdr_stream_encode_u32(xdr, value) == XDR_UNIT; in xdrgen_encode_nfsstat4() [all …]
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | io.h | 84 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq() argument 87 __raw_writeq((__force u64)value, efx->membase + reg); in _efx_writeq() 95 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed() argument 98 __raw_writel((__force u32)value, efx->membase + reg); in _efx_writed() 106 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo() argument 113 EFX_OWORD_VAL(*value)); in efx_writeo() 117 _efx_writeq(efx, value->u64[0], reg + 0); in efx_writeo() 118 _efx_writeq(efx, value->u64[1], reg + 8); in efx_writeo() 120 _efx_writed(efx, value->u32[0], reg + 0); in efx_writeo() 121 _efx_writed(efx, value->u32[1], reg + 4); in efx_writeo() [all …]
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | io.h | 67 static inline void _ef4_writeq(struct ef4_nic *efx, __le64 value, in _ef4_writeq() argument 70 __raw_writeq((__force u64)value, efx->membase + reg); in _ef4_writeq() 78 static inline void _ef4_writed(struct ef4_nic *efx, __le32 value, in _ef4_writed() argument 81 __raw_writel((__force u32)value, efx->membase + reg); in _ef4_writed() 89 static inline void ef4_writeo(struct ef4_nic *efx, const ef4_oword_t *value, in ef4_writeo() argument 96 EF4_OWORD_VAL(*value)); in ef4_writeo() 100 _ef4_writeq(efx, value->u64[0], reg + 0); in ef4_writeo() 101 _ef4_writeq(efx, value->u64[1], reg + 8); in ef4_writeo() 103 _ef4_writed(efx, value->u32[0], reg + 0); in ef4_writeo() 104 _ef4_writed(efx, value->u32[1], reg + 4); in ef4_writeo() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | bw_fixed.c | 49 struct bw_fixed bw_int_to_fixed_nonconst(int64_t value) in bw_int_to_fixed_nonconst() argument 53 ASSERT(value < BW_FIXED_MAX_I32 && value > BW_FIXED_MIN_I32); in bw_int_to_fixed_nonconst() 54 res.value = value << BW_FIXED_BITS_PER_FRACTIONAL_PART; in bw_int_to_fixed_nonconst() 103 res.value = (int64_t)(res_value); in bw_frc_to_fixed() 106 res.value = -res.value; in bw_frc_to_fixed() 116 multiplicand = div64_s64(arg.value, abs_i64(significance.value)); in bw_floor2() 117 result.value = abs_i64(significance.value) * multiplicand; in bw_floor2() 118 ASSERT(abs_i64(result.value) <= abs_i64(arg.value)); in bw_floor2() 128 multiplicand = div64_s64(arg.value, abs_i64(significance.value)); in bw_ceil2() 129 result.value = abs_i64(significance.value) * multiplicand; in bw_ceil2() [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | st_accel_core.c | 130 { .hz = 1, .value = 0x01, }, 131 { .hz = 10, .value = 0x02, }, 132 { .hz = 25, .value = 0x03, }, 133 { .hz = 50, .value = 0x04, }, 134 { .hz = 100, .value = 0x05, }, 135 { .hz = 200, .value = 0x06, }, 136 { .hz = 400, .value = 0x07, }, 137 { .hz = 1600, .value = 0x08, }, 155 .value = 0x00, 160 .value = 0x01, [all …]
|
| /linux/lib/crc/mips/ |
| H A D | crc32.h | 31 #define __CRC32(crc, value, op, SZ, TYPE) \ argument 40 : "r" (value)); \ 43 #define _CRC32_crc32b(crc, value) __CRC32(crc, value, crc32b, 0, 0) argument 44 #define _CRC32_crc32h(crc, value) __CRC32(crc, value, crc32h, 1, 0) argument 45 #define _CRC32_crc32w(crc, value) __CRC32(crc, value, crc32w, 2, 0) argument 46 #define _CRC32_crc32d(crc, value) __CRC32(crc, value, crc32d, 3, 0) argument 47 #define _CRC32_crc32cb(crc, value) __CRC32(crc, value, crc32cb, 0, 1) argument 48 #define _CRC32_crc32ch(crc, value) __CRC32(crc, value, crc32ch, 1, 1) argument 49 #define _CRC32_crc32cw(crc, value) __CRC32(crc, value, crc32cw, 2, 1) argument 50 #define _CRC32_crc32cd(crc, value) __CRC32(crc, value, crc32cd, 3, 1) argument [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | sys_hwprobe.c | 66 * value. in hwprobe_arch_id() 75 pair->value = id; in hwprobe_arch_id() 84 pair->value = 0; in hwprobe_isa_ext0() 86 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0() 89 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0() 92 pair->value |= RISCV_HWPROBE_IMA_V; in hwprobe_isa_ext0() 106 EXT_KEY(isainfo->isa, ZAAMO, pair->value, missing); in hwprobe_isa_ext0() 107 EXT_KEY(isainfo->isa, ZABHA, pair->value, missing); in hwprobe_isa_ext0() 108 EXT_KEY(isainfo->isa, ZACAS, pair->value, missing); in hwprobe_isa_ext0() 109 EXT_KEY(isainfo->isa, ZALASR, pair->value, missin in hwprobe_isa_ext0() [all...] |