Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 13 of 13) sorted by relevance

/include/linux/ssb/
Dssb_driver_chipcommon.h599 static inline bool ssb_chipco_available(struct ssb_chipcommon *cc) in ssb_chipco_available() argument
601 return (cc->dev != NULL); in ssb_chipco_available()
605 #define chipco_read32(cc, offset) ssb_read32((cc)->dev, offset) argument
606 #define chipco_write32(cc, offset, val) ssb_write32((cc)->dev, offset, val) argument
608 #define chipco_mask32(cc, offset, mask) \ argument
609 chipco_write32(cc, offset, chipco_read32(cc, offset) & (mask))
610 #define chipco_set32(cc, offset, set) \ argument
611 chipco_write32(cc, offset, chipco_read32(cc, offset) | (set))
612 #define chipco_maskset32(cc, offset, mask, set) \ argument
613 chipco_write32(cc, offset, (chipco_read32(cc, offset) & (mask)) | (set))
[all …]
/include/linux/bcma/
Dbcma_driver_chipcommon.h658 #define bcma_cc_read32(cc, offset) \ argument
659 bcma_read32((cc)->core, offset)
660 #define bcma_cc_write32(cc, offset, val) \ argument
661 bcma_write32((cc)->core, offset, val)
663 #define bcma_cc_mask32(cc, offset, mask) \ argument
664 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask))
665 #define bcma_cc_set32(cc, offset, set) \ argument
666 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set))
667 #define bcma_cc_maskset32(cc, offset, mask, set) \ argument
668 bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set))
[all …]
Dbcma.h417 static inline void bcma_mask32(struct bcma_device *cc, u16 offset, u32 mask) in bcma_mask32() argument
419 bcma_write32(cc, offset, bcma_read32(cc, offset) & mask); in bcma_mask32()
421 static inline void bcma_set32(struct bcma_device *cc, u16 offset, u32 set) in bcma_set32() argument
423 bcma_write32(cc, offset, bcma_read32(cc, offset) | set); in bcma_set32()
425 static inline void bcma_maskset32(struct bcma_device *cc, in bcma_maskset32() argument
428 bcma_write32(cc, offset, (bcma_read32(cc, offset) & mask) | set); in bcma_maskset32()
430 static inline void bcma_mask16(struct bcma_device *cc, u16 offset, u16 mask) in bcma_mask16() argument
432 bcma_write16(cc, offset, bcma_read16(cc, offset) & mask); in bcma_mask16()
434 static inline void bcma_set16(struct bcma_device *cc, u16 offset, u16 set) in bcma_set16() argument
436 bcma_write16(cc, offset, bcma_read16(cc, offset) | set); in bcma_set16()
[all …]
/include/linux/mlx5/
Deq.h31 struct mlx5_eqe *mlx5_eq_get_eqe(struct mlx5_eq *eq, u32 cc);
32 void mlx5_eq_update_ci(struct mlx5_eq *eq, u32 cc, bool arm);
42 static inline u32 mlx5_eq_update_cc(struct mlx5_eq *eq, u32 cc) in mlx5_eq_update_cc() argument
44 if (unlikely(cc >= MLX5_NUM_SPARE_EQE)) { in mlx5_eq_update_cc()
45 mlx5_eq_update_ci(eq, cc, 0); in mlx5_eq_update_cc()
46 cc = 0; in mlx5_eq_update_cc()
48 return cc; in mlx5_eq_update_cc()
Dmlx5_ifc.h3929 u8 cc[0x1]; member
/include/linux/
Dtimecounter.h31 u64 (*read)(const struct cyclecounter *cc);
56 const struct cyclecounter *cc; member
70 static inline u64 cyclecounter_cyc2ns(const struct cyclecounter *cc, in cyclecounter_cyc2ns() argument
75 ns = (ns * cc->mult) + *frac; in cyclecounter_cyc2ns()
77 return ns >> cc->shift; in cyclecounter_cyc2ns()
100 const struct cyclecounter *cc,
Dof.h1255 #define of_for_each_phandle(it, err, np, ln, cn, cc) \ argument
1256 for (of_phandle_iterator_init((it), (np), (ln), (cn), (cc)), \
/include/linux/usb/
Dtcpm.h132 int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc);
133 int (*apply_rc)(struct tcpc_dev *dev, enum typec_cc_status cc,
147 enum typec_cc_status cc);
Dtcpci.h198 enum typec_cc_status cc);
/include/linux/platform_data/
Dbrcmfmac.h114 char cc[BRCMFMAC_COUNTRY_BUF_SZ]; member
/include/media/
Ddvb_demux.h155 int cc; member
/include/trace/hooks/
Dmm.h263 TP_PROTO(struct compact_control *cc, struct page *page, bool *bypass),
264 TP_ARGS(cc, page, bypass));
/include/sound/
Dhdaudio.h535 struct cyclecounter cc; member