trim 587 drivers/ata/libata-transport.c static DEVICE_ATTR(trim, S_IRUGO, show_ata_dev_trim, NULL); trim 760 drivers/ata/libata-transport.c SETUP_DEV_ATTRIBUTE(trim); trim 1870 drivers/block/drbd/drbd_receiver.c struct p_trim *trim = (pi->cmd == P_TRIM) ? pi->data : NULL; trim 1875 drivers/block/drbd/drbd_receiver.c if (!trim && peer_device->connection->peer_integrity_tfm) { trim 1889 drivers/block/drbd/drbd_receiver.c if (trim) { trim 1892 drivers/block/drbd/drbd_receiver.c ds = be32_to_cpu(trim->size); trim 1913 drivers/block/drbd/drbd_receiver.c if (trim || wsame || zeroes) { trim 1937 drivers/block/drbd/drbd_receiver.c if (trim) { trim 863 drivers/block/rbd.c bool trim; trim 945 drivers/block/rbd.c pctx->opts->trim = false; trim 5172 drivers/block/rbd.c if (rbd_dev->opts->trim) { trim 6588 drivers/block/rbd.c pctx.opts->trim = RBD_TRIM_DEFAULT; trim 480 drivers/clk/microchip/clk-core.c u32 trim, rodiv, v; trim 484 drivers/clk/microchip/clk-core.c roclk_calc_div_trim(rate, parent_rate, &rodiv, &trim); trim 487 drivers/clk/microchip/clk-core.c parent_rate, rate, rodiv, trim); trim 518 drivers/clk/microchip/clk-core.c v |= trim << REFO_TRIM_SHIFT; trim 190 drivers/mmc/host/sdhci-pci-arasan.c u8 drv_type, u8 itap, u8 trim, u8 clk) trim 226 drivers/mmc/host/sdhci-pci-arasan.c ret = arasan_phy_write(host, trim, DLL_TRIM); trim 771 drivers/mmc/host/sdhci-tegra.c static void tegra_sdhci_set_dqs_trim(struct sdhci_host *host, u8 trim) trim 777 drivers/mmc/host/sdhci-tegra.c val |= trim << SDHCI_TEGRA_CAP_OVERRIDES_DQS_TRIM_SHIFT; trim 151 drivers/nvdimm/btt.c int *trim, int *error, unsigned long rwb_flags) trim 198 drivers/nvdimm/btt.c if (trim) trim 199 drivers/nvdimm/btt.c *trim = z_flag; trim 142 drivers/phy/socionext/phy-uniphier-usb3hs.c struct uniphier_u3hsphy_trim_param trim; trim 146 drivers/phy/socionext/phy-uniphier-usb3hs.c ret = uniphier_u3hsphy_get_nvparams(priv, &trim); trim 155 drivers/phy/socionext/phy-uniphier-usb3hs.c if (!ret && trim_param_is_valid(&trim)) { trim 156 drivers/phy/socionext/phy-uniphier-usb3hs.c priv->data->trim_func(priv, pconfig, &trim); trim 322 drivers/rtc/rtc-rs5c372.c static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) trim 330 drivers/rtc/rtc-rs5c372.c if (trim) { trim 344 drivers/rtc/rtc-rs5c372.c *trim = tmp; trim 472 drivers/rtc/rtc-rs5c372.c int err, osc, trim; trim 474 drivers/rtc/rtc-rs5c372.c err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); trim 478 drivers/rtc/rtc-rs5c372.c seq_printf(seq, "trim\t\t: %d\n", trim); trim 502 drivers/rtc/rtc-rs5c372.c int err, trim; trim 504 drivers/rtc/rtc-rs5c372.c err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); trim 508 drivers/rtc/rtc-rs5c372.c return sprintf(buf, "%d\n", trim); trim 510 drivers/rtc/rtc-rs5c372.c static DEVICE_ATTR(trim, S_IRUGO, rs5c372_sysfs_show_trim, NULL); trim 293 drivers/rtc/rtc-x1205.c static int x1205_get_dtrim(struct i2c_client *client, int *trim) trim 320 drivers/rtc/rtc-x1205.c *trim = 0; trim 323 drivers/rtc/rtc-x1205.c *trim += 20; trim 326 drivers/rtc/rtc-x1205.c *trim += 10; trim 329 drivers/rtc/rtc-x1205.c *trim = -*trim; trim 334 drivers/rtc/rtc-x1205.c static int x1205_get_atrim(struct i2c_client *client, int *trim) trim 369 drivers/rtc/rtc-x1205.c *trim = (atr * 250) + 11000; trim 371 drivers/rtc/rtc-x1205.c dev_dbg(&client->dev, "%s: real=%d\n", __func__, *trim); trim 3667 fs/btrfs/ioctl.c u64 trim = 0; trim 3675 fs/btrfs/ioctl.c trim = key.offset + datal - (off + len); trim 3677 fs/btrfs/ioctl.c if (comp && (skip || trim)) { trim 3681 fs/btrfs/ioctl.c size -= skip + trim; trim 3682 fs/btrfs/ioctl.c datal -= skip + trim; trim 573 fs/ocfs2/super.c unsigned int trim = bytes; trim 589 fs/ocfs2/super.c trim = 1; trim 603 fs/ocfs2/super.c return (((unsigned long long)bytes) << bitshift) - trim; trim 435 kernel/bpf/lpm_trie.c struct lpm_trie_node __rcu **trim, **trim2; trim 453 kernel/bpf/lpm_trie.c trim = &trie->root; trim 454 kernel/bpf/lpm_trie.c trim2 = trim; trim 457 kernel/bpf/lpm_trie.c *trim, lockdep_is_held(&trie->lock)))) { trim 465 kernel/bpf/lpm_trie.c trim2 = trim; trim 467 kernel/bpf/lpm_trie.c trim = &node->child[next_bit]; trim 513 kernel/bpf/lpm_trie.c rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); trim 515 kernel/bpf/lpm_trie.c rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); trim 517 kernel/bpf/lpm_trie.c RCU_INIT_POINTER(*trim, NULL); trim 252 net/core/skmsg.c int trim = msg->sg.size - len; trim 255 net/core/skmsg.c if (trim <= 0) { trim 256 net/core/skmsg.c WARN_ON(trim < 0); trim 263 net/core/skmsg.c trim >= msg->sg.data[i].length) { trim 264 net/core/skmsg.c trim -= msg->sg.data[i].length; trim 267 net/core/skmsg.c if (!trim) trim 271 net/core/skmsg.c msg->sg.data[i].length -= trim; trim 272 net/core/skmsg.c sk_mem_uncharge(sk, trim); trim 1166 net/sunrpc/xdr.c unsigned int trim = len; trim 1169 net/sunrpc/xdr.c cur = min_t(size_t, buf->tail[0].iov_len, trim); trim 1171 net/sunrpc/xdr.c trim -= cur; trim 1172 net/sunrpc/xdr.c if (!trim) trim 1177 net/sunrpc/xdr.c cur = min_t(unsigned int, buf->page_len, trim); trim 1179 net/sunrpc/xdr.c trim -= cur; trim 1180 net/sunrpc/xdr.c if (!trim) trim 1185 net/sunrpc/xdr.c cur = min_t(size_t, buf->head[0].iov_len, trim); trim 1187 net/sunrpc/xdr.c trim -= cur; trim 1190 net/sunrpc/xdr.c buf->len -= (len - trim); trim 552 sound/soc/codecs/twl6040.c int twl6040_get_trim_value(struct snd_soc_component *component, enum twl6040_trim trim) trim 554 sound/soc/codecs/twl6040.c if (unlikely(trim >= TWL6040_TRIM_INVAL)) trim 557 sound/soc/codecs/twl6040.c return twl6040_read(component, TWL6040_REG_TRIM1 + trim); trim 27 sound/soc/codecs/twl6040.h int twl6040_get_trim_value(struct snd_soc_component *component, enum twl6040_trim trim); trim 118 sound/soc/intel/skylake/skl-nhlt.c static void skl_nhlt_trim_space(char *trim) trim 120 sound/soc/intel/skylake/skl-nhlt.c char *s = trim;