Home
last modified time | relevance | path

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

/include/linux/ssb/
A Dssb_driver_chipcommon.h601 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))
658 extern void ssb_pmu_init(struct ssb_chipcommon *cc);
[all …]
/include/linux/bcma/
A Dbcma_driver_chipcommon.h664 #define bcma_cc_read32(cc, offset) \ argument
665 bcma_read32((cc)->core, offset)
667 bcma_write32((cc)->core, offset, val)
670 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask))
672 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set))
674 bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set))
677 #define bcma_pmu_read32(cc, offset) \ argument
678 bcma_read32((cc)->pmu.core, offset)
683 bcma_pmu_write32(cc, offset, bcma_pmu_read32(cc, offset) & (mask))
685 bcma_pmu_write32(cc, offset, bcma_pmu_read32(cc, offset) | (set))
[all …]
A Dbcma.h419 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()
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()
438 static inline void bcma_maskset16(struct bcma_device *cc, in bcma_maskset16() argument
441 bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); in bcma_maskset16()
[all …]
/include/linux/mlx5/
A 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()
A Dmlx5_ifc.h4733 u8 cc[0x1]; member
/include/linux/
A Dtimecounter.h31 u64 (*read)(struct cyclecounter *cc);
56 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 struct cyclecounter *cc,
A Dof.h1431 #define of_for_each_phandle(it, err, np, ln, cn, cc) \ argument
1432 for (of_phandle_iterator_init((it), (np), (ln), (cn), (cc)), \
/include/linux/usb/
A 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()
A 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/
A 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/
A Dbrcmfmac.h114 char cc[BRCMFMAC_COUNTRY_BUF_SZ]; member
/include/linux/sunrpc/
A Dsvc_rdma.h270 struct svc_rdma_chunk_ctxt *cc);
273 struct svc_rdma_chunk_ctxt *cc);
275 struct svc_rdma_chunk_ctxt *cc,
/include/media/
A Ddvb_demux.h155 int cc; member
/include/sound/
A Dump_msg.h263 struct snd_ump_midi1_msg_cc cc; member
531 struct snd_ump_midi2_msg_cc cc; member
A Dhdaudio.h559 struct cyclecounter cc; member

Completed in 115 milliseconds