| /kernel/linux/linux-6.6/drivers/net/ethernet/micrel/ |
| D | ks8851_common.c | 30 * @ks: The chip state 35 static void ks8851_lock(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock() argument 37 ks->lock(ks, flags); in ks8851_lock() 42 * @ks: The chip state 47 static void ks8851_unlock(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock() argument 49 ks->unlock(ks, flags); in ks8851_unlock() 54 * @ks: The chip state 60 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16() argument 63 ks->wrreg16(ks, reg, val); in ks8851_wrreg16() 68 * @ks: The chip information [all …]
|
| D | ks8851_spi.c | 58 #define to_ks8851_spi(ks) container_of((ks), struct ks8851_net_spi, ks8851) argument 75 * @ks: The chip state 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() 89 * @ks: The chip state 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() 110 * @ks: The chip state 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() [all …]
|
| D | ks8851_par.c | 53 #define to_ks8851_par(ks) container_of((ks), struct ks8851_net_par, ks8851) argument 57 * @ks: The chip state 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() 71 * @ks: The chip state 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() 85 * @ks : The chip information 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/micrel/ |
| D | ks8851_common.c | 32 * @ks: The chip state 37 static void ks8851_lock(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock() argument 39 ks->lock(ks, flags); in ks8851_lock() 44 * @ks: The chip state 49 static void ks8851_unlock(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock() argument 51 ks->unlock(ks, flags); in ks8851_unlock() 56 * @ks: The chip state 62 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16() argument 65 ks->wrreg16(ks, reg, val); in ks8851_wrreg16() 70 * @ks: The chip information [all …]
|
| D | ks8851_spi.c | 60 #define to_ks8851_spi(ks) container_of((ks), struct ks8851_net_spi, ks8851) argument 77 * @ks: The chip state 82 static void ks8851_lock_spi(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock_spi() argument 84 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_lock_spi() 91 * @ks: The chip state 96 static void ks8851_unlock_spi(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock_spi() argument 98 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_unlock_spi() 112 * @ks: The chip state 118 static void ks8851_wrreg16_spi(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16_spi() argument 121 struct ks8851_net_spi *kss = to_ks8851_spi(ks); in ks8851_wrreg16_spi() [all …]
|
| D | ks8851_par.c | 55 #define to_ks8851_par(ks) container_of((ks), struct ks8851_net_par, ks8851) argument 59 * @ks: The chip state 64 static void ks8851_lock_par(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock_par() argument 66 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_lock_par() 73 * @ks: The chip state 78 static void ks8851_unlock_par(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock_par() argument 80 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_unlock_par() 87 * @ks : The chip information 93 static int ks_check_endian(struct ks8851_net *ks) in ks_check_endian() argument 95 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks_check_endian() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/phy/ |
| D | spi_ks8995.c | 181 * @ks: pointer to switch instance 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 [all …]
|
| /kernel/linux/linux-6.6/drivers/net/phy/ |
| D | spi_ks8995.c | 175 * @ks: pointer to switch instance 185 static inline __be16 create_spi_cmd(struct ks8995_switch *ks, int cmd, in create_spi_cmd() argument 191 result <<= ks->chip->addr_width + ks->chip->addr_shift; in create_spi_cmd() 193 result |= address << ks->chip->addr_shift; in create_spi_cmd() 198 static int ks8995_read(struct ks8995_switch *ks, char *buf, in ks8995_read() argument 206 cmd = create_spi_cmd(ks, KS8995_CMD_READ, offset); in ks8995_read() 219 mutex_lock(&ks->lock); in ks8995_read() 220 err = spi_sync(ks->spi, &m); in ks8995_read() 221 mutex_unlock(&ks->lock); in ks8995_read() 226 static int ks8995_write(struct ks8995_switch *ks, char *buf, in ks8995_write() argument [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 | 515 static int kgdb_reenter_check(struct kgdb_state *ks) in kgdb_reenter_check() argument 524 addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 535 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 543 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 571 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter() argument 582 kgdb_info[ks->cpu].enter_kgdb++; in kgdb_cpu_enter() 583 kgdb_info[ks->cpu].exception_state |= exception_state; in kgdb_cpu_enter() 601 cpu = ks->cpu; in kgdb_cpu_enter() 686 if (kgdb_skipexception(ks->ex_vector, ks->linux_regs)) in kgdb_cpu_enter() 704 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
|
| /kernel/linux/linux-5.10/kernel/debug/ |
| D | gdbstub.c | 480 static void gdb_cmd_status(struct kgdb_state *ks) in gdb_cmd_status() argument 491 hex_byte_pack(&remcom_out_buffer[1], ks->signo); in gdb_cmd_status() 494 static void gdb_get_regs_helper(struct kgdb_state *ks) in gdb_get_regs_helper() argument 502 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper() 503 local_debuggerinfo = kgdb_info[ks->cpu].debuggerinfo; in gdb_get_regs_helper() 538 static void gdb_cmd_getregs(struct kgdb_state *ks) in gdb_cmd_getregs() argument 540 gdb_get_regs_helper(ks); in gdb_cmd_getregs() 545 static void gdb_cmd_setregs(struct kgdb_state *ks) in gdb_cmd_setregs() argument 552 gdb_regs_to_pt_regs(gdb_regs, ks->linux_regs); in gdb_cmd_setregs() 558 static void gdb_cmd_memread(struct kgdb_state *ks) in gdb_cmd_memread() argument [all …]
|
| D | debug_core.c | 531 static int kgdb_reenter_check(struct kgdb_state *ks) in kgdb_reenter_check() argument 540 addr = kgdb_arch_pc(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 551 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 559 kgdb_skipexception(ks->ex_vector, ks->linux_regs); in kgdb_reenter_check() 587 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter() argument 598 kgdb_info[ks->cpu].enter_kgdb++; in kgdb_cpu_enter() 599 kgdb_info[ks->cpu].exception_state |= exception_state; in kgdb_cpu_enter() 617 cpu = ks->cpu; in kgdb_cpu_enter() 702 if (kgdb_skipexception(ks->ex_vector, ks->linux_regs)) in kgdb_cpu_enter() 720 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
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ethtool.c | 479 * @ks: ethtool link ksettings struct to fill out 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
| D | ionic_ethtool.c | 121 struct ethtool_link_ksettings *ks) in ionic_get_link_ksettings() argument 127 ethtool_link_ksettings_zero_link_mode(ks, supported); in ionic_get_link_ksettings() 142 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 147 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 154 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 160 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 168 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 174 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 178 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 183 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ethtool.c | 485 * @ks: ethtool link ksettings struct to fill out 489 struct ethtool_link_ksettings *ks) in i40e_phy_type_to_ethtool() argument 494 ethtool_link_ksettings_zero_link_mode(ks, supported); in i40e_phy_type_to_ethtool() 495 ethtool_link_ksettings_zero_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() 501 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool() 504 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() 515 ethtool_link_ksettings_add_link_mode(ks, supported, in i40e_phy_type_to_ethtool() 518 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
| D | ionic_ethtool.c | 117 struct ethtool_link_ksettings *ks) in ionic_get_link_ksettings() argument 123 ethtool_link_ksettings_zero_link_mode(ks, supported); in ionic_get_link_ksettings() 138 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 143 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 150 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 156 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 164 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 170 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 174 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_ethtool.c | 1481 ethtool_link_ksettings_add_link_mode(ks, advertising,\ 1488 * @ks: ethtool link ksettings struct to fill out 1492 struct ethtool_link_ksettings *ks) in ice_phy_type_to_ethtool() argument 1552 ethtool_link_ksettings_zero_link_mode(ks, supported); in ice_phy_type_to_ethtool() 1553 ethtool_link_ksettings_zero_link_mode(ks, advertising); in ice_phy_type_to_ethtool() 1558 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() 1576 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() 1585 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() 1593 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_ethtool.c | 1665 * @ks: ethtool link ksettings struct to fill out 1672 struct ethtool_link_ksettings *ks, u32 req_speeds, in ice_linkmode_set_bit() argument 1675 linkmode_set_bit(phy_to_ethtool->link_mode, ks->link_modes.supported); in ice_linkmode_set_bit() 1680 ks->link_modes.advertising); in ice_linkmode_set_bit() 1686 * @ks: ethtool link ksettings struct to fill out 1690 struct ethtool_link_ksettings *ks) in ice_phy_type_to_ethtool() argument 1757 linkmode_zero(ks->link_modes.supported); in ice_phy_type_to_ethtool() 1758 linkmode_zero(ks->link_modes.advertising); in ice_phy_type_to_ethtool() 1762 ice_linkmode_set_bit(&phy_type_low_lkup[i], ks, in ice_phy_type_to_ethtool() 1769 ice_linkmode_set_bit(&phy_type_high_lkup[i], ks, in ice_phy_type_to_ethtool() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | get_stack_raw_tp.c | 32 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()
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/ |
| D | funeth_ethtool.c | 177 static void set_asym_pause(u64 advertising, struct ethtool_link_ksettings *ks) in set_asym_pause() argument 184 ethtool_link_ksettings_add_link_mode(ks, advertising, in set_asym_pause() 204 struct ethtool_link_ksettings *ks) in fun_get_link_ksettings() argument 211 ethtool_link_ksettings_zero_link_mode(ks, supported); in fun_get_link_ksettings() 212 ethtool_link_ksettings_zero_link_mode(ks, advertising); in fun_get_link_ksettings() 213 ethtool_link_ksettings_zero_link_mode(ks, lp_advertising); in fun_get_link_ksettings() 225 ks->base.speed = speed; in fun_get_link_ksettings() 226 ks->base.duplex = DUPLEX_FULL; in fun_get_link_ksettings() 228 ks->link_modes.lp_advertising); in fun_get_link_ksettings() 230 ks->base.speed = SPEED_UNKNOWN; in fun_get_link_ksettings() [all …]
|