Searched refs:flags (Results 1 - 25 of 5795) sorted by relevance

1234567891011>>

/drivers/clk/berlin/
H A Dcommon.h26 unsigned long flags; member in struct:berlin2_gate_data
H A Dberlin2-avpll.h29 const char *parent_name, u8 vco_flags, unsigned long flags);
34 unsigned long flags);
/drivers/usb/phy/
H A Dphy-ulpi.c57 unsigned int flags = ULPI_OTG_CTRL_DP_PULLDOWN | local
60 if (phy->flags & ULPI_OTG_ID_PULLUP)
61 flags |= ULPI_OTG_CTRL_ID_PULLUP;
67 if (phy->flags & ULPI_OTG_DP_PULLDOWN_DIS)
68 flags &= ~ULPI_OTG_CTRL_DP_PULLDOWN;
70 if (phy->flags & ULPI_OTG_DM_PULLDOWN_DIS)
71 flags &= ~ULPI_OTG_CTRL_DM_PULLDOWN;
73 if (phy->flags & ULPI_OTG_EXTVBUSIND)
74 flags |= ULPI_OTG_CTRL_EXTVBUSIND;
76 return usb_phy_io_write(phy, flags, ULPI_OTG_CTR
81 unsigned int flags = 0; local
123 unsigned int flags = 0; local
215 unsigned int flags = usb_phy_io_read(phy, ULPI_IFC_CTRL); local
241 unsigned int flags = usb_phy_io_read(phy, ULPI_OTG_CTRL); local
257 otg_ulpi_create(struct usb_phy_io_ops *ops, unsigned int flags) argument
[all...]
/drivers/crypto/qce/
H A Dcommon.h62 #define IS_DES(flags) (flags & QCE_ALG_DES)
63 #define IS_3DES(flags) (flags & QCE_ALG_3DES)
64 #define IS_AES(flags) (flags & QCE_ALG_AES)
66 #define IS_SHA1(flags) (flags & QCE_HASH_SHA1)
67 #define IS_SHA256(flags) (flags
[all...]
H A Dcommon.c56 static u32 qce_encr_cfg(unsigned long flags, u32 aes_key_size) argument
60 if (IS_AES(flags)) {
67 if (IS_AES(flags))
69 else if (IS_DES(flags) || IS_3DES(flags))
72 if (IS_DES(flags))
75 if (IS_3DES(flags))
78 switch (flags & QCE_MODE_MASK) {
102 static u32 qce_auth_cfg(unsigned long flags, u32 key_size) argument
106 if (IS_AES(flags)
329 unsigned long flags = rctx->flags; local
[all...]
/drivers/staging/lustre/lustre/include/
H A Dlustre_mds.h70 static inline int md_should_create(__u64 flags) argument
72 return !(flags & MDS_OPEN_DELAY_CREATE ||
73 !(flags & FMODE_WRITE));
76 /* these are local flags, used only on the client, private */
/drivers/clk/ux500/
H A Dclk.h21 unsigned long flags);
27 unsigned long flags);
33 unsigned long flags);
38 unsigned long flags);
44 unsigned long flags);
49 unsigned long flags);
54 unsigned long flags);
60 unsigned long flags);
69 unsigned long flags);
79 unsigned long flags);
[all...]
/drivers/gpu/drm/nouveau/core/core/
H A Dnotify.c43 unsigned long flags; local
45 test_and_clear_bit(NVKM_NOTIFY_USER, &notify->flags)) {
46 spin_lock_irqsave(&event->refs_lock, flags);
48 spin_unlock_irqrestore(&event->refs_lock, flags);
49 if (test_bit(NVKM_NOTIFY_WORK, &notify->flags))
65 unsigned long flags; local
67 !test_and_set_bit(NVKM_NOTIFY_USER, &notify->flags)) {
68 spin_lock_irqsave(&event->refs_lock, flags);
70 spin_unlock_irqrestore(&event->refs_lock, flags);
79 unsigned long flags; local
99 unsigned long flags; local
125 unsigned long flags; local
142 unsigned long flags; local
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-of.c29 unsigned int flags = 0; local
53 flags |= V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK;
55 flags |= V4L2_MBUS_CSI2_CONTINUOUS_CLOCK;
57 bus->flags = flags;
65 unsigned int flags = 0; local
69 flags |= v ? V4L2_MBUS_HSYNC_ACTIVE_HIGH :
73 flags |= v ? V4L2_MBUS_VSYNC_ACTIVE_HIGH :
77 flags |= v ? V4L2_MBUS_PCLK_SAMPLE_RISING :
81 flags |
[all...]
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-prim.c65 unsigned long flags; local
67 spin_lock_irqsave(&waitq->lock, flags);
69 spin_unlock_irqrestore(&waitq->lock, flags);
130 unsigned long flags; local
133 spin_lock_irqsave(&current->sighand->siglock, flags);
137 spin_unlock_irqrestore(&current->sighand->siglock, flags);
144 unsigned long flags; local
147 spin_lock_irqsave(&current->sighand->siglock, flags);
151 spin_unlock_irqrestore(&current->sighand->siglock, flags);
158 unsigned long flags; local
173 unsigned long flags; local
190 unsigned long flags; local
[all...]
/drivers/firmware/efi/
H A Druntime-wrappers.c100 unsigned long flags; local
103 spin_lock_irqsave(&rtc_lock, flags);
107 spin_unlock_irqrestore(&rtc_lock, flags);
113 unsigned long flags; local
116 spin_lock_irqsave(&rtc_lock, flags);
120 spin_unlock_irqrestore(&rtc_lock, flags);
128 unsigned long flags; local
131 spin_lock_irqsave(&rtc_lock, flags);
135 spin_unlock_irqrestore(&rtc_lock, flags);
141 unsigned long flags; local
158 unsigned long flags; local
172 unsigned long flags; local
187 unsigned long flags; local
202 unsigned long flags; local
220 unsigned long flags; local
235 unsigned long flags; local
249 unsigned long flags; local
260 unsigned long flags; local
277 unsigned long flags; local
[all...]
/drivers/gpu/drm/msm/mdp/
H A Dmdp_kms.c47 unsigned long flags; local
48 spin_lock_irqsave(&list_lock, flags);
50 spin_unlock_irqrestore(&list_lock, flags);
56 unsigned long flags; local
58 spin_lock_irqsave(&list_lock, flags);
62 spin_unlock_irqrestore(&list_lock, flags);
64 spin_lock_irqsave(&list_lock, flags);
69 spin_unlock_irqrestore(&list_lock, flags);
75 unsigned long flags; local
77 spin_lock_irqsave(&list_lock, flags);
111 unsigned long flags; local
130 unsigned long flags; local
[all...]
/drivers/spi/
H A Dspi-bitbang-txrx.h47 unsigned nsecs, unsigned cpol, unsigned flags,
56 if ((flags & SPI_MASTER_NO_TX) == 0)
65 if ((flags & SPI_MASTER_NO_RX) == 0)
74 unsigned nsecs, unsigned cpol, unsigned flags,
84 if ((flags & SPI_MASTER_NO_TX) == 0)
93 if ((flags & SPI_MASTER_NO_RX) == 0)
46 bitbang_txrx_be_cpha0(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) argument
73 bitbang_txrx_be_cpha1(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) argument
/drivers/acpi/acpica/
H A Dpsutils.c120 u8 flags = ACPI_PARSEOP_GENERIC; local
128 if (op_info->flags & AML_DEFER) {
129 flags = ACPI_PARSEOP_DEFERRED;
130 } else if (op_info->flags & AML_NAMED) {
131 flags = ACPI_PARSEOP_NAMED;
133 flags = ACPI_PARSEOP_BYTELIST;
138 if (flags == ACPI_PARSEOP_GENERIC) {
153 op->common.flags = flags;
181 if (op->common.flags
[all...]
/drivers/gpio/
H A Dgpiolib-legacy.c17 * @flags: GPIO configuration as specified by GPIOF_*
20 int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) argument
31 if (flags & GPIOF_OPEN_DRAIN)
32 set_bit(FLAG_OPEN_DRAIN, &desc->flags);
34 if (flags & GPIOF_OPEN_SOURCE)
35 set_bit(FLAG_OPEN_SOURCE, &desc->flags);
37 if (flags & GPIOF_ACTIVE_LOW)
38 set_bit(FLAG_ACTIVE_LOW, &desc->flags);
40 if (flags & GPIOF_DIR_IN)
44 (flags
[all...]
H A Dgpio-xtensa.c47 unsigned long flags; local
49 local_irq_save(flags);
53 return flags;
56 static inline void disable_cp(unsigned long flags, unsigned long cpenable) argument
59 local_irq_restore(flags);
70 static inline void disable_cp(unsigned long flags, unsigned long cpenable) argument
83 unsigned long flags, saved_cpenable; local
86 flags = enable_cp(&saved_cpenable);
88 disable_cp(flags, saved_cpenable);
106 unsigned long flags, saved_cpenabl local
119 unsigned long flags, saved_cpenable; local
[all...]
/drivers/infiniband/hw/cxgb4/
H A Did_table.c46 unsigned long flags; local
49 spin_lock_irqsave(&alloc->lock, flags);
56 if (alloc->flags & C4IW_ID_TABLE_F_RANDOM)
67 spin_unlock_irqrestore(&alloc->lock, flags);
73 unsigned long flags; local
78 spin_lock_irqsave(&alloc->lock, flags);
80 spin_unlock_irqrestore(&alloc->lock, flags);
84 u32 reserved, u32 flags)
89 alloc->flags = flags;
83 c4iw_id_table_alloc(struct c4iw_id_table *alloc, u32 start, u32 num, u32 reserved, u32 flags) argument
[all...]
/drivers/scsi/csiostor/
H A Dcsio_init.h93 unsigned long flags; local
95 spin_lock_irqsave(&scsim->freelist_lock, flags);
97 spin_unlock_irqrestore(&scsim->freelist_lock, flags);
106 unsigned long flags; local
108 spin_lock_irqsave(&scsim->freelist_lock, flags);
110 spin_unlock_irqrestore(&scsim->freelist_lock, flags);
118 unsigned long flags; local
120 spin_lock_irqsave(&scsim->freelist_lock, flags);
122 spin_unlock_irqrestore(&scsim->freelist_lock, flags);
130 unsigned long flags; local
[all...]
/drivers/block/paride/
H A Dpseudo.h54 unsigned long flags; local
56 spin_lock_irqsave(&ps_spinlock,flags);
70 spin_unlock_irqrestore(&ps_spinlock,flags);
76 unsigned long flags; local
78 spin_lock_irqsave(&ps_spinlock,flags);
84 spin_unlock_irqrestore(&ps_spinlock,flags);
89 spin_unlock_irqrestore(&ps_spinlock,flags);
98 spin_unlock_irqrestore(&ps_spinlock,flags);
/drivers/gpu/drm/exynos/
H A Dexynos_drm_buf.h26 unsigned int flags);
30 unsigned int flags,
/drivers/gpu/drm/nouveau/core/subdev/clock/
H A Dnva3.h18 int nva3_clock_pre(struct nouveau_clock *clk, unsigned long *flags);
19 void nva3_clock_post(struct nouveau_clock *clk, unsigned long *flags);
/drivers/staging/lustre/include/linux/lnet/linux/
H A Dlnet.h53 #define cfs_tcp_sendpage(sk, page, offset, size, flags) \
54 tcp_sendpage(sk, page, offset, size, flags)
/drivers/isdn/divert/
H A Ddivert_init.c60 unsigned long flags; local
63 spin_lock_irqsave(&divert_lock, flags);
67 spin_unlock_irqrestore(&divert_lock, flags);
72 spin_unlock_irqrestore(&divert_lock, flags);
75 spin_unlock_irqrestore(&divert_lock, flags);
/drivers/pci/pcie/
H A Dportdrv_acpi.c39 u32 flags; local
52 flags = root->osc_control_set;
55 if (flags & OSC_PCI_EXPRESS_NATIVE_HP_CONTROL)
57 if (flags & OSC_PCI_EXPRESS_PME_CONTROL)
59 if (flags & OSC_PCI_EXPRESS_AER_CONTROL)
/drivers/tty/serial/8250/
H A D8250_fsl.c29 unsigned long flags; local
33 spin_lock_irqsave(&up->port.lock, flags);
37 spin_unlock_irqrestore(&up->port.lock, flags);
45 spin_unlock_irqrestore(&up->port.lock, flags);
60 spin_unlock_irqrestore(&up->port.lock, flags);

Completed in 507 milliseconds

1234567891011>>