Searched refs:cc (Results 101 - 125 of 450) sorted by relevance

1234567891011>>

/linux-master/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dmain.c36 b47n->cc = container_of(nflash, struct bcma_drv_cc, nflash);
38 if (b47n->cc->core->bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) {
/linux-master/arch/s390/pci/
H A Dpci.c124 u8 cc; local
135 cc = zpci_mod_fc(req, &fib, status);
136 if (cc)
137 zpci_dbg(3, "reg ioat fid:%x, cc:%d, status:%d\n", zdev->fid, cc, *status);
138 return cc;
147 u8 cc, status; local
151 cc = zpci_mod_fc(req, &fib, &status);
152 if (cc)
153 zpci_dbg(3, "unreg ioat fid:%x, cc
163 u8 cc, status; local
199 u8 cc, status; local
693 int cc, rc = 0; local
979 int cc; local
1006 int cc; local
[all...]
H A Dpci_irq.c56 u8 cc, status; local
60 cc = zpci_mod_fc(req, &fib, &status);
61 if (cc == 3 || (cc == 1 && status == 24))
63 cc = 0;
65 return cc ? -EIO : 0;
88 u8 cc, status; local
92 cc = zpci_mod_fc(req, &fib, &status);
93 if (cc == 3 || (cc
[all...]
/linux-master/arch/loongarch/kvm/
H A DMakefile22 CFLAGS_exit.o += $(call cc-option,-Wno-override-init,)
/linux-master/arch/x86/
H A DMakefile16 RETPOLINE_CFLAGS := $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register)
17 RETPOLINE_VDSO_CFLAGS := $(call cc-option,-mindirect-branch=thunk-inline -mindirect-branch-register)
23 RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch-cs-prefix)
36 ifneq ($(call cc-option, -mpreferred-stack-boundary=4),)
39 else ifneq ($(call cc-option, -mstack-alignment=16),)
49 -mno-mmx -mno-sse $(call cc-option,-fcf-protection=none)
94 CC_FLAGS_FPU += $(call cc-option,-msse -mpreferred-stack-boundary=3,-mpreferred-stack-boundary=4)
107 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=branch -fno-jump-tables)
110 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
155 KBUILD_CFLAGS += $(call cc
[all...]
/linux-master/fs/btrfs/
H A DMakefile11 $(call cc-option, -Wunused-but-set-variable) \
12 $(call cc-option, -Wunused-const-variable) \
13 $(call cc-option, -Wpacked-not-aligned) \
14 $(call cc-option, -Wstringop-truncation) \
15 $(call cc-option, -Wmaybe-uninitialized)
/linux-master/fs/smb/client/
H A Dreparse.c174 struct smb2_create_ea_ctx *cc; local
176 *cc_len = round_up(sizeof(*cc) + dlen, 8);
177 cc = kzalloc(*cc_len, GFP_KERNEL);
178 if (!cc)
181 cc->ctx.NameOffset = cpu_to_le16(offsetof(struct smb2_create_ea_ctx,
183 cc->ctx.NameLength = cpu_to_le16(4);
184 memcpy(cc->name, SMB2_CREATE_EA_BUFFER, strlen(SMB2_CREATE_EA_BUFFER));
185 cc->ctx.DataOffset = cpu_to_le16(offsetof(struct smb2_create_ea_ctx, ea));
186 cc->ctx.DataLength = cpu_to_le32(dlen);
187 return cc;
201 struct smb2_create_ea_ctx *cc; local
261 struct smb2_create_ea_ctx *cc; local
[all...]
/linux-master/fs/smb/server/
H A Doplock.h119 void create_durable_rsp_buf(char *cc);
120 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp);
121 void create_mxac_rsp_buf(char *cc, int maximal_access);
122 void create_disk_id_rsp_buf(char *cc, __u64 file_id, __u64 vol_id);
123 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp);
/linux-master/arch/x86/include/asm/
H A Dtext-patching.h179 void int3_emulate_jcc(struct pt_regs *regs, u8 cc, unsigned long ip, unsigned long disp)
190 bool invert = cc & 1;
193 if (cc < 0xc) {
194 match = regs->flags & jcc_mask[cc >> 1];
198 if (cc >= 0xe)
/linux-master/include/linux/bcma/
H A Dbcma.h417 static inline void bcma_mask32(struct bcma_device *cc, u16 offset, u32 mask) argument
419 bcma_write32(cc, offset, bcma_read32(cc, offset) & mask);
421 static inline void bcma_set32(struct bcma_device *cc, u16 offset, u32 set) argument
423 bcma_write32(cc, offset, bcma_read32(cc, offset) | set);
425 static inline void bcma_maskset32(struct bcma_device *cc, argument
428 bcma_write32(cc, offset, (bcma_read32(cc, offset) & mask) | set);
430 static inline void bcma_mask16(struct bcma_device *cc, u1 argument
434 bcma_set16(struct bcma_device *cc, u16 offset, u16 set) argument
438 bcma_maskset16(struct bcma_device *cc, u16 offset, u16 mask, u16 set) argument
[all...]
/linux-master/include/linux/usb/
H A Dtcpci.h175 #define tcpc_presenting_rd(reg, cc) \
177 (((reg) & (TCPC_ROLE_CTRL_## cc ##_MASK << TCPC_ROLE_CTRL_## cc ##_SHIFT)) == \
178 (TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_## cc ##_SHIFT)))
224 enum typec_cc_status cc);
240 static inline enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink) argument
242 switch (cc) {
H A Dtcpm.h64 * and cc=Rp-def. This allows the tcpm to provide a fallback
65 * current-limit detection method for the cc=Rp-def case.
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);
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c13 struct cyclecounter cc; member in struct:qede_ptp
115 timecounter_init(&ptp->tc, &ptp->cc, ns);
184 static u64 qede_ptp_read_cc(const struct cyclecounter *cc) argument
191 ptp = container_of(cc, struct qede_ptp, cc);
422 memset(&ptp->cc, 0, sizeof(ptp->cc));
423 ptp->cc.read = qede_ptp_read_cc;
424 ptp->cc.mask = CYCLECOUNTER_MASK(64);
425 ptp->cc
[all...]
/linux-master/drivers/staging/media/av7110/
H A Ddvb_filter.c78 p2ts->cc=0;
96 buf[3]=0x10|((p2ts->cc++)&0x0f);
105 buf[3]=0x30|((p2ts->cc++)&0x0f);
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c162 struct cyclecounter *cc = &adapter->hw_cc; local
193 clock_period = div_u64((NS_PER_HALF_SEC << cc->shift), cc->mult);
212 clock_edge += div_u64(((u64)rem << cc->shift), cc->mult);
242 struct cyclecounter *cc = &adapter->hw_cc; local
278 freqout = div_u64(NS_PER_HALF_SEC << cc->shift, cc->mult);
295 clock_edge += div_u64(((u64)rem << cc->shift), cc
329 ixgbe_ptp_read_X550(const struct cyclecounter *cc) argument
366 ixgbe_ptp_read_82599(const struct cyclecounter *cc) argument
1200 struct cyclecounter cc; local
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dlink.c512 struct ath_cycle_counters *cc = &common->cc_survey; local
522 if (cc->cycles > 0) {
527 survey->time += cc->cycles / div;
528 survey->time_busy += cc->rx_busy / div;
529 survey->time_rx += cc->rx_frame / div;
530 survey->time_tx += cc->tx_frame / div;
533 if (cc->cycles < div)
536 if (cc->cycles > 0)
537 ret = cc->rx_busy * 100 / cc
[all...]
/linux-master/drivers/char/tpm/
H A Dtpm2-space.c242 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) argument
250 i = tpm2_find_cc(chip, cc);
274 u32 cc; local
281 cc = be32_to_cpu(header->ordinal);
283 i = tpm2_find_cc(chip, cc);
286 cc);
296 return cc;
307 int cc; local
312 cc = tpm_find_and_validate_cc(chip, space, cmd, cmdsiz);
313 if (cc <
377 tpm2_map_response_header(struct tpm_chip *chip, u32 cc, u8 *rsp, size_t len) argument
437 tpm2_map_response_body(struct tpm_chip *chip, u32 cc, u8 *rsp, size_t len) argument
[all...]
/linux-master/mm/
H A Dkhugepaged.c544 struct collapse_control *cc,
560 (!cc->is_khugepaged ||
589 if (cc->is_khugepaged &&
660 if (cc->is_khugepaged &&
672 } else if (unlikely(cc->is_khugepaged && !referenced)) {
831 static bool hpage_collapse_scan_abort(int nid, struct collapse_control *cc) argument
843 if (cc->node_load[nid])
847 if (!cc->node_load[i])
866 static int hpage_collapse_find_target_node(struct collapse_control *cc) argument
872 if (cc
541 __collapse_huge_page_isolate(struct vm_area_struct *vma, unsigned long address, pte_t *pte, struct collapse_control *cc, struct list_head *compound_pagelist) argument
885 hpage_collapse_find_target_node(struct collapse_control *cc) argument
897 hugepage_vma_revalidate(struct mm_struct *mm, unsigned long address, bool expect_anon, struct vm_area_struct **vmap, struct collapse_control *cc) argument
1045 alloc_charge_folio(struct folio **foliop, struct mm_struct *mm, struct collapse_control *cc) argument
1073 collapse_huge_page(struct mm_struct *mm, unsigned long address, int referenced, int unmapped, struct collapse_control *cc) argument
1235 hpage_collapse_scan_pmd(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long address, bool *mmap_locked, struct collapse_control *cc) argument
1785 collapse_file(struct mm_struct *mm, unsigned long addr, struct file *file, pgoff_t start, struct collapse_control *cc) argument
2209 hpage_collapse_scan_file(struct mm_struct *mm, unsigned long addr, struct file *file, pgoff_t start, struct collapse_control *cc) argument
2307 hpage_collapse_scan_file(struct mm_struct *mm, unsigned long addr, struct file *file, pgoff_t start, struct collapse_control *cc) argument
2478 khugepaged_do_scan(struct collapse_control *cc) argument
2692 struct collapse_control *cc; local
[all...]
/linux-master/drivers/s390/cio/
H A Dqdio_main.c37 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...]
/linux-master/drivers/misc/cxl/
H A DMakefile2 ccflags-y := $(call cc-disable-warning, unused-const-variable)
/linux-master/drivers/infiniband/hw/efa/
H A Defa_com.h29 u16 cc; /* consumer counter */ member in struct:efa_com_admin_cq
40 u16 cc; /* consumer counter */ member in struct:efa_com_admin_sq
91 u32 cc; /* consumer counter */ member in struct:efa_com_aenq
122 u32 cc; /* Consumer counter */ member in struct:efa_com_eq
/linux-master/tools/testing/selftests/arm64/mte/
H A DMakefile13 ifeq ($(CC),cc)
/linux-master/tools/power/cpupower/
H A DMakefile114 cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -x c /dev/null > /dev/null 2>&1; then echo "$(1)"; fi;}
117 OPTIMIZATION := $(call cc-supports,-Os,-O2)
120 WARNINGS += $(call cc-supports,-Wno-pointer-sign)
121 WARNINGS += $(call cc-supports,-Wdeclaration-after-statement)
/linux-master/arch/s390/include/asm/
H A Dpci_io.h103 int cc; local
105 cc = zpci_load(&data, src, len);
106 if (cc)
124 return cc;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dptp.h20 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;

Completed in 229 milliseconds

1234567891011>>