Home
last modified time | relevance | path

Searched full:ks (Results 1 – 25 of 61) sorted by relevance

123

/linux/drivers/net/ethernet/micrel/
H A Dks8851_spi.c56 #define to_ks8851_spi(ks) container_of((ks), struct ks8851_net_spi, ks8851) argument
73 * @ks: The chip state
78 static void ks8851_lock_spi(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock_spi() argument
80 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_lock_spi()
87 * @ks: The chip state
92 static void ks8851_unlock_spi(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock_spi() argument
94 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_unlock_spi()
108 * @ks: The chip state
114 static void ks8851_wrreg16_spi(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16_spi() argument
117 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_wrreg16_spi()
[all …]
H A Dks8851.h411 void (*lock)(struct ks8851_net *ks,
413 void (*unlock)(struct ks8851_net *ks,
415 unsigned int (*rdreg16)(struct ks8851_net *ks,
417 void (*wrreg16)(struct ks8851_net *ks,
419 void (*rdfifo)(struct ks8851_net *ks, u8 *buff,
421 void (*wrfifo)(struct ks8851_net *ks,
425 void (*flush_tx_work)(struct ks8851_net *ks);
439 * @ks: The device state
442 static void __maybe_unused ks8851_done_tx(struct ks8851_net *ks, in ks8851_done_tx() argument
445 struct net_device *dev = ks->netdev; in ks8851_done_tx()
/linux/kernel/debug/kdb/
H A Dkdb_debugger.c37 int kdb_common_init_state(struct kgdb_state *ks) in kdb_common_init_state() argument
40 kdb_current_task = kgdb_info[ks->cpu].task; in kdb_common_init_state()
41 kdb_current_regs = kgdb_info[ks->cpu].debuggerinfo; in kdb_common_init_state()
53 int kdb_stub(struct kgdb_state *ks) in kdb_stub() argument
57 unsigned long addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); in kdb_stub()
62 kdb_ks = ks; in kdb_stub()
66 addr = instruction_pointer(ks->linux_regs); in kdb_stub()
68 ks->pass_exception = 0; in kdb_stub()
72 if (ks->err_code == KDB_REASON_SYSTEM_NMI && ks->signo == SIGTRAP) in kdb_stub()
82 if (addr != instruction_pointer(ks->linux_regs)) in kdb_stub()
[all …]
/linux/drivers/net/ovpn/
H A Dio.c103 struct ovpn_crypto_key_slot *ks; in ovpn_decrypt_post() local
118 ks = ovpn_skb_cb(skb)->ks; in ovpn_decrypt_post()
131 ret = ovpn_pktid_recv(&ks->pid_recv, ntohl(*pid), 0); in ovpn_decrypt_post()
204 if (likely(ks)) in ovpn_decrypt_post()
205 ovpn_crypto_key_slot_put(ks); in ovpn_decrypt_post()
211 struct ovpn_crypto_key_slot *ks; in ovpn_recv() local
218 ks = ovpn_crypto_key_id_to_slot(&peer->crypto, key_id); in ovpn_recv()
219 if (unlikely(!ks)) { in ovpn_recv()
230 ovpn_decrypt_post(skb, ovpn_aead_decrypt(peer, ks, skb)); in ovpn_recv()
235 struct ovpn_crypto_key_slot *ks; in ovpn_encrypt_post() local
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c490 * @ks: ethtool link ksettings struct to fill out
494 struct ethtool_link_ksettings *ks) in i40e_phy_type_to_ethtool() argument
499 ethtool_link_ksettings_zero_link_mode(ks, supported); in i40e_phy_type_to_ethtool()
500 ethtool_link_ksettings_zero_link_mode(ks, advertising); in i40e_phy_type_to_ethtool()
503 ethtool_link_ksettings_add_link_mode(ks, supported, in i40e_phy_type_to_ethtool()
506 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool()
509 ethtool_link_ksettings_add_link_mode(ks, supported, in i40e_phy_type_to_ethtool()
511 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool()
520 ethtool_link_ksettings_add_link_mode(ks, supported, in i40e_phy_type_to_ethtool()
523 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool()
[all …]
/linux/lib/crypto/
H A Daescfb.c44 u8 ks[AES_BLOCK_SIZE]; in aescfb_encrypt() local
48 aescfb_encrypt_block(ctx, ks, v); in aescfb_encrypt()
49 crypto_xor_cpy(dst, src, ks, min(len, AES_BLOCK_SIZE)); in aescfb_encrypt()
57 memzero_explicit(ks, sizeof(ks)); in aescfb_encrypt()
73 u8 ks[2][AES_BLOCK_SIZE]; in aescfb_decrypt() local
75 aescfb_encrypt_block(ctx, ks[0], iv); in aescfb_decrypt()
84 aescfb_encrypt_block(ctx, ks[!i], src); in aescfb_decrypt()
86 crypto_xor_cpy(dst, src, ks[i], min(len, AES_BLOCK_SIZE)); in aescfb_decrypt()
93 memzero_explicit(ks, sizeof(ks)); in aescfb_decrypt()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dget_stack_raw_tp.c32 struct ksym *ks; in get_stack_print_output() local
51 ks = ksym_search(raw_data[i]); in get_stack_print_output()
52 if (ks && (strcmp(ks->name, nonjit_func) == 0)) { in get_stack_print_output()
68 ks = ksym_search(e.kern_stack[i]); in get_stack_print_output()
69 if (ks && (strcmp(ks->name, nonjit_func) == 0)) { in get_stack_print_output()
H A Dspin_lock.c20 "; R1=map_value(map=.data.A,ks=4,vs=4)\n2: (85) call bpf_this_cpu_ptr#154\n"
24 " R0=map_value(id=1,map=array_map,ks=4,vs=8)"
25 " R1=map_value(id=1,map=array_map,ks=4,vs=8)\n"
30 " R0=map_value(id=2,ks=4,vs=8)"
31 " R1=map_value(id=2,ks=4,vs=8)\n"
H A Dkprobe_multi_test.c500 struct ksym *ks; get_syms() local
/linux/kernel/debug/
H A Ddebug_core.h67 extern int gdb_serial_stub(struct kgdb_state *ks);
71 extern int gdbstub_state(struct kgdb_state *ks, char *cmd);
75 extern int kdb_stub(struct kgdb_state *ks);
77 extern int kdb_common_init_state(struct kgdb_state *ks);
81 static inline int kdb_stub(struct kgdb_state *ks) in kdb_stub() argument
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c2073 * @ks: ethtool link ksettings struct to fill out
2080 struct ethtool_link_ksettings *ks, u32 req_speeds, in ice_linkmode_set_bit() argument
2083 linkmode_set_bit(phy_to_ethtool->link_mode, ks->link_modes.supported); in ice_linkmode_set_bit()
2088 ks->link_modes.advertising); in ice_linkmode_set_bit()
2094 * @ks: ethtool link ksettings struct to fill out
2098 struct ethtool_link_ksettings *ks) in ice_phy_type_to_ethtool() argument
2165 linkmode_zero(ks->link_modes.supported); in ice_phy_type_to_ethtool()
2166 linkmode_zero(ks->link_modes.advertising); in ice_phy_type_to_ethtool()
2170 ice_linkmode_set_bit(&phy_type_low_lkup[i], ks, in ice_phy_type_to_ethtool()
2177 ice_linkmode_set_bit(&phy_type_high_lkup[i], ks, in ice_phy_type_to_ethtool()
[all …]
/linux/fs/btrfs/
H A Dlocking.c84 struct btrfs_lockdep_keyset *ks; in btrfs_set_buffer_lockdep_class() local
86 ASSERT(level < ARRAY_SIZE(ks->keys)); in btrfs_set_buffer_lockdep_class()
89 for (ks = btrfs_lockdep_keysets; ks->id; ks++) in btrfs_set_buffer_lockdep_class()
90 if (ks->id == objectid) in btrfs_set_buffer_lockdep_class()
93 lockdep_set_class_and_name(&eb->lock, &ks->keys[level], ks->names[level]); in btrfs_set_buffer_lockdep_class()
/linux/drivers/media/i2c/
H A Dks0127.c324 struct ks0127 *ks = to_ks0127(sd); in ks0127_write() local
330 ks->regs[reg] = val; in ks0127_write()
337 struct ks0127 *ks = to_ks0127(sd); in ks0127_and_or() local
339 u8 val = ks->regs[reg]; in ks0127_and_or()
396 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_routing() local
472 if (ks->norm & V4L2_STD_525_60) in ks0127_s_routing()
528 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_std() local
533 ks->norm = std; in ks0127_s_std()
647 struct ks0127 *ks; in ks0127_probe() local
654 ks = devm_kzalloc(&client->dev, sizeof(*ks), GFP_KERNEL); in ks0127_probe()
[all …]
/linux/sound/soc/codecs/
H A Dtlv320aic23-spi.c5 * Author: Arun KS, <arunks@mistralsolutions.com>
44 MODULE_AUTHOR("Arun KS <arunks@mistralsolutions.com>");
H A Dtlv320aic23-i2c.c5 * Author: Arun KS, <arunks@mistralsolutions.com>
57 MODULE_AUTHOR("Arun KS <arunks@mistralsolutions.com>");
H A Dtlv320aic3x-spi.c5 * Author: Arun KS, <arunks@mistralsolutions.com>
76 MODULE_AUTHOR("Arun KS <arunks@mistralsolutions.com>");
/linux/arch/powerpc/include/asm/nohash/32/
H A Dmmu-8xx.h23 /* These are the Ks and Kp from the PowerPC books. For proper operation,
24 * Ks = 0, Kp = 1.
99 /* These are the Ks and Kp from the PowerPC books. For proper operation,
100 * Ks = 0, Kp = 1.
/linux/drivers/media/rc/keymaps/
H A Drc-avermedia-rm-ks.c3 * AverMedia RM-KS remote controller keytable
68 MODULE_DESCRIPTION("AverMedia RM-KS remote controller keytable");
/linux/tools/perf/util/
H A Dcall-path.c79 struct symbol *sym, u64 ip, u64 ks) in call_path__findnew() argument
84 bool in_kernel = ip >= ks; in call_path__findnew()
H A Dthread-stack.c914 u64 ks = ts->kernel_start; in thread_stack__no_call_return() local
920 if (ip >= ks && addr < ks) { in thread_stack__no_call_return()
928 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
932 } else if (thread_stack__in_kernel(ts) && ip < ks) { in thread_stack__no_call_return()
958 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
968 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return()
982 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return()
988 cp = call_path__findnew(cpr, cp, fsym, ip, ks); in thread_stack__no_call_return()
/linux/kernel/module/
H A Dkallsyms.c27 const struct kernel_symbol *ks; in is_exported() local
30 ks = lookup_exported_symbol(name, __start___ksymtab, __stop___ksymtab); in is_exported()
32 ks = lookup_exported_symbol(name, mod->syms, mod->syms + mod->num_syms); in is_exported()
34 return ks && kernel_symbol_value(ks) == value; in is_exported()
/linux/arch/microblaze/include/asm/
H A Dmmu.h35 /* Values for PP (assumes Ks=0, Kp=1) */
44 unsigned long ks:1; /* Supervisor 'key' (normally 0) */ member
/linux/tools/testing/selftests/bpf/
H A Dtrace_helpers.c169 struct ksym *ks; in search_kallsyms_custom_local()
174 ks = &ksyms->syms[mid]; in search_kallsyms_custom_local()
175 result = cmp_cb(p, ks); in search_kallsyms_custom_local()
181 return ks; in search_kallsyms_custom_local()
619 struct ksym *ks;
659 ks = search_kallsyms_custom_local(ksyms, name, search_kallsyms_compare);
660 if (!ks) {
665 ksym_name = ks->name;
167 struct ksym *ks; search_kallsyms_custom_local() local
/linux/drivers/phy/samsung/
H A Dphy-exynos5250-sata.c6 * Authors: Girish K S <ks.giri@samsung.com>
253 MODULE_AUTHOR("Girish K S <ks.giri@samsung.com>");
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dmaxim,max1027.yaml14 300ks/s SPI ADCs with temperature sensors.

123