/Linux-v5.15/drivers/net/ethernet/micrel/ |
D | ks8851_common.c | 36 static void ks8851_lock(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock() argument 38 ks->lock(ks, flags); in ks8851_lock() 48 static void ks8851_unlock(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock() argument 50 ks->unlock(ks, flags); in ks8851_unlock() 61 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16() argument 64 ks->wrreg16(ks, reg, val); in ks8851_wrreg16() 74 static unsigned int ks8851_rdreg16(struct ks8851_net *ks, in ks8851_rdreg16() argument 77 return ks->rdreg16(ks, reg); in ks8851_rdreg16() 93 static void ks8851_soft_reset(struct ks8851_net *ks, unsigned op) in ks8851_soft_reset() argument 95 ks8851_wrreg16(ks, KS_GRR, op); in ks8851_soft_reset() [all …]
|
D | ks8851_spi.c | 58 #define to_ks8851_spi(ks) container_of((ks), struct ks8851_net_spi, ks8851) argument 80 static void ks8851_lock_spi(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock_spi() argument 82 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_lock_spi() 94 static void ks8851_unlock_spi(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock_spi() argument 96 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_unlock_spi() 116 static void ks8851_wrreg16_spi(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16_spi() argument 119 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_wrreg16_spi() 134 netdev_err(ks->netdev, "spi_sync() failed\n"); in ks8851_wrreg16_spi() 147 static void ks8851_rdreg(struct ks8851_net *ks, unsigned int op, in ks8851_rdreg() argument 150 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_rdreg() [all …]
|
D | ks8851_par.c | 53 #define to_ks8851_par(ks) container_of((ks), struct ks8851_net_par, ks8851) argument 62 static void ks8851_lock_par(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock_par() argument 64 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_lock_par() 76 static void ks8851_unlock_par(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock_par() argument 78 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_unlock_par() 91 static int ks_check_endian(struct ks8851_net *ks) in ks_check_endian() argument 93 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks_check_endian() 122 netdev_err(ks->netdev, "incorrect EESK endian strap setting\n"); in ks_check_endian() 135 static void ks8851_wrreg16_par(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16_par() argument 138 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_wrreg16_par() [all …]
|
D | ks8851.h | 409 void (*lock)(struct ks8851_net *ks, 411 void (*unlock)(struct ks8851_net *ks, 413 unsigned int (*rdreg16)(struct ks8851_net *ks, 415 void (*wrreg16)(struct ks8851_net *ks, 417 void (*rdfifo)(struct ks8851_net *ks, u8 *buff, 419 void (*wrfifo)(struct ks8851_net *ks, 423 void (*rx_skb)(struct ks8851_net *ks, 425 void (*flush_tx_work)(struct ks8851_net *ks); 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-v5.15/drivers/net/phy/ |
D | spi_ks8995.c | 191 static inline __be16 create_spi_cmd(struct ks8995_switch *ks, int cmd, in create_spi_cmd() argument 197 result <<= ks->chip->addr_width + ks->chip->addr_shift; in create_spi_cmd() 199 result |= address << ks->chip->addr_shift; in create_spi_cmd() 204 static int ks8995_read(struct ks8995_switch *ks, char *buf, in ks8995_read() argument 212 cmd = create_spi_cmd(ks, KS8995_CMD_READ, offset); in ks8995_read() 225 mutex_lock(&ks->lock); in ks8995_read() 226 err = spi_sync(ks->spi, &m); in ks8995_read() 227 mutex_unlock(&ks->lock); in ks8995_read() 232 static int ks8995_write(struct ks8995_switch *ks, char *buf, in ks8995_write() argument 240 cmd = create_spi_cmd(ks, KS8995_CMD_WRITE, offset); in ks8995_write() [all …]
|
/Linux-v5.15/kernel/debug/ |
D | gdbstub.c | 477 static void gdb_cmd_status(struct kgdb_state *ks) in gdb_cmd_status() argument 488 hex_byte_pack(&remcom_out_buffer[1], ks->signo); in gdb_cmd_status() 491 static void gdb_get_regs_helper(struct kgdb_state *ks) in gdb_get_regs_helper() argument 499 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper() 500 local_debuggerinfo = kgdb_info[ks->cpu].debuggerinfo; in gdb_get_regs_helper() 535 static void gdb_cmd_getregs(struct kgdb_state *ks) in gdb_cmd_getregs() argument 537 gdb_get_regs_helper(ks); in gdb_cmd_getregs() 542 static void gdb_cmd_setregs(struct kgdb_state *ks) in gdb_cmd_setregs() argument 549 gdb_regs_to_pt_regs(gdb_regs, ks->linux_regs); in gdb_cmd_setregs() 555 static void gdb_cmd_memread(struct kgdb_state *ks) in gdb_cmd_memread() argument [all …]
|
D | debug_core.c | 526 static int kgdb_reenter_check(struct kgdb_state *ks) in kgdb_reenter_check() argument 535 addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 546 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 554 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 582 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter() argument 593 kgdb_info[ks->cpu].enter_kgdb++; in kgdb_cpu_enter() 594 kgdb_info[ks->cpu].exception_state |= exception_state; in kgdb_cpu_enter() 612 cpu = ks->cpu; in kgdb_cpu_enter() 697 if (kgdb_skipexception(ks->ex_vector, ks->linux_regs)) in kgdb_cpu_enter() 715 if (ks->send_ready) in kgdb_cpu_enter() [all …]
|
D | debug_core.h | 67 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-v5.15/kernel/debug/kdb/ |
D | kdb_debugger.c | 37 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-v5.15/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 483 struct ethtool_link_ksettings *ks) in i40e_phy_type_to_ethtool() argument 488 ethtool_link_ksettings_zero_link_mode(ks, supported); in i40e_phy_type_to_ethtool() 489 ethtool_link_ksettings_zero_link_mode(ks, advertising); in i40e_phy_type_to_ethtool() 492 ethtool_link_ksettings_add_link_mode(ks, supported, in i40e_phy_type_to_ethtool() 495 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool() 498 ethtool_link_ksettings_add_link_mode(ks, supported, in i40e_phy_type_to_ethtool() 500 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() 512 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool() 516 ethtool_link_ksettings_add_link_mode(ks, supported, in i40e_phy_type_to_ethtool() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 1449 ethtool_link_ksettings_add_link_mode(ks, advertising,\ 1460 struct ethtool_link_ksettings *ks) in ice_phy_type_to_ethtool() argument 1527 ethtool_link_ksettings_zero_link_mode(ks, supported); in ice_phy_type_to_ethtool() 1528 ethtool_link_ksettings_zero_link_mode(ks, advertising); in ice_phy_type_to_ethtool() 1533 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() 1543 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() 1551 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() 1560 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() 1568 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() 1577 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() [all …]
|
/Linux-v5.15/drivers/net/ethernet/pensando/ionic/ |
D | ionic_ethtool.c | 122 struct ethtool_link_ksettings *ks) in ionic_get_link_ksettings() argument 128 ethtool_link_ksettings_zero_link_mode(ks, supported); in ionic_get_link_ksettings() 143 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 148 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 155 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 161 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 169 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 175 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 179 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 184 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | get_stack_raw_tp.c | 30 struct ksym *ks; in get_stack_print_output() local 48 ks = ksym_search(raw_data[i]); in get_stack_print_output() 49 if (ks && (strcmp(ks->name, nonjit_func) == 0)) { in get_stack_print_output() 65 ks = ksym_search(e->kern_stack[i]); in get_stack_print_output() 66 if (ks && (strcmp(ks->name, nonjit_func) == 0)) { in get_stack_print_output()
|
/Linux-v5.15/drivers/media/i2c/ |
D | ks0127.c | 332 struct ks0127 *ks = to_ks0127(sd); in ks0127_write() local 338 ks->regs[reg] = val; in ks0127_write() 345 struct ks0127 *ks = to_ks0127(sd); in ks0127_and_or() local 347 u8 val = ks->regs[reg]; in ks0127_and_or() 404 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_routing() local 480 if (ks->norm & V4L2_STD_525_60) in ks0127_s_routing() 536 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_std() local 541 ks->norm = std; in ks0127_s_std() 655 struct ks0127 *ks; in ks0127_probe() local 662 ks = devm_kzalloc(&client->dev, sizeof(*ks), GFP_KERNEL); in ks0127_probe() [all …]
|
/Linux-v5.15/crypto/ |
D | seed.c | 312 t0 = X3 ^ ks[rbase]; \ 313 t1 = X4 ^ ks[rbase+1]; \ 370 const u32 *ks = ctx->keysched; in seed_encrypt() local 408 const u32 *ks = ctx->keysched; in seed_decrypt() local
|
D | xcbc.c | 15 static u_int32_t ks[12] = {0x01010101, 0x01010101, 0x01010101, 0x01010101, variable 64 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 65 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 66 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); in crypto_xcbc_digest_setkey()
|
/Linux-v5.15/mm/ |
D | slab_common.c | 1192 size_t ks; in __do_krealloc() local 1198 ks = kfence_ksize(p) ?: __ksize(p); in __do_krealloc() 1200 ks = 0; in __do_krealloc() 1203 if (ks >= new_size) { in __do_krealloc() 1212 memcpy(ret, kasan_reset_tag(p), ks); in __do_krealloc() 1262 size_t ks; in kfree_sensitive() local 1265 ks = ksize(mem); in kfree_sensitive() 1266 if (ks) in kfree_sensitive() 1267 memzero_explicit(mem, ks); in kfree_sensitive()
|
/Linux-v5.15/tools/perf/util/ |
D | call-path.c | 79 struct symbol *sym, u64 ip, u64 ks) in call_path__findnew() argument 84 bool in_kernel = ip >= ks; in call_path__findnew()
|
D | thread-stack.c | 913 u64 ks = ts->kernel_start; in thread_stack__no_call_return() local 919 if (ip >= ks && addr < ks) { in thread_stack__no_call_return() 927 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return() 931 } else if (thread_stack__in_kernel(ts) && ip < ks) { in thread_stack__no_call_return() 957 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return() 967 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return() 981 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return() 987 cp = call_path__findnew(cpr, cp, fsym, ip, ks); in thread_stack__no_call_return()
|
D | call-path.h | 66 struct symbol *sym, u64 ip, u64 ks);
|
/Linux-v5.15/arch/microblaze/include/asm/ |
D | mmu.h | 44 unsigned long ks:1; /* Supervisor 'key' (normally 0) */ member
|
/Linux-v5.15/drivers/char/hw_random/ |
D | Makefile | 43 obj-$(CONFIG_HW_RANDOM_KEYSTONE) += ks-sa-rng.o
|
/Linux-v5.15/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 869 struct fixed31_32 ks; in hermite_spline_eetf() local 894 ks = dc_fixpt_sub(dc_fixpt_mul(a, max_lum_pq), b); // a * max_lum_pq - b in hermite_spline_eetf() 896 if (dc_fixpt_lt(E1, ks)) in hermite_spline_eetf() 898 else if (dc_fixpt_le(ks, E1) && dc_fixpt_le(E1, dc_fixpt_one)) { in hermite_spline_eetf() 899 if (dc_fixpt_lt(epsilon, dc_fixpt_sub(dc_fixpt_one, ks))) in hermite_spline_eetf() 901 t = dc_fixpt_div(dc_fixpt_sub(E1, ks), in hermite_spline_eetf() 902 dc_fixpt_sub(dc_fixpt_one, ks)); in hermite_spline_eetf() 915 E2 = dc_fixpt_mul(ks, dc_fixpt_add(dc_fixpt_one, in hermite_spline_eetf() 923 temp2 = dc_fixpt_sub(dc_fixpt_one, ks); in hermite_spline_eetf()
|
/Linux-v5.15/sound/virtio/ |
D | virtio_pcm.c | 465 struct snd_pcm_str *ks = &vpcm->pcm->streams[i]; in virtsnd_pcm_build_devs() local 471 for (kss = ks->substream; kss; kss = kss->next) in virtsnd_pcm_build_devs()
|
/Linux-v5.15/drivers/s390/cio/ |
D | chsc.h | 96 u32 ks:4; member
|