Home
last modified time | relevance | path

Searched refs:BIT (Results 1 – 25 of 80) sorted by relevance

1234

/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DPolicyEntryOperation.h19 #define LOCAL BIT(0)
20 #define REMOTE BIT(1)
21 #define PROTO BIT(2)
22 #define LOCAL_PORT BIT(3)
23 #define REMOTE_PORT BIT(4)
24 #define ICMP_TYPE BIT(5)
25 #define ICMP_CODE BIT(6)
26 #define NAME BIT(7)
27 #define PACKET_FLAG BIT(8)
28 #define ACTION BIT(9)
[all …]
DIpSecConfig.c245 { L"-enable", BIT(1)|BIT(0), BIT(1), BIT(2)|BIT(1)|BIT(0), 0 },
246 { L"-disable", BIT(1)|BIT(0), BIT(1), BIT(2)|BIT(1)|BIT(0), 0 },
247 { L"-status", BIT(1)|BIT(0), BIT(1), BIT(2)|BIT(1)|BIT(0), 0 },
248 { L"-p", BIT(1), 0, BIT(2)|BIT(1)|BIT(0), 0 },
250 { L"-a", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
251 { L"-i", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
252 { L"-d", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
253 { L"-e", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
254 { L"-l", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
255 { L"-f", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Pp2Dxe/
DMvpp2LibHw.h38 #ifndef BIT
39 #define BIT(nr) (1 << (nr)) macro
51 #define MVPP2_RX_USE_PSEUDO_FOR_CSUM_MASK BIT(31)
56 #define MVPP2_SNOOP_BUF_HDR_MASK BIT(9)
63 #define MVPP2_RXQ_DISABLE_MASK BIT(31)
78 #define MVPP2_PRS_TCAM_INV_MASK BIT(31)
82 #define MVPP2_PRS_TCAM_EN_MASK BIT(0)
86 #define MVPP2_CLS_MODE_ACTIVE_MASK BIT(0)
93 #define MVPP2_CLS_LKP_TBL_LOOKUP_EN_MASK BIT(25)
134 #define MVPP2_PREF_BUF_SIZE_4 (BIT(12) | BIT(13))
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3368/drivers/pmu/
Dpmu.c34 & BIT(clst_b_l2_flsh_done))) { in rk3368_flash_l2_b()
46 uint32_t mask = BIT(req); in rk3368_pmu_bus_idle()
54 idle_mask = BIT(pmu_idle_ack_cluster_l); in rk3368_pmu_bus_idle()
59 idle_mask = BIT(pmu_idle_ack_cluster_b); in rk3368_pmu_bus_idle()
64 idle_mask = BIT(pmu_idle_ack_cxcs); in rk3368_pmu_bus_idle()
69 idle_mask = BIT(pmu_idle_ack_cci400); in rk3368_pmu_bus_idle()
74 idle_mask = BIT(pmu_idle_ack_gpu) | BIT(pmu_idle_gpu); in rk3368_pmu_bus_idle()
80 idle_mask = BIT(pmu_idle_ack_core) | BIT(pmu_idle_core); in rk3368_pmu_bus_idle()
86 idle_mask = BIT(pmu_idle_ack_bus) | BIT(pmu_idle_bus); in rk3368_pmu_bus_idle()
91 idle_mask = BIT(pmu_idle_ack_dma) | BIT(pmu_idle_dma); in rk3368_pmu_bus_idle()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.h88 #define BIT(x) (1 << x) macro
96 (BIT (PXEBC_VENDOR_TAG_MTFTP_IP) | \
97 BIT (PXEBC_VENDOR_TAG_MTFTP_CPORT) | \
98 BIT (PXEBC_VENDOR_TAG_MTFTP_SPORT) | \
99 BIT (PXEBC_VENDOR_TAG_MTFTP_TIMEOUT) | \
100 BIT (PXEBC_VENDOR_TAG_MTFTP_DELAY))
103 (BIT (PXEBC_VENDOR_TAG_DISCOVER_CTRL) | \
104 BIT (PXEBC_VENDOR_TAG_DISCOVER_MCAST) | \
105 BIT (PXEBC_VENDOR_TAG_BOOT_SERVERS) | \
106 BIT (PXEBC_VENDOR_TAG_BOOT_MENU) | \
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.h84 #define BIT(x) (1 << x) macro
90 #define MTFTP_VENDOR_OPTION_BIT_MAP (BIT (PXEBC_VENDOR_TAG_MTFTP_IP) | \
91 BIT (PXEBC_VENDOR_TAG_MTFTP_CPORT) | \
92 BIT (PXEBC_VENDOR_TAG_MTFTP_SPORT) | \
93 BIT (PXEBC_VENDOR_TAG_MTFTP_TIMEOUT) | \
94 BIT (PXEBC_VENDOR_TAG_MTFTP_DELAY))
98 #define DISCOVER_VENDOR_OPTION_BIT_MAP (BIT (PXEBC_VENDOR_TAG_DISCOVER_CTRL) | \
99 BIT (PXEBC_VENDOR_TAG_DISCOVER_MCAST) | \
100 BIT (PXEBC_VENDOR_TAG_BOOT_SERVERS) | \
101 BIT (PXEBC_VENDOR_TAG_BOOT_MENU) | \
[all …]
/device/linaro/bootloader/arm-trusted-firmware/include/plat/arm/common/
Darm_config.h14 ARM_CONFIG_BASE_MMAP = BIT(1),
16 ARM_CONFIG_HAS_TZC = BIT(2),
18 ARM_CONFIG_FVP_SHIFTED_AFF = BIT(3),
20 ARM_CONFIG_FVP_HAS_SMMUV3 = BIT(4),
22 ARM_CONFIG_FVP_HAS_CCI400 = BIT(5),
23 ARM_CONFIG_FVP_HAS_CCI5XX = BIT(6),
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/
Dpmu.c67 uint32_t bus_id = BIT(bus); in pmu_bus_idle_req()
73 bus_req = BIT(bus); in pmu_bus_idle_req()
351 if (!(pmu_powerdomain_state & BIT(PD_VDU))) in pmu_power_domains_resume()
353 if (!(pmu_powerdomain_state & BIT(PD_VCODEC))) in pmu_power_domains_resume()
355 if (!(pmu_powerdomain_state & BIT(PD_RGA))) in pmu_power_domains_resume()
357 if (!(pmu_powerdomain_state & BIT(PD_IEP))) in pmu_power_domains_resume()
359 if (!(pmu_powerdomain_state & BIT(PD_EDP))) in pmu_power_domains_resume()
361 if (!(pmu_powerdomain_state & BIT(PD_GMAC))) in pmu_power_domains_resume()
363 if (!(pmu_powerdomain_state & BIT(PD_SDIOAUDIO))) in pmu_power_domains_resume()
365 if (!(pmu_powerdomain_state & BIT(PD_HDCP))) in pmu_power_domains_resume()
[all …]
/device/google/crosshatch/sdm845/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
316 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
317 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
318 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
319 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
320 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
321 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
322 #define VFE_OUTPUTS_PREVIEW BIT(6)
323 #define VFE_OUTPUTS_VIDEO BIT(7)
324 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
/device/google/bonito/sdm710/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
316 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
317 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
318 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
319 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
320 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
321 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
322 #define VFE_OUTPUTS_PREVIEW BIT(6)
323 #define VFE_OUTPUTS_VIDEO BIT(7)
324 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
/device/google/bonito/sdm710/original-kernel-headers/media/
Dmsm_isp.h4 #define BIT(nr) (1UL << (nr)) macro
324 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
325 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
326 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
327 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
328 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
329 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
330 #define VFE_OUTPUTS_PREVIEW BIT(6)
331 #define VFE_OUTPUTS_VIDEO BIT(7)
332 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
/device/google/crosshatch/sdm845/original-kernel-headers/media/
Dmsm_isp.h4 #define BIT(nr) (1UL << (nr)) macro
324 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
325 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
326 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
327 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
328 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
329 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
330 #define VFE_OUTPUTS_PREVIEW BIT(6)
331 #define VFE_OUTPUTS_VIDEO BIT(7)
332 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
/device/google/bonito/sdm710/kernel-headers/linux/
Dspcom.h22 #ifndef BIT
23 #define BIT(x) (1 << x) macro
42 SPCOM_POLL_LINK_STATE = BIT(1),
43 SPCOM_POLL_CH_CONNECT = BIT(2),
44 SPCOM_POLL_READY_FLAG = BIT(14),
45 SPCOM_POLL_WAIT_FLAG = BIT(15),
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dspcom.h17 #ifndef BIT
18 #define BIT(x) (1 << x) macro
68 SPCOM_POLL_LINK_STATE = BIT(1),
69 SPCOM_POLL_CH_CONNECT = BIT(2),
70 SPCOM_POLL_READY_FLAG = BIT(14), /* output */
71 SPCOM_POLL_WAIT_FLAG = BIT(15), /* if set , wait for the event */
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dspcom.h22 #ifndef BIT
23 #define BIT(x) (1 << x) macro
42 SPCOM_POLL_LINK_STATE = BIT(1),
43 SPCOM_POLL_CH_CONNECT = BIT(2),
44 SPCOM_POLL_READY_FLAG = BIT(14),
45 SPCOM_POLL_WAIT_FLAG = BIT(15),
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dspcom.h17 #ifndef BIT
18 #define BIT(x) (1 << x) macro
68 SPCOM_POLL_LINK_STATE = BIT(1),
69 SPCOM_POLL_CH_CONNECT = BIT(2),
70 SPCOM_POLL_READY_FLAG = BIT(14), /* output */
71 SPCOM_POLL_WAIT_FLAG = BIT(15), /* if set , wait for the event */
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dspcom.h17 #ifndef BIT
18 #define BIT(x) (1 << x) macro
71 SPCOM_POLL_LINK_STATE = BIT(1),
72 SPCOM_POLL_CH_CONNECT = BIT(2),
73 SPCOM_POLL_READY_FLAG = BIT(14), /* output */
74 SPCOM_POLL_WAIT_FLAG = BIT(15), /* if set , wait for the event */
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dspcom.h22 #ifndef BIT
23 #define BIT(x) (1 << x) macro
44 SPCOM_POLL_LINK_STATE = BIT(1),
45 SPCOM_POLL_CH_CONNECT = BIT(2),
46 SPCOM_POLL_READY_FLAG = BIT(14),
47 SPCOM_POLL_WAIT_FLAG = BIT(15),
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dspcom.h17 #ifndef BIT
18 #define BIT(x) (1 << x) macro
71 SPCOM_POLL_LINK_STATE = BIT(1),
72 SPCOM_POLL_CH_CONNECT = BIT(2),
73 SPCOM_POLL_READY_FLAG = BIT(14), /* output */
74 SPCOM_POLL_WAIT_FLAG = BIT(15), /* if set , wait for the event */
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dspcom.h22 #ifndef BIT
23 #define BIT(x) (1 << x) macro
44 SPCOM_POLL_LINK_STATE = BIT(1),
45 SPCOM_POLL_CH_CONNECT = BIT(2),
46 SPCOM_POLL_READY_FLAG = BIT(14),
47 SPCOM_POLL_WAIT_FLAG = BIT(15),
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_emmc.c24 #define MMC_RSP_PRESENT BIT(0)
25 #define MMC_RSP_136 BIT(1) /* 136 bit response */
26 #define MMC_RSP_CRC BIT(2) /* expect valid crc */
27 #define MMC_RSP_BUSY BIT(3) /* card may send busy */
28 #define MMC_RSP_OPCODE BIT(4) /* response contains opcode */
47 #define SDHCI_TRNS_DMA BIT(0)
48 #define SDHCI_TRNS_BLK_CNT_EN BIT(1)
49 #define SDHCI_TRNS_ACMD12 BIT(2)
50 #define SDHCI_TRNS_READ BIT(4)
51 #define SDHCI_TRNS_MULTI BIT(5)
[all …]
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/pl061/
Dpl061_gpio.c57 if (data & BIT(offset)) in pl061_get_direction()
72 data = mmio_read_8(base_addr + PL061_GPIO_DIR) | BIT(offset); in pl061_set_direction()
75 data = mmio_read_8(base_addr + PL061_GPIO_DIR) & ~BIT(offset); in pl061_set_direction()
97 if (mmio_read_8(base_addr + BIT(offset + 2))) in pl061_get_value()
117 mmio_write_8(base_addr + BIT(offset + 2), BIT(offset)); in pl061_set_value()
119 mmio_write_8(base_addr + BIT(offset + 2), 0); in pl061_set_value()
/device/google/barbet-kernel/sm7250/original-kernel-headers/linux/
Dspcom.h10 #ifndef BIT
11 #define BIT(x) (1 << x) macro
69 SPCOM_POLL_LINK_STATE = BIT(1),
70 SPCOM_POLL_CH_CONNECT = BIT(2),
71 SPCOM_POLL_READY_FLAG = BIT(14), /* output */
72 SPCOM_POLL_WAIT_FLAG = BIT(15), /* if set , wait for the event */
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Dspcom.h22 #ifndef BIT
23 #define BIT(x) (1 << x) macro
46 SPCOM_POLL_LINK_STATE = BIT(1),
47 SPCOM_POLL_CH_CONNECT = BIT(2),
48 SPCOM_POLL_READY_FLAG = BIT(14),
49 SPCOM_POLL_WAIT_FLAG = BIT(15),
/device/google/barbet-kernel/sm7250/kernel-headers/linux/
Dspcom.h22 #ifndef BIT
23 #define BIT(x) (1 << x) macro
46 SPCOM_POLL_LINK_STATE = BIT(1),
47 SPCOM_POLL_CH_CONNECT = BIT(2),
48 SPCOM_POLL_READY_FLAG = BIT(14),
49 SPCOM_POLL_WAIT_FLAG = BIT(15),

1234