Searched refs:ks (Results 1 - 25 of 38) sorted by path

12

/linux-master/tools/perf/util/
H A Dcall-path.c79 struct symbol *sym, u64 ip, u64 ks)
84 bool in_kernel = ip >= ks;
77 call_path__findnew(struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, u64 ks) argument
/linux-master/arch/arm64/crypto/
H A Daes-glue.c844 static u8 const ks[3][AES_BLOCK_SIZE] = { local
860 aes_ecb_encrypt(key, ks[0], ctx->key.key_enc, rounds, 1);
861 aes_ecb_encrypt(ctx->consts, ks[1], ctx->key.key_enc, rounds, 2);
H A Dsm4-ce-glue.c564 static u8 const ks[3][SM4_BLOCK_SIZE] = { local
578 sm4_ce_crypt_block(ctx->key.rkey_enc, key2, ks[0]);
579 sm4_ce_crypt(ctx->key.rkey_enc, ctx->consts, ks[1], 2);
/linux-master/arch/microblaze/include/asm/
H A Dmmu.h44 unsigned long ks:1; /* Supervisor 'key' (normally 0) */ member in struct:_SEGREG
/linux-master/crypto/
H A Dseed.c312 t0 = X3 ^ ks[rbase]; \
313 t1 = X4 ^ ks[rbase+1]; \
370 const u32 *ks = ctx->keysched; local
408 const u32 *ks = ctx->keysched; local
H A Dxcbc.c15 static u_int32_t ks[12] = {0x01010101, 0x01010101, 0x01010101, 0x01010101, variable
63 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs);
64 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2);
65 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks);
/linux-master/drivers/char/hw_random/
H A DMakefile43 obj-$(CONFIG_HW_RANDOM_KEYSTONE) += ks-sa-rng.o
/linux-master/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c973 struct fixed31_32 ks; local
998 ks = dc_fixpt_sub(dc_fixpt_mul(a, max_lum_pq), b); // a * max_lum_pq - b
1000 if (dc_fixpt_lt(E1, ks))
1002 else if (dc_fixpt_le(ks, E1) && dc_fixpt_le(E1, dc_fixpt_one)) {
1003 if (dc_fixpt_lt(epsilon, dc_fixpt_sub(dc_fixpt_one, ks)))
1004 // t = (E1 - ks) / (1 - ks)
1005 t = dc_fixpt_div(dc_fixpt_sub(E1, ks),
1006 dc_fixpt_sub(dc_fixpt_one, ks));
1018 // (2t^3 - 3t^2 + 1) * ks
[all...]
/linux-master/drivers/md/
H A Ddm-crypt.c950 u8 *es, *ks, *data, *data2, *data_offset; local
958 ks = kzalloc(32, GFP_NOIO); /* Elephant sector key */
960 if (!req || !es || !ks) {
969 sg_init_one(&dst, ks, 16);
978 sg_init_one(&dst, &ks[16], 16);
1003 crypto_xor(data_offset + i * 32, ks, 32);
1014 kfree_sensitive(ks);
/linux-master/drivers/media/i2c/
H A Dks0127.c332 struct ks0127 *ks = to_ks0127(sd); local
338 ks->regs[reg] = val;
345 struct ks0127 *ks = to_ks0127(sd); local
347 u8 val = ks->regs[reg];
404 struct ks0127 *ks = to_ks0127(sd); local
480 if (ks->norm & V4L2_STD_525_60)
536 struct ks0127 *ks = to_ks0127(sd); local
541 ks->norm = std;
655 struct ks0127 *ks; local
662 ks
[all...]
/linux-master/drivers/media/rc/keymaps/
H A DMakefile21 rc-avermedia-rm-ks.o \
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c177 static void set_asym_pause(u64 advertising, struct ethtool_link_ksettings *ks) argument
184 ethtool_link_ksettings_add_link_mode(ks, advertising,
204 struct ethtool_link_ksettings *ks)
211 ethtool_link_ksettings_zero_link_mode(ks, supported);
212 ethtool_link_ksettings_zero_link_mode(ks, advertising);
213 ethtool_link_ksettings_zero_link_mode(ks, lp_advertising);
225 ks->base.speed = speed;
226 ks->base.duplex = DUPLEX_FULL;
228 ks->link_modes.lp_advertising);
230 ks
203 fun_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) argument
247 fun_advert_modes(const struct ethtool_link_ksettings *ks) argument
316 fun_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) argument
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c487 * @ks: ethtool link ksettings struct to fill out
491 struct ethtool_link_ksettings *ks)
496 ethtool_link_ksettings_zero_link_mode(ks, supported);
497 ethtool_link_ksettings_zero_link_mode(ks, advertising);
500 ethtool_link_ksettings_add_link_mode(ks, supported,
503 ethtool_link_ksettings_add_link_mode(ks, advertising,
506 ethtool_link_ksettings_add_link_mode(ks, supported,
508 ethtool_link_ksettings_add_link_mode(ks, advertising,
517 ethtool_link_ksettings_add_link_mode(ks, supported,
520 ethtool_link_ksettings_add_link_mode(ks, advertisin
490 i40e_phy_type_to_ethtool(struct i40e_pf *pf, struct ethtool_link_ksettings *ks) argument
737 i40e_get_settings_link_up_fec(u8 req_fec_info, struct ethtool_link_ksettings *ks) argument
769 i40e_get_settings_link_up(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct net_device *netdev, struct i40e_pf *pf) argument
1044 i40e_get_settings_link_down(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct i40e_pf *pf) argument
1065 i40e_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) argument
1155 i40e_speed_to_link_speed(__u32 speed, const struct ethtool_link_ksettings *ks) argument
1218 i40e_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) argument
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c1751 * @ks: ethtool link ksettings struct to fill out
1758 struct ethtool_link_ksettings *ks, u32 req_speeds,
1761 linkmode_set_bit(phy_to_ethtool->link_mode, ks->link_modes.supported);
1766 ks->link_modes.advertising);
1772 * @ks: ethtool link ksettings struct to fill out
1776 struct ethtool_link_ksettings *ks)
1843 linkmode_zero(ks->link_modes.supported);
1844 linkmode_zero(ks->link_modes.advertising);
1848 ice_linkmode_set_bit(&phy_type_low_lkup[i], ks,
1855 ice_linkmode_set_bit(&phy_type_high_lkup[i], ks,
1757 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) argument
1775 ice_phy_type_to_ethtool(struct net_device *netdev, struct ethtool_link_ksettings *ks) argument
1871 ice_get_settings_link_up(struct ethtool_link_ksettings *ks, struct net_device *netdev) argument
1960 ice_get_settings_link_down(struct ethtool_link_ksettings *ks, struct net_device *netdev) argument
1981 ice_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) argument
2153 ice_ksettings_find_adv_link_speed(const struct ethtool_link_ksettings *ks) argument
2179 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) argument
2235 ice_set_phy_type_from_speed(const struct ethtool_link_ksettings *ks, u64 *phy_type_low, u64 *phy_type_high, u16 adv_link_speed) argument
2270 ice_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) argument
[all...]
/linux-master/drivers/net/ethernet/micrel/
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, argument
445 struct net_device *dev = ks
[all...]
H A Dks8851_common.c30 * @ks: The chip state
35 static void ks8851_lock(struct ks8851_net *ks, unsigned long *flags) argument
37 ks->lock(ks, flags);
42 * @ks: The chip state
47 static void ks8851_unlock(struct ks8851_net *ks, unsigned long *flags) argument
49 ks->unlock(ks, flags);
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) argument
92 ks8851_soft_reset(struct ks8851_net *ks, unsigned op) argument
107 ks8851_set_powermode(struct ks8851_net *ks, unsigned pwrmode) argument
131 struct ks8851_net *ks = netdev_priv(dev); local
165 struct ks8851_net *ks = netdev_priv(dev); local
194 ks8851_init_mac(struct ks8851_net *ks, struct device_node *np) argument
225 ks8851_dbg_dumpkkt(struct ks8851_net *ks, u8 *rxpkt) argument
242 ks8851_rx_pkts(struct ks8851_net *ks) argument
328 struct ks8851_net *ks = _ks; local
420 ks8851_flush_tx_work(struct ks8851_net *ks) argument
435 struct ks8851_net *ks = netdev_priv(dev); local
516 struct ks8851_net *ks = netdev_priv(dev); local
575 struct ks8851_net *ks = netdev_priv(dev); local
595 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); local
608 struct ks8851_net *ks = netdev_priv(dev); local
676 struct ks8851_net *ks = netdev_priv(dev); local
706 struct ks8851_net *ks = netdev_priv(dev); local
712 struct ks8851_net *ks = netdev_priv(dev); local
719 struct ks8851_net *ks = netdev_priv(dev); local
729 struct ks8851_net *ks = netdev_priv(dev); local
735 struct ks8851_net *ks = netdev_priv(dev); local
741 struct ks8851_net *ks = netdev_priv(dev); local
749 struct ks8851_net *ks = ee->data; local
761 struct ks8851_net *ks = ee->data; local
783 ks8851_eeprom_claim(struct ks8851_net *ks) argument
796 ks8851_eeprom_release(struct ks8851_net *ks) argument
808 struct ks8851_net *ks = netdev_priv(dev); local
855 struct ks8851_net *ks = netdev_priv(dev); local
882 struct ks8851_net *ks = netdev_priv(dev); local
933 struct ks8851_net *ks = netdev_priv(dev); local
978 struct ks8851_net *ks = netdev_priv(dev); local
992 struct ks8851_net *ks = bus->priv; local
1008 struct ks8851_net *ks = bus->priv; local
1020 ks8851_read_selftest(struct ks8851_net *ks) argument
1045 struct ks8851_net *ks = dev_get_drvdata(dev); local
1059 struct ks8851_net *ks = dev_get_drvdata(dev); local
1072 ks8851_register_mdiobus(struct ks8851_net *ks, struct device *dev) argument
1102 ks8851_unregister_mdiobus(struct ks8851_net *ks) argument
1111 struct ks8851_net *ks = netdev_priv(netdev); 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) argument
64 struct ks8851_net_par *ksp = to_ks8851_par(ks);
71 * @ks: The chip state
76 static void ks8851_unlock_par(struct ks8851_net *ks, unsigned long *flags) argument
78 struct ks8851_net_par *ksp = to_ks8851_par(ks);
85 * @ks : The chip information
91 static int ks_check_endian(struct ks8851_net *ks) argument
135 ks8851_wrreg16_par(struct ks8851_net *ks, unsigned int reg, unsigned int val) argument
152 ks8851_rdreg16_par(struct ks8851_net *ks, unsigned int reg) argument
170 ks8851_rdfifo_par(struct ks8851_net *ks, u8 *buff, unsigned int len) argument
191 ks8851_wrfifo_par(struct ks8851_net *ks, struct sk_buff *txp, bool irq) argument
213 ks8851_rdreg16_par_txqcr(struct ks8851_net *ks) argument
234 struct ks8851_net *ks = netdev_priv(dev); local
275 struct ks8851_net *ks; 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) argument
82 struct ks8851_net_spi *kss = to_ks8851_spi(ks);
89 * @ks: The chip state
94 static void ks8851_unlock_spi(struct ks8851_net *ks, unsigned long *flags) argument
96 struct ks8851_net_spi *kss = to_ks8851_spi(ks);
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) argument
196 ks8851_rdreg16_spi(struct ks8851_net *ks, unsigned int reg) argument
213 ks8851_rdfifo_spi(struct ks8851_net *ks, u8 *buff, unsigned int len) argument
252 ks8851_wrfifo_spi(struct ks8851_net *ks, struct sk_buff *txp, bool irq) argument
313 struct ks8851_net *ks; local
355 ks8851_flush_tx_work_spi(struct ks8851_net *ks) argument
379 struct ks8851_net *ks = netdev_priv(dev); local
410 struct ks8851_net *ks; local
[all...]
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c122 struct ethtool_link_ksettings *ks)
128 ethtool_link_ksettings_zero_link_mode(ks, supported);
143 ethtool_link_ksettings_add_link_mode(ks, supported,
148 ethtool_link_ksettings_add_link_mode(ks, supported,
155 ethtool_link_ksettings_add_link_mode(ks, supported,
161 ethtool_link_ksettings_add_link_mode(ks, supported,
169 ethtool_link_ksettings_add_link_mode(ks, supported,
175 ethtool_link_ksettings_add_link_mode(ks, supported,
179 ethtool_link_ksettings_add_link_mode(ks, supported,
184 ethtool_link_ksettings_add_link_mode(ks, supporte
121 ionic_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) argument
271 ionic_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) argument
[all...]
/linux-master/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, argument
191 result <<= ks->chip->addr_width + ks->chip->addr_shift;
193 result |= address << ks->chip->addr_shift;
198 static int ks8995_read(struct ks8995_switch *ks, char *buf, argument
206 cmd = create_spi_cmd(ks, KS8995_CMD_READ, offset);
219 mutex_lock(&ks->lock);
220 err = spi_sync(ks->spi, &m);
221 mutex_unlock(&ks
226 ks8995_write(struct ks8995_switch *ks, char *buf, unsigned offset, size_t count) argument
254 ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf) argument
259 ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val) argument
268 ks8995_stop(struct ks8995_switch *ks) argument
273 ks8995_start(struct ks8995_switch *ks) argument
278 ks8995_reset(struct ks8995_switch *ks) argument
320 ks8995_get_revision(struct ks8995_switch *ks) argument
411 struct ks8995_switch *ks; local
482 struct ks8995_switch *ks = spi_get_drvdata(spi); local
[all...]
/linux-master/drivers/pinctrl/actions/
H A Dpinctrl-s500.c1350 [S500_MUX_KS] = FUNCTION(ks),
H A Dpinctrl-s700.c1565 [S700_MUX_KS] = FUNCTION(ks),
/linux-master/drivers/s390/cio/
H A Dchsc.c204 scssc->ks = PAGE_DEFAULT_KEY >> 4;
H A Dchsc.h96 u32 ks:4; member in struct:chsc_scssc_area
/linux-master/fs/btrfs/
H A Dlocking.c85 struct btrfs_lockdep_keyset *ks; local
87 ASSERT(level < ARRAY_SIZE(ks->keys));
90 for (ks = btrfs_lockdep_keysets; ks->id; ks++)
91 if (ks->id == objectid)
94 lockdep_set_class_and_name(&eb->lock, &ks->keys[level], ks->names[level]);

Completed in 409 milliseconds

12