/linux/drivers/net/ethernet/micrel/ |
H A 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, 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 227 ks8851_rx_pkts(struct ks8851_net * ks,struct sk_buff_head * rxq) ks8851_rx_pkts() argument 313 struct ks8851_net *ks = _ks; ks8851_irq() local 392 ks8851_flush_tx_work(struct ks8851_net * ks) ks8851_flush_tx_work() argument 407 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_open() local 489 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_stop() local 548 struct ks8851_net *ks = netdev_priv(dev); ks8851_start_xmit() local 568 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); ks8851_rxctrl_work() local 581 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_rx_mode() local 649 struct ks8851_net *ks = netdev_priv(dev); ks8851_net_ioctl() local 679 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_msglevel() local 685 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_msglevel() local 692 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_link_ksettings() local 702 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_link_ksettings() local 708 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_link() local 714 struct ks8851_net *ks = netdev_priv(dev); ks8851_nway_reset() local 722 struct ks8851_net *ks = ee->data; ks8851_eeprom_regread() local 734 struct ks8851_net *ks = ee->data; ks8851_eeprom_regwrite() local 756 ks8851_eeprom_claim(struct ks8851_net * ks) ks8851_eeprom_claim() argument 769 ks8851_eeprom_release(struct ks8851_net * ks) ks8851_eeprom_release() argument 781 struct ks8851_net *ks = netdev_priv(dev); ks8851_set_eeprom() local 828 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_eeprom() local 855 struct ks8851_net *ks = netdev_priv(dev); ks8851_get_eeprom_len() local 906 struct ks8851_net *ks = netdev_priv(dev); ks8851_phy_read_common() local 951 struct ks8851_net *ks = netdev_priv(dev); ks8851_phy_write() local 965 struct ks8851_net *ks = bus->priv; ks8851_mdio_read() local 981 struct ks8851_net *ks = bus->priv; ks8851_mdio_write() local 993 ks8851_read_selftest(struct ks8851_net * ks) ks8851_read_selftest() argument 1018 struct ks8851_net *ks = dev_get_drvdata(dev); ks8851_suspend() local 1032 struct ks8851_net *ks = dev_get_drvdata(dev); ks8851_resume() local 1045 ks8851_register_mdiobus(struct ks8851_net * ks,struct device * dev) ks8851_register_mdiobus() argument 1075 ks8851_unregister_mdiobus(struct ks8851_net * ks) ks8851_unregister_mdiobus() argument 1084 struct ks8851_net *ks = netdev_priv(netdev); ks8851_probe_common() local [all...] |
H A D | ks8851_spi.c | 56 #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, unsigne argument 145 ks8851_rdreg(struct ks8851_net * ks,unsigned int op,u8 * rxb,unsigned int rxl) ks8851_rdreg() argument 194 ks8851_rdreg16_spi(struct ks8851_net * ks,unsigned int reg) ks8851_rdreg16_spi() argument 211 ks8851_rdfifo_spi(struct ks8851_net * ks,u8 * buff,unsigned int len) ks8851_rdfifo_spi() argument 250 ks8851_wrfifo_spi(struct ks8851_net * ks,struct sk_buff * txp,bool irq) ks8851_wrfifo_spi() argument 311 struct ks8851_net *ks; ks8851_tx_work() local 353 ks8851_flush_tx_work_spi(struct ks8851_net * ks) ks8851_flush_tx_work_spi() argument 377 struct ks8851_net *ks = netdev_priv(dev); ks8851_start_xmit_spi() local 408 struct ks8851_net *ks; ks8851_probe_spi() local [all...] |
H A D | ks8851.h | 411 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 in ks8851_done_tx() [all...] |
/linux/drivers/net/phy/ |
H A 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 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...] |
/linux/drivers/net/ovpn/ |
H A D | crypto_aead.c | 32 static int ovpn_aead_encap_overhead(const struct ovpn_crypto_key_slot *ks) in ovpn_aead_encap_overhead() argument 36 crypto_aead_authsize(ks->encrypt); /* Auth Tag */ in ovpn_aead_encap_overhead() 39 int ovpn_aead_encrypt(struct ovpn_peer *peer, struct ovpn_crypto_key_slot *ks, in ovpn_aead_encrypt() argument 42 const unsigned int tag_size = crypto_aead_authsize(ks->encrypt); in ovpn_aead_encrypt() 51 ovpn_skb_cb(skb)->ks = ks; in ovpn_aead_encrypt() 104 ret = ovpn_pktid_xmit_next(&ks->pid_xmit, &pktid); in ovpn_aead_encrypt() 118 ovpn_pktid_aead_write(pktid, ks->nonce_tail_xmit, iv); in ovpn_aead_encrypt() 125 op = ovpn_opcode_compose(OVPN_DATA_V2, ks->key_id, peer->id); in ovpn_aead_encrypt() 133 req = aead_request_alloc(ks in ovpn_aead_encrypt() 150 ovpn_aead_decrypt(struct ovpn_peer * peer,struct ovpn_crypto_key_slot * ks,struct sk_buff * skb) ovpn_aead_decrypt() argument 297 ovpn_aead_crypto_key_slot_destroy(struct ovpn_crypto_key_slot * ks) ovpn_aead_crypto_key_slot_destroy() argument 310 struct ovpn_crypto_key_slot *ks = NULL; ovpn_aead_crypto_key_slot_new() local 374 ovpn_aead_crypto_alg(struct ovpn_crypto_key_slot * ks) ovpn_aead_crypto_alg() argument [all...] |
H A D | crypto.c | 23 struct ovpn_crypto_key_slot *ks; in ovpn_ks_destroy_rcu() local 25 ks = container_of(head, struct ovpn_crypto_key_slot, rcu); in ovpn_ks_destroy_rcu() 26 ovpn_aead_crypto_key_slot_destroy(ks); in ovpn_ks_destroy_rcu() 31 struct ovpn_crypto_key_slot *ks; in ovpn_crypto_key_slot_release() local 33 ks = container_of(kref, struct ovpn_crypto_key_slot, refcount); in ovpn_crypto_key_slot_release() 34 call_rcu(&ks->rcu, ovpn_ks_destroy_rcu); in ovpn_crypto_key_slot_release() 42 struct ovpn_crypto_key_slot *ks; in ovpn_crypto_state_release() local 44 ks = rcu_access_pointer(cs->slots[0]); in ovpn_crypto_state_release() 45 if (ks) { in ovpn_crypto_state_release() 47 ovpn_crypto_key_slot_put(ks); in ovpn_crypto_state_release() 60 struct ovpn_crypto_key_slot *ks = NULL; ovpn_crypto_kill_key() local 119 struct ovpn_crypto_key_slot *ks = NULL; ovpn_crypto_key_slot_delete() local 184 struct ovpn_crypto_key_slot *ks; ovpn_crypto_config_get() local [all...] |
H A D | crypto.h | 60 static inline bool ovpn_crypto_key_slot_hold(struct ovpn_crypto_key_slot *ks) in ovpn_crypto_key_slot_hold() argument 62 return kref_get_unless_zero(&ks->refcount); in ovpn_crypto_key_slot_hold() 76 struct ovpn_crypto_key_slot *ks; in ovpn_crypto_key_id_to_slot() local 84 ks = rcu_dereference(cs->slots[idx]); in ovpn_crypto_key_id_to_slot() 85 if (ks && ks->key_id == key_id) { in ovpn_crypto_key_id_to_slot() 86 if (unlikely(!ovpn_crypto_key_slot_hold(ks))) in ovpn_crypto_key_id_to_slot() 87 ks = NULL; in ovpn_crypto_key_id_to_slot() 91 ks = rcu_dereference(cs->slots[!idx]); in ovpn_crypto_key_id_to_slot() 92 if (ks in ovpn_crypto_key_id_to_slot() 111 struct ovpn_crypto_key_slot *ks; ovpn_crypto_key_slot_primary() local 124 ovpn_crypto_key_slot_put(struct ovpn_crypto_key_slot * ks) ovpn_crypto_key_slot_put() argument [all...] |
H A D | io.c | 103 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, sk in ovpn_recv() 235 struct ovpn_crypto_key_slot *ks; ovpn_encrypt_post() local 311 struct ovpn_crypto_key_slot *ks; ovpn_encrypt_one() local [all...] |
H A D | crypto_aead.h | 18 int ovpn_aead_encrypt(struct ovpn_peer *peer, struct ovpn_crypto_key_slot *ks, 20 int ovpn_aead_decrypt(struct ovpn_peer *peer, struct ovpn_crypto_key_slot *ks, 25 void ovpn_aead_crypto_key_slot_destroy(struct ovpn_crypto_key_slot *ks); 27 enum ovpn_cipher_alg ovpn_aead_crypto_alg(struct ovpn_crypto_key_slot *ks);
|
/linux/kernel/debug/ |
H A 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 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 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 in kgdb_cpu_enter() 839 struct kgdb_state *ks = &kgdb_var; kgdb_handle_exception() local 882 struct kgdb_state *ks = &kgdb_var; kgdb_nmicallback() local 909 struct kgdb_state *ks = &kgdb_var; kgdb_nmicallin() local [all...] |
H A 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/kernel/debug/kdb/ |
H A 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 in kdb_stub() [all...] |
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 490 * @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, advertisin in i40e_phy_type_to_ethtool() 741 i40e_get_settings_link_up_fec(u8 req_fec_info,struct ethtool_link_ksettings * ks) i40e_get_settings_link_up_fec() argument 773 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 1048 i40e_get_settings_link_down(struct i40e_hw * hw,struct ethtool_link_ksettings * ks,struct i40e_pf * pf) i40e_get_settings_link_down() argument 1069 i40e_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * ks) i40e_get_link_ksettings() argument 1158 i40e_speed_to_link_speed(__u32 speed,const struct ethtool_link_ksettings * ks) i40e_speed_to_link_speed() argument 1222 i40e_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * ks) i40e_set_link_ksettings() argument [all...] |
/linux/lib/crypto/ |
H A D | aescfb.c | 44 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, sizeo in aescfb_decrypt() [all...] |
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_ethtool.c | 124 struct ethtool_link_ksettings *ks) in ionic_get_link_ksettings() argument 130 ethtool_link_ksettings_zero_link_mode(ks, supported); in ionic_get_link_ksettings() 145 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() 157 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 163 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 168 ethtool_link_ksettings_add_link_mode(ks, supported, 200000baseCR4_Full); in ionic_get_link_ksettings() 172 ethtool_link_ksettings_add_link_mode(ks, supported, 400000baseCR4_Full); in ionic_get_link_ksettings() 177 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 185 ethtool_link_ksettings_add_link_mode(ks, supporte in ionic_get_link_ksettings() 313 ionic_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * ks) ionic_set_link_ksettings() argument [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
/linux/fs/btrfs/ |
H A D | locking.c | 84 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 D | ks0127.c | 324 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 in ks0127_probe() [all...] |
/linux/drivers/net/ethernet/fungible/funeth/ |
H A 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 in fun_get_link_ksettings() 247 fun_advert_modes(const struct ethtool_link_ksettings * ks) fun_advert_modes() argument 317 fun_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * ks) fun_set_link_ksettings() argument [all...] |
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 2087 * @ks: ethtool link ksettings struct to fill out 2094 struct ethtool_link_ksettings *ks, u32 req_speeds, in ice_linkmode_set_bit() argument 2097 linkmode_set_bit(phy_to_ethtool->link_mode, ks->link_modes.supported); in ice_linkmode_set_bit() 2102 ks->link_modes.advertising); in ice_linkmode_set_bit() 2108 * @ks: ethtool link ksettings struct to fill out 2112 struct ethtool_link_ksettings *ks) in ice_phy_type_to_ethtool() argument 2179 linkmode_zero(ks->link_modes.supported); in ice_phy_type_to_ethtool() 2180 linkmode_zero(ks->link_modes.advertising); in ice_phy_type_to_ethtool() 2184 ice_linkmode_set_bit(&phy_type_low_lkup[i], ks, in ice_phy_type_to_ethtool() 2191 ice_linkmode_set_bit(&phy_type_high_lkup[i], ks, in ice_phy_type_to_ethtool() 2207 ice_get_settings_link_up(struct ethtool_link_ksettings * ks,struct net_device * netdev) ice_get_settings_link_up() argument 2296 ice_get_settings_link_down(struct ethtool_link_ksettings * ks,struct net_device * netdev) ice_get_settings_link_down() argument 2318 ice_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * ks) ice_get_link_ksettings() argument 2489 ice_ksettings_find_adv_link_speed(const struct ethtool_link_ksettings * ks) ice_ksettings_find_adv_link_speed() argument 2515 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 2571 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 2607 ice_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * ks) ice_set_link_ksettings() argument [all...] |
/linux/crypto/ |
H A D | xcbc.c | 18 static u_int32_t ks[12] = {0x01010101, 0x01010101, 0x01010101, 0x01010101, variable 50 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 51 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 52 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); in crypto_xcbc_digest_setkey()
|
H A D | seed.c | 312 t0 = X3 ^ ks[rbase]; \ 313 t1 = X4 ^ ks[rbase+1]; \ 367 const u32 *ks = ctx->keysched; in seed_encrypt() local 403 const u32 *ks = ctx->keysched; in seed_decrypt() local
|
/linux/tools/perf/util/ |
H A 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()
|
/linux/kernel/module/ |
H A D | kallsyms.c | 27 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()
|