/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 576 #define tcpm_cc_is_sink(cc) \ 577 ((cc) == TYPEC_CC_RP_DEF || (cc) == TYPEC_CC_RP_1_5 || \ 578 (cc) == TYPEC_CC_RP_3_0) 580 /* As long as cc is pulled up, we can consider it as sink. */ 584 #define tcpm_cc_is_source(cc) ((cc) == TYPEC_CC_RD) 585 #define tcpm_cc_is_audio(cc) ((cc) == TYPEC_CC_RA) 586 #define tcpm_cc_is_open(cc) ((c 854 tcpm_set_cc(struct tcpm_port *port, enum typec_cc_status cc) argument 1080 enum typec_cc_status cc; local 4212 tcpm_start_toggling(struct tcpm_port *port, enum typec_cc_status cc) argument 4543 tcpm_get_pwr_opmode(enum typec_cc_status cc) argument [all...] |
/linux-master/ |
H A D | Makefile | 668 # cc-cross-prefix to determine CROSS_COMPILE. 827 KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0) 828 KBUILD_CFLAGS += $(call cc-option,-fno-allow-store-data-races) 882 KBUILD_CFLAGS += $(call cc-option, -fno-stack-clash-protection) 893 ifeq ($(call cc-option-yn, -mnop-mcount),y) 912 ifeq ($(call cc-option-yn, -mfentry),y) 985 KBUILD_CFLAGS += $(call cc-option, -fstrict-flex-arrays=3) 988 KBUILD_CFLAGS-$(CONFIG_CC_NO_STRINGOP_OVERFLOW) += $(call cc-option, -Wno-stringop-overflow) 989 KBUILD_CFLAGS-$(CONFIG_CC_STRINGOP_OVERFLOW) += $(call cc-option, -Wstringop-overflow) 1003 KBUILD_CPPFLAGS += $(call cc [all...] |
/linux-master/sound/pci/emu10k1/ |
H A D | io.c | 639 u32 cc = REG_VAL_GET(WC_CURRENTCHANNEL, wc); local 640 if (cc >= quart * 2 && cc < quart * 3) { 646 cc = REG_VAL_GET(WC_CURRENTCHANNEL, inl(emu->port + WC)); 647 if (cc < quart)
|
/linux-master/drivers/s390/net/ |
H A D | qeth_core_main.c | 1296 if (scsw_cmd_is_valid_cc(&irb->scsw) && irb->scsw.cmd.cc == 1 && iob) {
|
/linux-master/drivers/nvme/target/ |
H A D | nvmet.h | 202 u32 cc; member in struct:nvmet_ctrl
|
H A D | core.c | 1119 static inline bool nvmet_cc_en(u32 cc) argument 1121 return (cc >> NVME_CC_EN_SHIFT) & 0x1; 1124 static inline u8 nvmet_cc_css(u32 cc) argument 1126 return (cc >> NVME_CC_CSS_SHIFT) & 0x7; 1129 static inline u8 nvmet_cc_mps(u32 cc) argument 1131 return (cc >> NVME_CC_MPS_SHIFT) & 0xf; 1134 static inline u8 nvmet_cc_ams(u32 cc) argument 1136 return (cc >> NVME_CC_AMS_SHIFT) & 0x7; 1139 static inline u8 nvmet_cc_shn(u32 cc) argument 1141 return (cc >> NVME_CC_SHN_SHIF 1144 nvmet_cc_iosqes(u32 cc) argument 1149 nvmet_cc_iocqes(u32 cc) argument [all...] |
/linux-master/net/bluetooth/ |
H A D | hci_event.c | 4222 static u8 hci_cc_func(struct hci_dev *hdev, const struct hci_cc *cc, argument 4227 if (skb->len < cc->min_len) { 4228 bt_dev_err(hdev, "unexpected cc 0x%4.4x length: %u < %u", 4229 cc->op, skb->len, cc->min_len); 4234 * partially parse the cc so leave to callback to decide if that is 4237 if (skb->len > cc->max_len) 4238 bt_dev_warn(hdev, "unexpected cc 0x%4.4x length: %u > %u", 4239 cc->op, skb->len, cc [all...] |
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc.h | 281 struct cyclecounter cc; member in struct:igc_adapter
|
/linux-master/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_rw.c | 152 * @cc: svc_rdma_chunk_ctxt to be initialized 155 struct svc_rdma_chunk_ctxt *cc) 157 struct rpc_rdma_cid *cid = &cc->cc_cid; 162 INIT_LIST_HEAD(&cc->cc_rwctxts); 163 cc->cc_sqecount = 0; 169 * @cc: svc_rdma_chunk_ctxt to be released 173 struct svc_rdma_chunk_ctxt *cc, 180 trace_svcrdma_cc_release(&cc->cc_cid, cc->cc_sqecount); 183 while ((ctxt = svc_rdma_next_ctxt(&cc 154 svc_rdma_cc_init(struct svcxprt_rdma *rdma, struct svc_rdma_chunk_ctxt *cc) argument 172 svc_rdma_cc_release(struct svcxprt_rdma *rdma, struct svc_rdma_chunk_ctxt *cc, enum dma_data_direction dir) argument 241 struct svc_rdma_chunk_ctxt *cc = &ctxt->sc_reply_info.wi_cc; local 258 struct svc_rdma_chunk_ctxt *cc = local 287 struct svc_rdma_chunk_ctxt *cc = local 321 struct svc_rdma_chunk_ctxt *cc = local 362 svc_rdma_post_chunk_ctxt(struct svcxprt_rdma *rdma, struct svc_rdma_chunk_ctxt *cc) argument 474 struct svc_rdma_chunk_ctxt *cc = &info->wi_cc; local 609 struct svc_rdma_chunk_ctxt *cc; local 685 struct svc_rdma_chunk_ctxt *cc = &info->wi_cc; local 736 struct svc_rdma_chunk_ctxt *cc = &head->rc_cc; local 1119 struct svc_rdma_chunk_ctxt *cc = &head->rc_cc; local [all...] |
/linux-master/include/linux/sunrpc/ |
H A D | svc_rdma.h | 266 struct svc_rdma_chunk_ctxt *cc); 269 struct svc_rdma_chunk_ctxt *cc); 271 struct svc_rdma_chunk_ctxt *cc,
|
/linux-master/fs/smb/client/ |
H A D | smb2pdu.c | 2268 parse_query_id_ctxt(struct create_context *cc, struct smb2_file_all_info *buf) argument 2270 struct create_disk_id_rsp *pdisk_id = (struct create_disk_id_rsp *)cc; 2278 parse_posix_ctxt(struct create_context *cc, struct smb2_file_all_info *info, argument 2282 u8 *beg = (u8 *)cc + le16_to_cpu(cc->DataOffset); 2283 u8 *end = beg + le32_to_cpu(cc->DataLength); 2320 struct create_context *cc; local 2337 cc = (struct create_context *)((u8 *)rsp + off); 2343 while (rem >= sizeof(*cc)) { 2344 doff = le16_to_cpu(cc [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | main.c | 1616 int cc; local 1636 cc = 0; 1639 cc++; 1640 return cc;
|
/linux-master/sound/core/seq/ |
H A D | seq_ump_convert.c | 111 ev->data.control.channel = val->cc.channel; 112 ev->data.control.param = val->cc.index; 113 ev->data.control.value = val->cc.data; 232 ev->data.control.channel = val->cc.channel; 233 ev->data.control.param = val->cc.index; 234 ev->data.control.value = downscale_32_to_7bit(val->cc.data); 390 midi2->cc.index = midi1->cc.index; 391 midi2->cc.data = upscale_7_to_32bit(midi1->cc 752 fill_rpn(struct snd_seq_ump_midi2_bank *cc, union snd_ump_midi2_msg *data) argument 782 struct snd_seq_ump_midi2_bank *cc = &dest_port->midi2_bank[channel]; local 847 struct snd_seq_ump_midi2_bank *cc = &dest_port->midi2_bank[channel]; local 885 struct snd_seq_ump_midi2_bank *cc = &dest_port->midi2_bank[channel]; local [all...] |
/linux-master/mm/ |
H A D | internal.h | 623 struct compact_control *cc; member in struct:capture_control 628 isolate_freepages_range(struct compact_control *cc, 631 isolate_migratepages_range(struct compact_control *cc, 634 int __alloc_contig_migrate_range(struct compact_control *cc,
|
/linux-master/fs/fuse/ |
H A D | cuse.c | 117 struct cuse_conn *cc = NULL, *pos; local 125 cc = pos; 131 if (!cc) 138 rc = fuse_do_open(&cc->fm, 0, file, 0); 140 fuse_conn_put(&cc->fc); 159 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); local 162 if (cc->unrestricted_ioctl) 172 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); local 175 if (cc->unrestricted_ioctl) 327 struct cuse_conn *cc local 429 cuse_send_init(struct cuse_conn *cc) argument 502 struct cuse_conn *cc; local 550 struct cuse_conn *cc = fc_to_cc(fud->fc); local 580 struct cuse_conn *cc = dev_get_drvdata(dev); local 590 struct cuse_conn *cc = dev_get_drvdata(dev); local [all...] |
/linux-master/drivers/s390/cio/ |
H A D | qdio_main.c | 37 int cc; local 45 " ipm %[cc]\n" 46 " srl %[cc],28\n" 47 : [cc] "=&d" (cc) 50 : "cc", "0", "1", "2", "3"); 51 return cc; 57 int cc; local 64 " ipm %[cc]\n" 65 " srl %[cc],2 87 int cc; local 289 int cc; local 329 int retries = 0, cc; local 368 int cc; local 633 int retries = 0, cc; local [all...] |
H A D | device_fsm.c | 44 int cc; local 49 cc = stsch(sch->schid, &schib); 86 printk(KERN_WARNING "cio: store subchannel returned: cc=%d\n", cc); 459 scsw->cc = 1; 466 scsw->cc = 1;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 1391 xdpi_fifo->cc = &sq->xdpi_fifo_cc; 1575 sq->db.skb_fifo.cc = &sq->skb_fifo_cc; 1832 if (mlx5e_wqc_has_room_for(wq, sq->cc, sq->pc, 1)) {
|
H A D | en_tx.c | 344 if (unlikely(!mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, sq->stop_room))) { 777 mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, sq->stop_room) && 810 /* sq->cc must be updated only after mlx5_cqwq_update_db_record(), 813 sqcc = sq->cc; 880 sq->cc = sqcc; 903 sqcc = sq->cc; 934 sq->cc = sqcc;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 30 if (sq->cc == sq->pc) 37 "Wait for SQ 0x%x flush timeout (sq cc = 0x%x, sq pc = 0x%x)\n", 38 sq->sqn, sq->cc, sq->pc); 45 WARN_ONCE(sq->cc != sq->pc, 46 "SQ 0x%x: cc (0x%x) != pc (0x%x)\n", 47 sq->sqn, sq->cc, sq->pc); 48 sq->cc = 0; 241 devlink_fmsg_u32_pair_put(fmsg, "cc", sq->cc); 497 sq->ch_ix, sq->sqn, sq->cq.mcq.cqn, sq->cc, s [all...] |
H A D | ptp.h | 20 u8 cc; member in struct:mlx5e_ptp_metadata_fifo 100 return fifo->data[fifo->mask & fifo->cc]; 106 fifo->cc++; 126 return freelist->pc == freelist->cc;
|
/linux-master/drivers/ata/ |
H A D | ahci.c | 1076 u16 cc; local 1079 pci_read_config_word(pdev, 0x0a, &cc); 1080 if (cc == PCI_CLASS_STORAGE_IDE) 1082 else if (cc == PCI_CLASS_STORAGE_SATA) 1084 else if (cc == PCI_CLASS_STORAGE_RAID)
|
/linux-master/include/linux/ |
H A D | timecounter.h | 31 u64 (*read)(const struct cyclecounter *cc); 48 * @cc: the cycle counter used by this instance 56 const struct cyclecounter *cc; member in struct:timecounter 65 * @cc: Pointer to cycle counter. 72 static inline u64 cyclecounter_cyc2ns(const struct cyclecounter *cc, argument 77 ns = (ns * cc->mult) + *frac; 79 return ns >> cc->shift; 95 * @cc: A cycle counter, ready to be used. 103 const struct cyclecounter *cc, 123 * @cycle_tstamp: a value returned by tc->cc [all...] |
/linux-master/fs/bcachefs/ |
H A D | Makefile | 99 subdir-ccflags-y += $(call cc-disable-warning, psabi)
|
/linux-master/drivers/scsi/ |
H A D | myrs.c | 1261 mbox->cc.ldev.ldev_num = ldev_num; 1262 mbox->cc.ioctl_opcode = MYRS_IOCTL_CC_START; 1263 mbox->cc.restore_consistency = true; 1264 mbox->cc.initialized_area_only = false; 1266 mbox->cc.ldev.ldev_num = ldev_num; 1267 mbox->cc.ioctl_opcode = MYRS_IOCTL_CC_STOP;
|