| /include/linux/ssb/ |
| A D | ssb_driver_chipcommon.h | 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)) 658 extern void ssb_pmu_init(struct ssb_chipcommon *cc); [all …]
|
| /include/linux/bcma/ |
| A D | bcma_driver_chipcommon.h | 664 #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 D | bcma.h | 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() 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 D | eq.h | 30 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 D | mlx5_ifc.h | 4733 u8 cc[0x1]; member
|
| /include/linux/ |
| A D | timecounter.h | 31 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 D | of.h | 1431 #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 D | tcpci.h | 171 #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 D | tcpm.h | 140 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 D | compaction.h | 102 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 D | brcmfmac.h | 114 char cc[BRCMFMAC_COUNTRY_BUF_SZ]; member
|
| /include/linux/sunrpc/ |
| A D | svc_rdma.h | 270 struct svc_rdma_chunk_ctxt *cc); 273 struct svc_rdma_chunk_ctxt *cc); 275 struct svc_rdma_chunk_ctxt *cc,
|
| /include/media/ |
| A D | dvb_demux.h | 155 int cc; member
|
| /include/sound/ |
| A D | ump_msg.h | 263 struct snd_ump_midi1_msg_cc cc; member 531 struct snd_ump_midi2_msg_cc cc; member
|
| A D | hdaudio.h | 559 struct cyclecounter cc; member
|