Searched refs:val (Results 1 - 25 of 10961) sorted by last modified time

1234567891011>>

/linux-master/fs/btrfs/
H A Dscrub.c460 (char *)(unsigned long)ipath->fspath->val[i]);
H A Dinode.c212 (char *)(unsigned long)ipath->fspath->val[i]);
H A Dbackref.c795 ref->parent = node ? node->val : 0;
810 new_ref->parent = node->val;
1786 ctx->bytenr = node->val;
1981 bytenr = node->val;
2459 const u64 leaf_bytenr = ref_node->val;
2508 root_node->val, ref_node->val,
2511 root_node->val, ctx->bytenr,
2543 inodes->val[inodes->elem_cnt] = inum;
2544 inodes->val[inode
[all...]
/linux-master/drivers/hid/
H A Dhid-nintendo.c1054 * returns 0 if magic val is present, 1 if not present, < 0 on error
1352 static s32 joycon_map_stick_val(struct joycon_stick_cal *cal, s32 val) argument
1359 if (val > center) {
1360 new_val = (val - center) * JC_MAX_STICK_MAG;
1363 new_val = (center - val) * -JC_MAX_STICK_MAG;
2225 int val = 0; local
2236 val |= ctlr->leds[i].brightness << i;
2239 ret = joycon_set_player_leds(ctlr, 0, val);
2362 union power_supply_propval *val)
2379 val
2360 joycon_battery_get_property(struct power_supply *supply, enum power_supply_property prop, union power_supply_propval *val) argument
[all...]
H A Dhid-mcp2221.c646 unsigned int offset, u8 val)
654 mcp->txbuf[mcp->gp_idx] = val;
956 struct iio_chan_spec const *channel, int *val,
965 *val = 1 << mcp->dac_scale;
967 *val = 1 << mcp->adc_scale;
975 *val = mcp->dac_value;
982 *val = le16_to_cpu((__force __le16) mcp->adc_values[channel->address]);
983 if (*val >= BIT(10))
997 int val, int val2, long mask)
1003 if (val <
645 mcp_gpio_dir_set(struct mcp2221 *mcp, unsigned int offset, u8 val) argument
955 mcp2221_read_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *channel, int *val, int *val2, long mask) argument
995 mcp2221_write_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int val, int val2, long mask) argument
[all...]
/linux-master/virt/kvm/
H A Dkvm_main.c3700 unsigned int old, val, grow, grow_start; local
3702 old = val = vcpu->halt_poll_ns;
3708 val *= grow;
3709 if (val < grow_start)
3710 val = grow_start;
3712 vcpu->halt_poll_ns = val;
3714 trace_kvm_halt_poll_ns_grow(vcpu->vcpu_id, val, old);
3719 unsigned int old, val, shrink, grow_start; local
3721 old = val = vcpu->halt_poll_ns;
3725 val
4211 vcpu_get_pid(void *data, u64 *val) argument
5802 __kvm_io_bus_write(struct kvm_vcpu *vcpu, struct kvm_io_bus *bus, struct kvm_io_range *range, const void *val) argument
5823 kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, int len, const void *val) argument
5844 kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, int len, const void *val, long cookie) argument
5873 __kvm_io_bus_read(struct kvm_vcpu *vcpu, struct kvm_io_bus *bus, struct kvm_io_range *range, void *val) argument
5894 kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, int len, void *val) argument
6065 kvm_get_stat_per_vm(struct kvm *kvm, size_t offset, u64 *val) argument
6079 kvm_get_stat_per_vcpu(struct kvm *kvm, size_t offset, u64 *val) argument
6103 kvm_stat_data_get(void *data, u64 *val) argument
6122 kvm_stat_data_clear(void *data, u64 val) argument
6160 vm_stat_get(void *_offset, u64 *val) argument
6176 vm_stat_clear(void *_offset, u64 val) argument
6196 vcpu_stat_get(void *_offset, u64 *val) argument
6212 vcpu_stat_clear(void *_offset, u64 val) argument
[all...]
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dpmu_counters_test.c326 #define GUEST_ASSERT_PMC_VALUE(insn, msr, val, expected) \
327 __GUEST_ASSERT(val == expected_val, \
329 msr, expected_val, val);
335 uint64_t val; local
337 vector = rdpmc_safe(rdpmc_idx, &val);
340 GUEST_ASSERT_PMC_VALUE(RDPMC, rdpmc_idx, val, expected_val);
345 vector = rdpmc_safe_fep(rdpmc_idx, &val);
348 GUEST_ASSERT_PMC_VALUE(RDPMC, rdpmc_idx, val, expected_val);
381 uint64_t val; local
386 vector = rdmsr_safe(msr, &val);
492 uint64_t val; local
[all...]
/linux-master/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c43 uint64_t val; local
46 val = READ_ONCE(*((uint64_t *)MEM_REGION_GPA));
47 } while (val == spin_val);
50 return val;
148 uint64_t val; local
158 val = guest_spin_on_val(0);
159 __GUEST_ASSERT(val == 1 || val == MMIO_VAL,
160 "Expected '1' or MMIO ('%lx'), got '%lx'", MMIO_VAL, val);
163 val
224 uint64_t val; local
[all...]
/linux-master/kernel/sched/
H A Dsched.h223 #define shr_bound(val, shift) \
224 (val >> min_t(typeof(shift), shift, BITS_PER_TYPE(typeof(val)) - 1))
541 # define u64_u32_store_copy(var, copy, val) (var = val)
557 # define u64_u32_store_copy(var, copy, val) \
559 typeof(val) __val = (val); \
570 # define u64_u32_store(var, val) u64_u32_store_copy(var, var##_copy, val)
[all...]
/linux-master/fs/smb/server/
H A Dserver.c41 static int ___server_conf_set(int idx, char *val) argument
46 if (!val || val[0] == 0x00)
50 server_conf.conf[idx] = kstrdup(val, GFP_KERNEL);
/linux-master/fs/smb/client/
H A Dsmb2pdu.c2591 sids->owner.SubAuthorities[2] = cpu_to_le32(current_fsuid().val);
2599 sids->group.SubAuthorities[2] = cpu_to_le32(current_fsgid().val);
2601 cifs_dbg(FYI, "owner S-1-5-88-1-%d, group S-1-5-88-2-%d\n", current_fsuid().val, current_fsgid().val);
H A Dsmb2ops.c71 int *val, rc = -1; local
79 val = server->ops->get_credits_field(server, optype);
82 if (((optype & CIFS_OP_MASK) == CIFS_NEG_OP) && (*val != 0))
86 *val += add;
90 if (*val > 65000) {
91 *val = 65000; /* Don't get near 64K credits, avoid srv bugs */
94 server->conn_id, server->hostname, *val,
118 scredits = *val;
170 smb2_set_credits(struct TCP_Server_Info *server, const int val) argument
175 server->credits = val;
348 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) argument
[all...]
H A Dconnect.c689 int val; local
692 val = server->credits + server->echo_credits + server->oplock_credits;
693 if (server->in_flight == 0 && val == 0) {
H A Dfs_context.c445 int smb3_parse_opt(const char *options, const char *key, char **val) argument
466 *val = kstrdup(nval, GFP_KERNEL);
467 rc = !*val ? -ENOMEM : 0;
637 * smb3_fs_context_parse_monolithic - Parse key[=val][,key[=val]]* mount data
641 * Parse a blob of data that's in key[=val][,key[=val]]* form. This can be
H A Dcifsproto.h91 extern int smb3_parse_opt(const char *options, const char *key, char **val);
H A Dcifsglob.h301 const unsigned int val);
895 set_credits(struct TCP_Server_Info *server, const int val) argument
897 server->ops->set_credits(server, val);
926 revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) argument
929 server->ops->revert_current_mid(server, val);
H A Dcifsfs.c325 buf->f_fsid.val[0] = tcon->vol_serial_number;
327 buf->f_fsid.val[1] = (int)le64_to_cpu(tcon->vol_create_time);
/linux-master/fs/bcachefs/
H A Dbtree_types.h651 #define x(kwd, val, ...) BKEY_TYPE_##kwd = val + 1,
/linux-master/drivers/usb/typec/tcpm/
H A Dtcpm.c7243 union power_supply_propval *val)
7247 val->intval = TCPM_PSY_PROG_ONLINE;
7249 val->intval = TCPM_PSY_FIXED_ONLINE;
7251 val->intval = TCPM_PSY_OFFLINE;
7258 union power_supply_propval *val)
7261 val->intval = port->pps_data.min_volt * 1000;
7263 val->intval = port->supply_voltage * 1000;
7269 union power_supply_propval *val)
7272 val->intval = port->pps_data.max_volt * 1000;
7274 val
7242 tcpm_psy_get_online(struct tcpm_port *port, union power_supply_propval *val) argument
7257 tcpm_psy_get_voltage_min(struct tcpm_port *port, union power_supply_propval *val) argument
7268 tcpm_psy_get_voltage_max(struct tcpm_port *port, union power_supply_propval *val) argument
7279 tcpm_psy_get_voltage_now(struct tcpm_port *port, union power_supply_propval *val) argument
7287 tcpm_psy_get_current_max(struct tcpm_port *port, union power_supply_propval *val) argument
7298 tcpm_psy_get_current_now(struct tcpm_port *port, union power_supply_propval *val) argument
7306 tcpm_psy_get_input_power_limit(struct tcpm_port *port, union power_supply_propval *val) argument
7327 tcpm_psy_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
7367 tcpm_psy_set_online(struct tcpm_port *port, const union power_supply_propval *val) argument
7387 tcpm_psy_set_prop(struct power_supply *psy, enum power_supply_property psp, const union power_supply_propval *val) argument
[all...]
/linux-master/drivers/usb/typec/mux/
H A Dit5205.c95 u8 val; local
103 val = IT5205_USB;
108 val = IT5205_DP;
111 val = IT5205_DP_USB;
116 val = 0;
121 IT5205_DP_USB_CTRL_MASK, val);
128 u32 val; local
130 ret = regmap_read(it->regmap, IT5205_REG_ISR, &val);
134 if (val & IT5205_ISR_CSBU_OVP) {
178 u32 val, chipi local
[all...]
/linux-master/drivers/usb/misc/
H A Donboard_usb_hub.c228 bool val; local
231 ret = kstrtobool(buf, &val);
235 hub->always_powered_in_suspend = val;
/linux-master/drivers/usb/gadget/function/
H A Df_ncm.c479 static inline void put_ncm(__le16 **p, unsigned size, unsigned val) argument
483 put_unaligned_le16((u16)val, *p);
486 put_unaligned_le32((u32)val, *p);
H A Df_fs.c2492 #define __entity_check_INTERFACE(val) 1
2493 #define __entity_check_STRING(val) (val)
2494 #define __entity_check_ENDPOINT(val) ((val) & USB_ENDPOINT_NUMBER_MASK)
2495 #define __entity(type, val) do { \
2496 pr_vdebug("entity " #type "(%02x)\n", (val)); \
2497 if (!__entity_check_ ##type(val)) { \
2501 ret = entity(FFS_ ##type, &val, _ds, priv); \
2504 (val), re
[all...]
/linux-master/drivers/tty/serial/
H A Dstm32-usart.c122 u32 val; local
124 val = readl_relaxed(port->membase + reg);
125 val |= bits;
126 writel_relaxed(val, port->membase + reg);
131 u32 val; local
133 val = readl_relaxed(port->membase + reg);
134 val &= ~bits;
135 writel_relaxed(val, port->membase + reg);
1082 u32 val; local
1091 val
1121 u32 val, isr; local
[all...]
H A Dmxs-auart.c487 static void mxs_write(unsigned int val, struct mxs_auart_port *uap, argument
492 writel_relaxed(val, addr);
495 static void mxs_set(unsigned int val, struct mxs_auart_port *uap, argument
500 writel_relaxed(val, addr + SET_REG);
503 static void mxs_clr(unsigned int val, struct mxs_auart_port *uap, argument
508 writel_relaxed(val, addr + CLR_REG);

Completed in 533 milliseconds

1234567891011>>