| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-interrupt-decodes.c | 60 /* Skipping gmx_rx_int_en.s.reserved_29_63 */ in __cvmx_interrupt_gmxx_rxx_int_en_enable() 61 gmx_rx_int_en.s.hg2cc = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 62 gmx_rx_int_en.s.hg2fld = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 63 gmx_rx_int_en.s.undat = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 64 gmx_rx_int_en.s.uneop = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 65 gmx_rx_int_en.s.unsop = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 66 gmx_rx_int_en.s.bad_term = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 67 gmx_rx_int_en.s.bad_seq = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 68 gmx_rx_int_en.s.rem_fault = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 69 gmx_rx_int_en.s.loc_fault = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() [all …]
|
| /linux/drivers/media/pci/tw5864/ |
| H A D | tw5864-h264.c | 31 static void bs_init(struct bs *s, void *buf, int size) in bs_init() argument 33 s->buf = buf; in bs_init() 34 s->ptr = buf; in bs_init() 35 s->buf_end = s->ptr + size; in bs_init() 36 s->bits_left = 8; in bs_init() 39 static int bs_len(struct bs *s) in bs_len() argument 41 return s->ptr - s->buf; in bs_len() 44 static void bs_write(struct bs *s, int count, u32 bits) in bs_write() argument 46 if (s->ptr >= s->buf_end - 4) in bs_write() 50 bits &= (1 << count) - 1; in bs_write() [all …]
|
| /linux/drivers/watchdog/ |
| H A D | sbc8360.c | 76 * MOV AX,000nH (set multiplier n, from 1-4) 95 * M | 1 2 3 4 97 * 0 | 0.5s 5s 50s 100s 98 * 1 | 1s 10s 100s 200s 99 * 2 | 1.5s 15s 150s 300s 100 * 3 | 2s 20s 200s 400s 101 * 4 | 2.5s 25s 250s 500s 102 * 5 | 3s 30s 300s 600s 103 * 6 | 3.5s 35s 350s 700s 104 * 7 | 4s 40s 400s 800s [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | i8259.c | 46 static void pic_lock(struct kvm_pic *s) in pic_lock() argument 47 __acquires(&s->lock) in pic_lock() 49 spin_lock(&s->lock); in pic_lock() 52 static void pic_unlock(struct kvm_pic *s) in pic_unlock() argument 53 __releases(&s->lock) in pic_unlock() 55 bool wakeup = s->wakeup_needed; in pic_unlock() 59 s->wakeup_needed = false; in pic_unlock() 61 spin_unlock(&s->lock); in pic_unlock() 64 kvm_for_each_vcpu(i, vcpu, s->kvm) { in pic_unlock() 74 static void pic_clear_isr(struct kvm_kpic_state *s, int irq) in pic_clear_isr() argument [all …]
|
| /linux/scripts/ |
| H A D | checkpatch.pl | 29 my $tree = 1; 30 my $chk_signoff = 1; 31 my $chk_fixes_tag = 1; 32 my $chk_patch = 1; 42 my $summary = 1; 61 (my $def_configuration_dirs = $def_configuration_dirs_help) =~ s/\$(\w+)/$ENV{$1}/g; 76 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE 127 --debug KEY=[0|1] turn on/off debugging of KEY, where KEY is one of 139 file. It's you [all...] |
| /linux/tools/arch/x86/intel_sdsi/ |
| H A D | intel_sdsi.c | 48 #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) 49 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1) 53 uint64_t sdsi_content_auth_err:1; 54 uint64_t reserved1:1; 55 uint64_t sdsi_metering_auth_err:1; 61 uint64_t sdsi:1; 63 uint64_t attestation:1; 65 uint64_t metering:1; 70 uint64_t reserved:1; 71 uint64_t license_key_provisioned:1; [all …]
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | run_common.sh | 8 local len=${#1} 10 printf "\n%s\n" "$1" 11 for i in $(seq 1 $len); do printf '='; done 17 local len=${#1} 18 printf "\t%s\n" "$1" 23 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 28 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 33 echo "$*" | sed -E "s/.*Percentage\s=\s+([0-9]+\.[0-9]+).*/\1/" 39 echo -n "$*" | sed -E "s/.*throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*/\1/" 41 echo "$*" | sed -E "s/.*latency\s+([0-9]+\.[0-9]+\sns\/op).*/\1/" [all …]
|
| /linux/fs/hpfs/ |
| H A D | alloc.c | 12 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc() argument 14 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_alloc() 15 if (sbi->sb_n_free != (unsigned)-1) { in hpfs_claim_alloc() 17 hpfs_error(s, "free count underflow, allocating sector %08x", sec); in hpfs_claim_alloc() 18 sbi->sb_n_free = -1; in hpfs_claim_alloc() 25 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free() argument 27 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_free() 28 if (sbi->sb_n_free != (unsigned)-1) { in hpfs_claim_free() 30 hpfs_error(s, "free count overflow, freeing sector %08x", sec); in hpfs_claim_free() 31 sbi->sb_n_free = -1; in hpfs_claim_free() [all …]
|
| H A D | anode.c | 14 secno hpfs_bplus_lookup(struct super_block *s, struct inode *inode, in hpfs_bplus_lookup() argument 18 anode_secno a = -1; in hpfs_bplus_lookup() 23 if (hpfs_sb(s)->sb_chk) if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_bplus_lookup")) return -1; in hpfs_bplus_lookup() 29 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; in hpfs_bplus_lookup() 33 hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a); in hpfs_bplus_lookup() 35 return -1; in hpfs_bplus_lookup() 41 if (hpfs_sb(s)->sb_chk) if (hpfs_chk_sectors(s, a, 1, "data")) { in hpfs_bplus_lookup() 43 return -1; in hpfs_bplus_lookup() 54 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a); in hpfs_bplus_lookup() 56 return -1; in hpfs_bplus_lookup() [all …]
|
| /linux/tools/verification/rv/src/ |
| H A D | in_kernel.c | 28 * __ikm_read_enable - reads monitor's enable status 32 * Returns the current status, or -1 if the monitor does not exist, 41 snprintf(path, MAX_PATH, "rv/monitors/%s/enable", monitor_name); in __ikm_read_enable() 45 return -1; in __ikm_read_enable() 55 * Returns 1 if we found the monitor, -1 on error and 0 if it does not exist. 67 return -1; in __ikm_find_monitor_name() 74 if (strcmp(line, monitor_name) && (!colon || strcmp(colon + 1, monitor_name))) in __ikm_find_monitor_name() 78 out_name[2 * MAX_DA_NAME_LEN - 1] = '\0'; in __ikm_find_monitor_name() 86 config_is_container = 1; in __ikm_find_monitor_name() 384 ikm_print_header(struct trace_seq * s) ikm_print_header() argument 416 ikm_event_handler(struct trace_seq * s,struct tep_record * record,struct tep_event * trace_event,void * context) ikm_event_handler() argument 477 ikm_error_handler(struct trace_seq * s,struct tep_record * record,struct tep_event * trace_event,void * context) ikm_error_handler() argument [all...] |
| /linux/tools/mm/ |
| H A D | slabinfo.c | 69 int skip_zero = 1; 84 int output_lines = -1; 130 "-s|--shrink Shrink slabs\n" in usage() 131 "-S|--Size Sort by size\n" in usage() 138 "-1|--1ref Single reference\n" in usage() 164 fatal("%s, Try using superuser\n", strerror(errno)); in read_obj() 171 if (len > 0 && buffer[len - 1] == '\n') in read_obj() 172 buffer[len - 1] = 0; in read_obj() 207 static void set_obj(struct slabinfo *s, cons in get_obj_and_str() 208 set_obj(struct slabinfo * s,const char * name,int n) set_obj() argument 222 read_slab_obj(struct slabinfo * s,const char * name) read_slab_obj() argument 241 read_debug_slab_obj(struct slabinfo * s,const char * name) read_debug_slab_obj() argument 322 slab_validate(struct slabinfo * s) slab_validate() argument 330 slab_shrink(struct slabinfo * s) slab_shrink() argument 370 slab_size(struct slabinfo * s) slab_size() argument 375 slab_activity(struct slabinfo * s) slab_activity() argument 381 slab_waste(struct slabinfo * s) slab_waste() argument 386 slab_numa(struct slabinfo * s,int mode) slab_numa() argument 431 show_tracking(struct slabinfo * s) show_tracking() argument 453 ops(struct slabinfo * s) ops() argument 473 slab_stats(struct slabinfo * s) slab_stats() argument 557 report(struct slabinfo * s) report() argument 598 slabcache(struct slabinfo * s) slabcache() argument 729 slab_empty(struct slabinfo * s) slab_empty() argument 744 slab_debug(struct slabinfo * s) slab_debug() argument 806 struct slabinfo *s; totals() local 1140 struct slabinfo *s; link_slabs() local 1188 struct slabinfo *s; rename_slabs() local [all...] |
| /linux/drivers/tty/serial/ |
| H A D | max3100.c | 37 #define MAX3100_C (1<<14) 39 #define MAX3100_W (1<<15) 48 #define MAX3100_T (1<<14) 49 #define MAX3100_R (1<<15) 51 #define MAX3100_FEN (1<<13) 52 #define MAX3100_SHDN (1<<12) 53 #define MAX3100_TM (1<<11) 54 #define MAX3100_RM (1<<10) 55 #define MAX3100_PM (1<<9) 56 #define MAX3100_RAM (1<<8) [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | chacha-p10le-8x.S | 11 # 1. a += b; d ^= a; d <<<= 16; 77 std 0, 16(1) 78 stdu 1,-752(1) 80 SAVE_GPR 14, 112, 1 81 SAVE_GPR 15, 120, 1 82 SAVE_GPR 16, 128, 1 83 SAVE_GPR 17, 136, 1 84 SAVE_GPR 18, 144, 1 85 SAVE_GPR 19, 152, 1 86 SAVE_GPR 20, 160, 1 [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | udpgro.sh | 14 ret=$1 22 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null 37 ip -netns "${PEER_NS}" addr add dev veth1 2001:db8::1/64 nodad 66 printf " %-40s" "$1" 84 addr1=2001:db8::1 142 printf " %-40s" "$1" 149 printf " %-40s" "$1" 156 local -r ipv6_args="${core_args} -6 -D 2001:db8::1" 160 run_test "no GRO" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400" 163 # explicitly check we are not receiving UDP_SEGMENT cmsg (-S -1) [all …]
|
| /linux/tools/perf/pmu-events/arch/powerpc/power8/ |
| H A D | cache.json | 5 …"BriefDescription": "The processor's data cache was reloaded with Modified (M) data from another c… 6 …s data cache was reloaded with Modified (M) data from another chip's L2 or L3 on a different Node … 11 …"BriefDescription": "The processor's data cache was reloaded with Shared (S) data from another chi… 12 …s data cache was reloaded with Shared (S) data from another chip's L2 or L3 on a different Node or… 17 …"BriefDescription": "The processor's data cache was reloaded from another chip's L4 on a different… 18 …s data cache was reloaded from another chip's L4 on a different Node or Group (Distant) due to eit… 23 …"BriefDescription": "The processor's data cache was reloaded from local core's L2 due to a demand … 24 …e processor's data cache was reloaded from local core's L2 due to either only demand loads or dema… 35 …"BriefDescription": "The processor's data cache was reloaded from a location other than the local … 36 …s data cache was reloaded from a location other than the local core's L2 due to either only demand… [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | comedi_parport.c | 27 * 1: IRQ (optional) 33 * 1 2 0 DO strobe 35 * 3 0 1 DIO data 1 42 * 10 1 3 DI ack 43 * 11 1 4 DI busy 44 * 12 1 2 DI paper out 45 * 13 1 1 DI select in 46 * 14 2 1 DO auto LF 47 * 15 1 0 DI error 72 struct comedi_subdevice *s, in parport_data_reg_insn_bits() argument [all …]
|
| H A D | pcl812.c | 44 * [1] - IRQ (0=disable, 2, 3, 4, 5, 6, 7; 10, 11, 12, 14, 15) 45 * [2] - DMA (0=disable, 1, 3) 47 * 1=trigger source is external 49 * 1=A/D input range is +/-5V 55 * 1=D/A outputs 0-10V (internal reference -10V) 60 * [1] - IRQ (0=disable, 2, 3, 4, 5, 6, 7; 10, 11, 12, 14, 15) 61 * [2] - DMA (0=disable, 1, 3) 63 * 1=trigger source is external 65 * 1=A/D have max +/-10V input 67 * 1=D/A outputs 0-10V (internal reference -10V) [all …]
|
| H A D | pcl730.c | 46 * BASE+1 Isolated outputs 8-15 (write) / inputs 8-15 (read) 50 * The pcm3730 board does not have register BASE+1. 52 * The pcl725 and p8r8dio only have registers BASE+0 and BASE+1: 55 * BASE+1 Isolated inputs 0-7 (read) 60 * BASE+1 Isolated outputs 8-15 (write) (read back) 67 * BASE+1 Isolated outputs 8-15 (write) or inputs 8-15 (read) 74 * BASE+1 Isolated outputs 8-15 (write) (read back) 90 * BASE+1 Isolated outputs 8-15 (write) 95 * BASE+1 Isolated outputs 8-15 (write) (read back) 107 unsigned is_pcl725:1; [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | pcmcia_resource.c | 37 int pcmcia_validate_mem(struct pcmcia_socket *s) in pcmcia_validate_mem() argument 39 if (s->resource_ops->validate_mem) in pcmcia_validate_mem() 40 return s->resource_ops->validate_mem(s); in pcmcia_validate_mem() 46 int low, struct pcmcia_socket *s) in pcmcia_find_mem_region() argument 48 if (s->resource_ops->find_mem) in pcmcia_find_mem_region() 49 return s->resource_ops->find_mem(base, num, align, low, s); in pcmcia_find_mem_region() 56 * @s: pcmcia socket 60 static void release_io_space(struct pcmcia_socket *s, struct resource *res) in release_io_space() argument 65 dev_dbg(&s->dev, "release_io_space for %pR\n", res); in release_io_space() 68 if (!s->io[i].res) in release_io_space() [all …]
|
| H A D | sa1111_generic.c | 33 #define PCSR_S0_READY (1<<0) 34 #define PCSR_S1_READY (1<<1) 35 #define PCSR_S0_DETECT (1<<2) 36 #define PCSR_S1_DETECT (1<<3) 37 #define PCSR_S0_VS1 (1<<4) 38 #define PCSR_S0_VS2 (1<<5) 39 #define PCSR_S1_VS1 (1<<6) 40 #define PCSR_S1_VS2 (1<<7) 41 #define PCSR_S0_WP (1<<8) 42 #define PCSR_S1_WP (1<<9) [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | lwt_ip_encap.c | 26 #define IP6_ADDR_1 "fb01::1" 27 #define IP6_ADDR_2 "fb02::1" 28 #define IP6_ADDR_3 "fb03::1" 29 #define IP6_ADDR_4 "fb04::1" 30 #define IP6_ADDR_5 "fb05::1" 31 #define IP6_ADDR_6 "fb06::1" 32 #define IP6_ADDR_7 "fb07::1" 33 #define IP6_ADDR_8 "fb08::1" 34 #define IP6_ADDR_GRE "fb10::1" 37 #define IP6_ADDR_VXLAN "fb11::1" [all …]
|
| /linux/tools/perf/trace/beauty/ |
| H A D | mmap_flags.sh | 5 [ $# -eq 1 ] && hostarch=$1 || hostarch=`uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/` 10 linux_header_dir=$1 25 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 26 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 30 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 31 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 36 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 37 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 41 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 42 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n")
|
| /linux/tools/bpf/bpftool/ |
| H A D | gen.c | 51 if (str[n1 - i - 1] != suffix[n2 - i - 1]) in str_has_suffix() 77 strncpy(file_copy, file, PATH_MAX - 1)[PATH_MAX - 1] = '\0'; in get_obj_name() 78 strncpy(name, basename(file_copy), MAX_OBJ_NAME_LEN - 1)[MAX_OBJ_NAME_LEN - 1] = '\0'; in get_obj_name() 100 snprintf(buf, buf_sz, "%s", name); in get_map_ident() 105 snprintf(buf, buf_sz, "%s", name + 1); in get_map_ident() 115 snprintf(buf, buf_sz, "%s", p + 1); in get_map_ident() 130 if (strcmp(sec_name, ".addr_space.1") == 0) { in get_datasec_ident() 139 snprintf(buf, buf_sz, "%s", sec_name + 1); in get_datasec_ident() 171 printf(" struct %s__%s {\n", obj_name, sec_ident); in codegen_datasec_def() 188 p_err("Something is wrong for %s's variable #%d: need offset %d, already at %d.\n", in codegen_datasec_def() [all …]
|
| /linux/arch/mips/pci/ |
| H A D | pci-octeon.c | 27 * Octeon's PCI controller uses did=3, subdid=2 for PCI IO 28 * addresses. Use PCI endian swapping 1 so no address swapping is 32 #define OCTEON_PCI_IOSPACE_SIZE (1ull<<32) 47 uint64_t io:1; 57 } s; member 173 * line for the device at that position. Device 1 maps to the 188 * Device Number 1 is connected to IRQX on the system in octeon_get_pci_interrupts() 192 * agent's INTx# lines are connected to the system board in octeon_get_pci_interrupts() 195 * device's INTx# line(s) is connected. in octeon_get_pci_interrupts() 198 * IRQX = 1, IRQY = 2, and IRQZ = 3) D = Device Number I = in octeon_get_pci_interrupts() [all …]
|
| /linux/drivers/media/test-drivers/visl/ |
| H A D | visl-trace-h264.h | 12 TP_PROTO(const struct v4l2_ctrl_h264_sps *s), 13 TP_ARGS(s), 14 TP_STRUCT__entry(__field_struct(struct v4l2_ctrl_h264_sps, s)), 15 TP_fast_assign(__entry->s = *s), 17 "constraint_set_flags %s\n" 28 "offset_for_ref_frame %s\n" 33 "flags %s", 34 __entry->s.profile_idc, 35 __print_flags(__entry->s.constraint_set_flags, "|", 42 __entry->s.level_idc, [all …]
|