Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 16 of 16) 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.h664 #define bcma_cc_read32(cc, offset) \ argument
665 bcma_read32((cc)->core, offset)
666 #define bcma_cc_write32(cc, offset, val) \ argument
667 bcma_write32((cc)->core, offset, val)
669 #define bcma_cc_mask32(cc, offset, mask) \ argument
670 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask))
671 #define bcma_cc_set32(cc, offset, set) \ argument
672 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set))
673 #define bcma_cc_maskset32(cc, offset, mask, set) \ argument
674 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.h30 struct mlx5_eqe *mlx5_eq_get_eqe(struct mlx5_eq *eq, u32 cc);
31 void mlx5_eq_update_ci(struct mlx5_eq *eq, u32 cc, bool arm);
41 static inline u32 mlx5_eq_update_cc(struct mlx5_eq *eq, u32 cc) in mlx5_eq_update_cc() argument
43 if (unlikely(cc >= MLX5_NUM_SPARE_EQE)) { in mlx5_eq_update_cc()
44 mlx5_eq_update_ci(eq, cc, 0); in mlx5_eq_update_cc()
45 cc = 0; in mlx5_eq_update_cc()
47 return cc; in mlx5_eq_update_cc()
Dmlx5_ifc.h4598 u8 cc[0x1]; member
/include/linux/
Dtimecounter.h31 u64 (*read)(const struct cyclecounter *cc);
56 const struct cyclecounter *cc; member
72 static inline u64 cyclecounter_cyc2ns(const struct cyclecounter *cc, in cyclecounter_cyc2ns() argument
77 ns = (ns * cc->mult) + *frac; in cyclecounter_cyc2ns()
79 return ns >> cc->shift; in cyclecounter_cyc2ns()
103 const struct cyclecounter *cc,
Dof.h1426 #define of_for_each_phandle(it, err, np, ln, cn, cc) \ argument
1427 for (of_phandle_iterator_init((it), (np), (ln), (cn), (cc)), \
/include/linux/usb/
Dtcpci.h171 #define tcpc_presenting_rd(reg, cc) \ argument
173 FIELD_GET(TCPC_ROLE_CTRL_## cc, reg) == TCPC_ROLE_CTRL_CC_RD)
223 enum typec_cc_status cc);
239 static inline enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink) in tcpci_to_typec_cc() argument
241 switch (cc) { in tcpci_to_typec_cc()
Dtcpm.h140 int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc);
141 int (*apply_rc)(struct tcpc_dev *dev, enum typec_cc_status cc,
157 enum typec_cc_status cc);
/include/trace/events/
Dcompaction.h102 TP_PROTO(struct compact_control *cc, unsigned long zone_start,
105 TP_ARGS(cc, zone_start, zone_end, sync),
117 __entry->migrate_pfn = cc->migrate_pfn;
118 __entry->free_pfn = cc->free_pfn;
132 TP_PROTO(struct compact_control *cc, unsigned long zone_start,
136 TP_ARGS(cc, zone_start, zone_end, sync, status),
149 __entry->migrate_pfn = cc->migrate_pfn;
150 __entry->free_pfn = cc->free_pfn;
/include/linux/platform_data/
Dbrcmfmac.h114 char cc[BRCMFMAC_COUNTRY_BUF_SZ]; member
/include/linux/sunrpc/
Dsvc_rdma.h268 struct svc_rdma_chunk_ctxt *cc);
271 struct svc_rdma_chunk_ctxt *cc);
273 struct svc_rdma_chunk_ctxt *cc,
/include/media/
Ddvb_demux.h155 int cc; member
/include/trace/hooks/
Dmm.h107 TP_PROTO(struct compact_control *cc, struct page *page, bool *bypass),
108 TP_ARGS(cc, page, bypass));
307 TP_PROTO(struct compact_control *cc, long *vendor_ret),
308 TP_ARGS(cc, vendor_ret));
310 TP_PROTO(struct compact_control *cc, long vendor_ret),
311 TP_ARGS(cc, vendor_ret));
/include/sound/
Dump_msg.h263 struct snd_ump_midi1_msg_cc cc; member
531 struct snd_ump_midi2_msg_cc cc; member
Dhdaudio.h559 struct cyclecounter cc; member