Home
last modified time | relevance | path

Searched refs:ks (Results 1 - 25 of 70) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/net/ethernet/micrel/
H A Dks8851_common.c30 * @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, unsigne argument
73 ks8851_rdreg16(struct ks8851_net *ks, unsigned int reg) ks8851_rdreg16() argument
92 ks8851_soft_reset(struct ks8851_net *ks, unsigned op) ks8851_soft_reset() argument
107 ks8851_set_powermode(struct ks8851_net *ks, unsigned pwrmode) ks8851_set_powermode() argument
131 struct ks8851_net *ks = netdev_priv(dev); ks8851_write_mac_addr() local
165 struct ks8851_net *ks = netdev_priv(dev); ks8851_read_mac_addr() local
194 ks8851_init_mac(struct ks8851_net *ks, struct device_node *np) ks8851_init_mac() argument
225 ks8851_dbg_dumpkkt(struct ks8851_net *ks, u8 *rxpkt) ks8851_dbg_dumpkkt() argument
239 ks8851_rx_skb(struct ks8851_net *ks, struct sk_buff *skb) ks8851_rx_skb() argument
252 ks8851_rx_pkts(struct ks8851_net *ks) ks8851_rx_pkts() argument
338 struct ks8851_net *ks = _ks; ks8851_irq() local
426 ks8851_flush_tx_work(struct ks8851_net *ks) ks8851_flush_tx_work() argument
441 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_open() local
522 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_stop() local
581 struct ks8851_net *ks = netdev_priv(dev); ks8851_start_xmit() local
601 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); ks8851_rxctrl_work() local
614 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_rx_mode() local
682 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_ioctl() local
712 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_msglevel() local
718 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_msglevel() local
725 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_link_ksettings() local
735 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_link_ksettings() local
741 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_link() local
747 struct ks8851_net *ks = netdev_priv(dev); ks8851_nway_reset() local
755 struct ks8851_net *ks = ee->data; ks8851_eeprom_regread() local
767 struct ks8851_net *ks = ee->data; ks8851_eeprom_regwrite() local
789 ks8851_eeprom_claim(struct ks8851_net *ks) ks8851_eeprom_claim() argument
802 ks8851_eeprom_release(struct ks8851_net *ks) ks8851_eeprom_release() argument
814 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_eeprom() local
861 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_eeprom() local
888 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_eeprom_len() local
939 struct ks8851_net *ks = netdev_priv(dev); ks8851_phy_read_common() local
984 struct ks8851_net *ks = netdev_priv(dev); ks8851_phy_write() local
998 struct ks8851_net *ks = bus->priv; ks8851_mdio_read() local
1014 struct ks8851_net *ks = bus->priv; ks8851_mdio_write() local
1026 ks8851_read_selftest(struct ks8851_net *ks) ks8851_read_selftest() argument
1051 struct ks8851_net *ks = dev_get_drvdata(dev); ks8851_suspend() local
1065 struct ks8851_net *ks = dev_get_drvdata(dev); ks8851_resume() local
1078 ks8851_register_mdiobus(struct ks8851_net *ks, struct device *dev) ks8851_register_mdiobus() argument
1108 ks8851_unregister_mdiobus(struct ks8851_net *ks) ks8851_unregister_mdiobus() argument
1117 struct ks8851_net *ks = netdev_priv(netdev); ks8851_probe_common() local
[all...]
H A Dks8851_par.c53 #define to_ks8851_par(ks) container_of((ks), struct ks8851_net_par, ks8851)
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
135 ks8851_wrreg16_par(struct ks8851_net *ks, unsigned int reg, unsigned int val) ks8851_wrreg16_par() argument
152 ks8851_rdreg16_par(struct ks8851_net *ks, unsigned int reg) ks8851_rdreg16_par() argument
170 ks8851_rdfifo_par(struct ks8851_net *ks, u8 *buff, unsigned int len) ks8851_rdfifo_par() argument
191 ks8851_wrfifo_par(struct ks8851_net *ks, struct sk_buff *txp, bool irq) ks8851_wrfifo_par() argument
218 ks8851_rx_skb_par(struct ks8851_net *ks, struct sk_buff *skb) ks8851_rx_skb_par() argument
223 ks8851_rdreg16_par_txqcr(struct ks8851_net *ks) ks8851_rdreg16_par_txqcr() argument
244 struct ks8851_net *ks = netdev_priv(dev); ks8851_start_xmit_par() local
285 struct ks8851_net *ks; ks8851_probe_par() local
[all...]
H A Dks8851_spi.c58 #define to_ks8851_spi(ks) container_of((ks), struct ks8851_net_spi, ks8851)
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, unsigne argument
147 ks8851_rdreg(struct ks8851_net *ks, unsigned int op, u8 *rxb, unsigned int rxl) ks8851_rdreg() argument
196 ks8851_rdreg16_spi(struct ks8851_net *ks, unsigned int reg) ks8851_rdreg16_spi() argument
213 ks8851_rdfifo_spi(struct ks8851_net *ks, u8 *buff, unsigned int len) ks8851_rdfifo_spi() argument
252 ks8851_wrfifo_spi(struct ks8851_net *ks, struct sk_buff *txp, bool irq) ks8851_wrfifo_spi() argument
306 ks8851_rx_skb_spi(struct ks8851_net *ks, struct sk_buff *skb) ks8851_rx_skb_spi() argument
323 struct ks8851_net *ks; ks8851_tx_work() local
365 ks8851_flush_tx_work_spi(struct ks8851_net *ks) ks8851_flush_tx_work_spi() argument
389 struct ks8851_net *ks = netdev_priv(dev); ks8851_start_xmit_spi() local
420 struct ks8851_net *ks; ks8851_probe_spi() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
H A Dks8851_common.c32 * @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, unsigne argument
75 ks8851_rdreg16(struct ks8851_net *ks, unsigned int reg) ks8851_rdreg16() argument
94 ks8851_soft_reset(struct ks8851_net *ks, unsigned op) ks8851_soft_reset() argument
109 ks8851_set_powermode(struct ks8851_net *ks, unsigned pwrmode) ks8851_set_powermode() argument
133 struct ks8851_net *ks = netdev_priv(dev); ks8851_write_mac_addr() local
167 struct ks8851_net *ks = netdev_priv(dev); ks8851_read_mac_addr() local
194 ks8851_init_mac(struct ks8851_net *ks, struct device_node *np) ks8851_init_mac() argument
226 ks8851_dbg_dumpkkt(struct ks8851_net *ks, u8 *rxpkt) ks8851_dbg_dumpkkt() argument
240 ks8851_rx_skb(struct ks8851_net *ks, struct sk_buff *skb) ks8851_rx_skb() argument
253 ks8851_rx_pkts(struct ks8851_net *ks) ks8851_rx_pkts() argument
339 struct ks8851_net *ks = _ks; ks8851_irq() local
427 ks8851_flush_tx_work(struct ks8851_net *ks) ks8851_flush_tx_work() argument
442 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_open() local
523 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_stop() local
582 struct ks8851_net *ks = netdev_priv(dev); ks8851_start_xmit() local
602 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); ks8851_rxctrl_work() local
615 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_rx_mode() local
683 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_ioctl() local
713 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_msglevel() local
719 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_msglevel() local
726 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_link_ksettings() local
736 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_link_ksettings() local
742 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_link() local
748 struct ks8851_net *ks = netdev_priv(dev); ks8851_nway_reset() local
756 struct ks8851_net *ks = ee->data; ks8851_eeprom_regread() local
768 struct ks8851_net *ks = ee->data; ks8851_eeprom_regwrite() local
790 ks8851_eeprom_claim(struct ks8851_net *ks) ks8851_eeprom_claim() argument
803 ks8851_eeprom_release(struct ks8851_net *ks) ks8851_eeprom_release() argument
815 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_eeprom() local
862 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_eeprom() local
889 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_eeprom_len() local
955 struct ks8851_net *ks = netdev_priv(dev); ks8851_phy_read() local
974 struct ks8851_net *ks = netdev_priv(dev); ks8851_phy_write() local
992 ks8851_read_selftest(struct ks8851_net *ks) ks8851_read_selftest() argument
1024 struct ks8851_net *ks = dev_get_drvdata(dev); ks8851_suspend() local
1038 struct ks8851_net *ks = dev_get_drvdata(dev); ks8851_resume() local
1054 struct ks8851_net *ks = netdev_priv(netdev); ks8851_probe_common() local
[all...]
H A Dks8851_par.c55 #define to_ks8851_par(ks) container_of((ks), struct ks8851_net_par, ks8851)
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
137 ks8851_wrreg16_par(struct ks8851_net *ks, unsigned int reg, unsigned int val) ks8851_wrreg16_par() argument
154 ks8851_rdreg16_par(struct ks8851_net *ks, unsigned int reg) ks8851_rdreg16_par() argument
172 ks8851_rdfifo_par(struct ks8851_net *ks, u8 *buff, unsigned int len) ks8851_rdfifo_par() argument
193 ks8851_wrfifo_par(struct ks8851_net *ks, struct sk_buff *txp, bool irq) ks8851_wrfifo_par() argument
220 ks8851_rx_skb_par(struct ks8851_net *ks, struct sk_buff *skb) ks8851_rx_skb_par() argument
225 ks8851_rdreg16_par_txqcr(struct ks8851_net *ks) ks8851_rdreg16_par_txqcr() argument
246 struct ks8851_net *ks = netdev_priv(dev); ks8851_start_xmit_par() local
287 struct ks8851_net *ks; ks8851_probe_par() local
[all...]
H A Dks8851_spi.c60 #define to_ks8851_spi(ks) container_of((ks), struct ks8851_net_spi, ks8851)
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, unsigne argument
149 ks8851_rdreg(struct ks8851_net *ks, unsigned int op, u8 *rxb, unsigned int rxl) ks8851_rdreg() argument
198 ks8851_rdreg16_spi(struct ks8851_net *ks, unsigned int reg) ks8851_rdreg16_spi() argument
215 ks8851_rdfifo_spi(struct ks8851_net *ks, u8 *buff, unsigned int len) ks8851_rdfifo_spi() argument
254 ks8851_wrfifo_spi(struct ks8851_net *ks, struct sk_buff *txp, bool irq) ks8851_wrfifo_spi() argument
308 ks8851_rx_skb_spi(struct ks8851_net *ks, struct sk_buff *skb) ks8851_rx_skb_spi() argument
325 struct ks8851_net *ks; ks8851_tx_work() local
367 ks8851_flush_tx_work_spi(struct ks8851_net *ks) ks8851_flush_tx_work_spi() argument
391 struct ks8851_net *ks = netdev_priv(dev); ks8851_start_xmit_spi() local
422 struct ks8851_net *ks; ks8851_probe_spi() local
[all...]
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dspi_ks8995.c181 * @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 in ks8995_read()
232 ks8995_write(struct ks8995_switch *ks, char *buf, unsigned offset, size_t count) ks8995_write() argument
260 ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf) ks8995_read_reg() argument
265 ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val) ks8995_write_reg() argument
274 ks8995_stop(struct ks8995_switch *ks) ks8995_stop() argument
279 ks8995_start(struct ks8995_switch *ks) ks8995_start() argument
284 ks8995_reset(struct ks8995_switch *ks) ks8995_reset() argument
326 ks8995_get_revision(struct ks8995_switch *ks) ks8995_get_revision() argument
410 ks8995_parse_dt(struct ks8995_switch *ks) ks8995_parse_dt() argument
435 struct ks8995_switch *ks; ks8995_probe() local
522 struct ks8995_switch *ks = spi_get_drvdata(spi); ks8995_remove() local
[all...]
/kernel/linux/linux-5.10/kernel/debug/
H A Dgdbstub.c480 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
576 gdb_cmd_memwrite(struct kgdb_state *ks) gdb_cmd_memwrite() argument
599 gdb_cmd_reg_get(struct kgdb_state *ks) gdb_cmd_reg_get() argument
614 gdb_cmd_reg_set(struct kgdb_state *ks) gdb_cmd_reg_set() argument
641 gdb_cmd_binwrite(struct kgdb_state *ks) gdb_cmd_binwrite() argument
652 gdb_cmd_detachkill(struct kgdb_state *ks) gdb_cmd_detachkill() argument
677 gdb_cmd_reboot(struct kgdb_state *ks) gdb_cmd_reboot() argument
698 gdb_cmd_query(struct kgdb_state *ks) gdb_cmd_query() argument
812 gdb_cmd_task(struct kgdb_state *ks) gdb_cmd_task() argument
849 gdb_cmd_thread(struct kgdb_state *ks) gdb_cmd_thread() argument
863 gdb_cmd_break(struct kgdb_state *ks) gdb_cmd_break() argument
925 gdb_cmd_exception_pass(struct kgdb_state *ks) gdb_cmd_exception_pass() argument
957 gdb_serial_stub(struct kgdb_state *ks) gdb_serial_stub() argument
1095 gdbstub_state(struct kgdb_state *ks, char *cmd) gdbstub_state() argument
[all...]
H A Ddebug_core.c531 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 in kgdb_cpu_enter()
855 struct kgdb_state *ks = &kgdb_var; kgdb_handle_exception() local
906 struct kgdb_state *ks = &kgdb_var; kgdb_nmicallback() local
933 struct kgdb_state *ks = &kgdb_var; kgdb_nmicallin() local
[all...]
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
/kernel/linux/linux-6.6/kernel/debug/
H A Dgdbstub.c477 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
573 gdb_cmd_memwrite(struct kgdb_state *ks) gdb_cmd_memwrite() argument
596 gdb_cmd_reg_get(struct kgdb_state *ks) gdb_cmd_reg_get() argument
611 gdb_cmd_reg_set(struct kgdb_state *ks) gdb_cmd_reg_set() argument
638 gdb_cmd_binwrite(struct kgdb_state *ks) gdb_cmd_binwrite() argument
649 gdb_cmd_detachkill(struct kgdb_state *ks) gdb_cmd_detachkill() argument
674 gdb_cmd_reboot(struct kgdb_state *ks) gdb_cmd_reboot() argument
695 gdb_cmd_query(struct kgdb_state *ks) gdb_cmd_query() argument
809 gdb_cmd_task(struct kgdb_state *ks) gdb_cmd_task() argument
846 gdb_cmd_thread(struct kgdb_state *ks) gdb_cmd_thread() argument
860 gdb_cmd_break(struct kgdb_state *ks) gdb_cmd_break() argument
922 gdb_cmd_exception_pass(struct kgdb_state *ks) gdb_cmd_exception_pass() argument
954 gdb_serial_stub(struct kgdb_state *ks) gdb_serial_stub() argument
1092 gdbstub_state(struct kgdb_state *ks, char *cmd) gdbstub_state() argument
[all...]
H A Ddebug_core.c515 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 in kgdb_cpu_enter()
839 struct kgdb_state *ks = &kgdb_var; kgdb_handle_exception() local
890 struct kgdb_state *ks = &kgdb_var; kgdb_nmicallback() local
917 struct kgdb_state *ks = &kgdb_var; kgdb_nmicallin() local
[all...]
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
/kernel/linux/linux-5.10/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 in kdb_stub()
[all...]
/kernel/linux/linux-6.6/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 in kdb_stub()
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dspi_ks8995.c175 * @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 in ks8995_read()
226 ks8995_write(struct ks8995_switch *ks, char *buf, unsigned offset, size_t count) ks8995_write() argument
254 ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf) ks8995_read_reg() argument
259 ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val) ks8995_write_reg() argument
268 ks8995_stop(struct ks8995_switch *ks) ks8995_stop() argument
273 ks8995_start(struct ks8995_switch *ks) ks8995_start() argument
278 ks8995_reset(struct ks8995_switch *ks) ks8995_reset() argument
320 ks8995_get_revision(struct ks8995_switch *ks) ks8995_get_revision() argument
411 struct ks8995_switch *ks; ks8995_probe() local
482 struct ks8995_switch *ks = spi_get_drvdata(spi); ks8995_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c485 * @ks: ethtool link ksettings struct to fill out
489 struct ethtool_link_ksettings *ks) in i40e_phy_type_to_ethtool()
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, advertisin in i40e_phy_type_to_ethtool()
488 i40e_phy_type_to_ethtool(struct i40e_pf *pf, struct ethtool_link_ksettings *ks) i40e_phy_type_to_ethtool() argument
735 i40e_get_settings_link_up_fec(u8 req_fec_info, struct ethtool_link_ksettings *ks) i40e_get_settings_link_up_fec() argument
767 i40e_get_settings_link_up(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct net_device *netdev, struct i40e_pf *pf) i40e_get_settings_link_up() argument
1042 i40e_get_settings_link_down(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct i40e_pf *pf) i40e_get_settings_link_down() argument
1063 i40e_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) i40e_get_link_ksettings() argument
1153 i40e_speed_to_link_speed(__u32 speed, const struct ethtool_link_ksettings *ks) i40e_speed_to_link_speed() argument
1216 i40e_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) i40e_set_link_ksettings() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c479 * @ks: ethtool link ksettings struct to fill out
483 struct ethtool_link_ksettings *ks) in i40e_phy_type_to_ethtool()
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, advertisin in i40e_phy_type_to_ethtool()
482 i40e_phy_type_to_ethtool(struct i40e_pf *pf, struct ethtool_link_ksettings *ks) i40e_phy_type_to_ethtool() argument
729 i40e_get_settings_link_up_fec(u8 req_fec_info, struct ethtool_link_ksettings *ks) i40e_get_settings_link_up_fec() argument
761 i40e_get_settings_link_up(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct net_device *netdev, struct i40e_pf *pf) i40e_get_settings_link_up() argument
1036 i40e_get_settings_link_down(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct i40e_pf *pf) i40e_get_settings_link_down() argument
1057 i40e_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) i40e_get_link_ksettings() argument
1145 i40e_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) i40e_set_link_ksettings() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c121 struct ethtool_link_ksettings *ks) in ionic_get_link_ksettings()
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, supporte in ionic_get_link_ksettings()
120 ionic_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) ionic_get_link_ksettings() argument
263 ionic_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) ionic_set_link_ksettings() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c1481 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()
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, supporte in ice_phy_type_to_ethtool()
1491 ice_phy_type_to_ethtool(struct net_device *netdev, struct ethtool_link_ksettings *ks) ice_phy_type_to_ethtool() argument
1813 ice_get_settings_link_up(struct ethtool_link_ksettings *ks, struct net_device *netdev) ice_get_settings_link_up() argument
1899 ice_get_settings_link_down(struct ethtool_link_ksettings *ks, struct net_device *netdev) ice_get_settings_link_down() argument
1920 ice_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) ice_get_link_ksettings() argument
2048 ice_ksettings_find_adv_link_speed(const struct ethtool_link_ksettings *ks) ice_ksettings_find_adv_link_speed() argument
2131 ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks, struct ice_aqc_set_phy_cfg_data *config, u8 autoneg_enabled, u8 *autoneg_changed, struct net_device *netdev) ice_setup_autoneg() argument
2187 ice_set_phy_type_from_speed(const struct ethtool_link_ksettings *ks, u64 *phy_type_low, u64 *phy_type_high, u16 adv_link_speed) ice_set_phy_type_from_speed() argument
2222 ice_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) ice_set_link_ksettings() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c117 struct ethtool_link_ksettings *ks) in ionic_get_link_ksettings()
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, supporte in ionic_get_link_ksettings()
116 ionic_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) ionic_get_link_ksettings() argument
266 ionic_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) ionic_set_link_ksettings() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c1665 * @ks: ethtool link ksettings struct to fill out
1672 struct ethtool_link_ksettings *ks, u32 req_speeds, in ice_linkmode_set_bit()
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()
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()
1671 ice_linkmode_set_bit(const struct ice_phy_type_to_ethtool *phy_to_ethtool, struct ethtool_link_ksettings *ks, u32 req_speeds, u64 advert_phy_type, u32 phy_type) ice_linkmode_set_bit() argument
1689 ice_phy_type_to_ethtool(struct net_device *netdev, struct ethtool_link_ksettings *ks) ice_phy_type_to_ethtool() argument
1785 ice_get_settings_link_up(struct ethtool_link_ksettings *ks, struct net_device *netdev) ice_get_settings_link_up() argument
1871 ice_get_settings_link_down(struct ethtool_link_ksettings *ks, struct net_device *netdev) ice_get_settings_link_down() argument
1892 ice_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) ice_get_link_ksettings() argument
2015 ice_ksettings_find_adv_link_speed(const struct ethtool_link_ksettings *ks) ice_ksettings_find_adv_link_speed() argument
2100 ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks, struct ice_aqc_set_phy_cfg_data *config, u8 autoneg_enabled, u8 *autoneg_changed, struct net_device *netdev) ice_setup_autoneg() argument
2156 ice_set_phy_type_from_speed(const struct ethtool_link_ksettings *ks, u64 *phy_type_low, u64 *phy_type_high, u16 adv_link_speed) ice_set_phy_type_from_speed() argument
2191 ice_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) ice_set_link_ksettings() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dget_stack_raw_tp.c30 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/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()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dlocking.c84 struct btrfs_lockdep_keyset *ks; in btrfs_set_buffer_lockdep_class() local
86 BUG_ON(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()

Completed in 42 milliseconds

123