Home
last modified time | relevance | path

Searched refs:value (Results 20901 - 20925 of 24392) sorted by relevance

1...<<831832833834835836837838839840>>...976

/kernel/linux/linux-6.6/drivers/ssb/
H A Dpci.c108 * by the value of XTAL_PU which *is* readable via gpioin. in ssb_pci_xtal()
1035 static void ssb_pci_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pci_write8() argument
1045 iowrite8(value, bus->mmio + offset); in ssb_pci_write8()
1048 static void ssb_pci_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pci_write16() argument
1058 iowrite16(value, bus->mmio + offset); in ssb_pci_write16()
1061 static void ssb_pci_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pci_write32() argument
1071 iowrite32(value, bus->mmio + offset); in ssb_pci_write32()
/kernel/linux/linux-6.6/drivers/pmdomain/qcom/
H A Dcpr.c256 static void cpr_write(struct cpr_drv *drv, u32 offset, u32 value) in cpr_write() argument
258 writel_relaxed(value, drv->base + offset); in cpr_write()
267 cpr_masked_write(struct cpr_drv *drv, u32 offset, u32 mask, u32 value) in cpr_masked_write() argument
273 val |= value & mask; in cpr_masked_write()
299 static void cpr_ctl_modify(struct cpr_drv *drv, u32 mask, u32 value) in cpr_ctl_modify() argument
301 cpr_masked_write(drv, REG_RBCPR_CTL, mask, value); in cpr_ctl_modify()
379 /* Clear the target quotient value and gate count of all ROs */ in cpr_corner_restore()
698 * Clear the target quotient value and gate count of all in cpr_config()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dbq27xxx_battery.c1124 u16 value, bool single) in bq27xxx_write()
1134 ret = di->bus.write(di, di->regs[reg_index], value, single); in bq27xxx_write()
1545 * Return a battery charge value in µAh
1811 /* Other gauges return signed value */
1927 /* Other gauges return a signed value in units of 10mW */
1990 static int bq27xxx_simple_value(int value, argument
1993 if (value < 0)
1994 return value;
1996 val->intval = value;
1123 bq27xxx_write(struct bq27xxx_device_info *di, int reg_index, u16 value, bool single) bq27xxx_write() argument
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dmessage.c114 * @request: USB message request value
115 * @requesttype: USB message request type value
116 * @value: USB message value
117 * @index: USB message index value
138 __u8 requesttype, __u16 value, __u16 index, void *data, in usb_control_msg()
150 dr->wValue = cpu_to_le16(value); in usb_control_msg()
170 * @request: USB message request value
171 * @requesttype: USB message request type value
172 * @value
137 usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size, int timeout) usb_control_msg() argument
199 usb_control_msg_send(struct usb_device *dev, __u8 endpoint, __u8 request, __u8 requesttype, __u16 value, __u16 index, const void *driver_data, __u16 size, int timeout, gfp_t memflags) usb_control_msg_send() argument
264 usb_control_msg_recv(struct usb_device *dev, __u8 endpoint, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *driver_data, __u16 size, int timeout, gfp_t memflags) usb_control_msg_recv() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.c571 * Intentionally don't check the ret value of stop, it can fail in in bdc_ep_disable()
865 /* Halt/Clear the ep based on value */
866 static int ep_set_halt(struct bdc_ep *ep, u32 value) in ep_set_halt() argument
872 dev_dbg(bdc->dev, "%s ep:%s value=%d\n", __func__, ep->name, value); in ep_set_halt()
874 if (value) { in ep_set_halt()
1803 static int bdc_gadget_ep_set_halt(struct usb_ep *_ep, int value) in bdc_gadget_ep_set_halt() argument
1812 dev_dbg(bdc->dev, "%s ep:%s value=%d\n", __func__, ep->name, value); in bdc_gadget_ep_set_halt()
1819 ret = ep_set_halt(ep, value); in bdc_gadget_ep_set_halt()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c460 * Function prepares the array with optimized AXI burst value for different
1824 int value) in cdns2_halt_endpoint()
1839 if (!value) { in cdns2_halt_endpoint()
1885 static int cdns2_gadget_ep_set_halt(struct usb_ep *ep, int value) in cdns2_gadget_ep_set_halt() argument
1896 if (value && preq) { in cdns2_gadget_ep_set_halt()
1902 if (!value) in cdns2_gadget_ep_set_halt()
1905 ret = cdns2_halt_endpoint(pdev, pep, value); in cdns2_gadget_ep_set_halt()
1822 cdns2_halt_endpoint(struct cdns2_device *pdev, struct cdns2_endpoint *pep, int value) cdns2_halt_endpoint() argument
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Dcp210x.c695 * Writes any 16-bit CP210X_ register (req) whose value is passed
1507 static void cp210x_gpio_set(struct gpio_chip *gc, unsigned int gpio, int value) in cp210x_gpio_set() argument
1517 if (value == 1) in cp210x_gpio_set()
1560 dev_err(&serial->interface->dev, "failed to set GPIO value: %d\n", in cp210x_gpio_set()
1596 int value) in cp210x_gpio_direction_output()
1602 cp210x_gpio_set(gc, gpio, value); in cp210x_gpio_direction_output()
1757 * value is 1. in cp2104_gpioconf_init()
1812 * value is 1. in cp2108_gpio_init()
1916 * value is 1. in cp2102n_gpioconf_init()
2101 static int cp210x_get_fw_version(struct usb_serial *serial, u16 value) in cp210x_get_fw_version() argument
1595 cp210x_gpio_direction_output(struct gpio_chip *gc, unsigned int gpio, int value) cp210x_gpio_direction_output() argument
[all...]
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_worker.c452 static void fifo_set(struct fifo_buffer *fb, int value) in fifo_set() argument
457 fb->values[i] = value; in fifo_set()
460 static int fifo_push(struct fifo_buffer *fb, int value) in fifo_push() argument
465 fb->values[fb->head_index++] = value; in fifo_push()
473 static void fifo_add_val(struct fifo_buffer *fb, int value) in fifo_add_val() argument
478 fb->values[i] += value; in fifo_add_val()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hubp.c173 uint32_t value = 0; in hubp2_vready_at_or_After_vsync() local
187 value = 1; in hubp2_vready_at_or_After_vsync()
189 value = 0; in hubp2_vready_at_or_After_vsync()
192 REG_UPDATE(DCHUBP_CNTL, HUBP_VREADY_AT_OR_AFTER_VSYNC, value); in hubp2_vready_at_or_After_vsync()
1025 ASSERT(param->h_scale_ratio.value); in hubp2_cursor_set_position()
1027 if (param->h_scale_ratio.value) in hubp2_cursor_set_position()
1070 * There's a possibility that the above logic returns a negative value, in hubp2_cursor_set_position()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn321/
H A Ddcn321_resource.c121 #define SR_ARR_INIT(reg_name, id, value)\
122 REG_STRUCT[id].reg_name = value
1612 uint32_t value = REG_READ(CC_DC_PIPE_DIS); in read_pipe_fuses() local
1614 value = value & 0xf; in read_pipe_fuses()
1615 return value; in read_pipe_fuses()
1672 /* within dml lib, initial value is hard coded, if ASIC pipe is fused, the in dcn321_resource_construct()
1673 * value will be changed, update max_num_dpp and max_num_otg for dml. in dcn321_resource_construct()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_mpc.c287 *last base value for our lut is compute by adding the last base value in mpc3_program_ogam_pwl()
1022 uint32_t i, red, green, blue, value; in mpc3_set3dlut_ram10() local
1030 value = (red<<20) | (green<<10) | blue; in mpc3_set3dlut_ram10()
1032 REG_SET(RMU_3DLUT_DATA_30BIT[rmu_idx], 0, MPC_RMU_3DLUT_DATA_30BIT, value); in mpc3_set3dlut_ram10()
1320 int value) in mpc3_set_rmu_mux()
1325 REG_UPDATE(MPC_RMU_CONTROL, MPC_RMU0_MUX, value); in mpc3_set_rmu_mux()
1327 REG_UPDATE(MPC_RMU_CONTROL, MPC_RMU1_MUX, value); in mpc3_set_rmu_mux()
1317 mpc3_set_rmu_mux( struct mpc *mpc, int rmu_idx, int value) mpc3_set_rmu_mux() argument
/kernel/linux/linux-6.6/drivers/dma/
H A Dat_hdmac.c201 /* value that may get written back: */
608 * value read from CTRLA.
611 * @ctrla: the value of CTRLA
632 * the value of the channel's DSCR register and compare it against the DSCR
633 * value of each LLI.
659 * to the very same LLI as well as the CTRLA value read inbetween does. For
663 * reach. This algorithm is very unlikely not to find a stable value for DSCR.
686 * If the DSCR register value has not changed inside the DMA in atc_get_llis_residue()
695 * read value of CTRLA may refer to an already processed in atc_get_llis_residue()
1079 * @value
1084 atc_prep_dma_memset(struct dma_chan *chan, dma_addr_t dest, int value, size_t len, unsigned long flags) atc_prep_dma_memset() argument
1096 &dest, value, len, flags); atc_prep_dma_memset() local
1152 atc_prep_dma_memset_sg(struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len, int value, unsigned long flags) atc_prep_dma_memset_sg() argument
1168 value, sg_len, flags); atc_prep_dma_memset_sg() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c929 static int qat_rsa_set_n(struct qat_rsa_ctx *ctx, const char *value, in qat_rsa_set_n() argument
934 const char *ptr = value; in qat_rsa_set_n()
961 static int qat_rsa_set_e(struct qat_rsa_ctx *ctx, const char *value, in qat_rsa_set_e() argument
966 const char *ptr = value; in qat_rsa_set_e()
986 static int qat_rsa_set_d(struct qat_rsa_ctx *ctx, const char *value, in qat_rsa_set_d() argument
991 const char *ptr = value; in qat_rsa_set_d()
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dds.c420 u64 value; member
1302 u64 value = ds->pebs_event_reset[hwc->idx]; in intel_pmu_pebs_via_pt_enable() local
1318 value = ds->pebs_event_reset[MAX_PEBS_EVENTS_FMT4 + idx]; in intel_pmu_pebs_via_pt_enable()
1320 value = ds->pebs_event_reset[MAX_PEBS_EVENTS + idx]; in intel_pmu_pebs_via_pt_enable()
1322 wrmsrl(base + idx, value); in intel_pmu_pebs_via_pt_enable()
1539 union hsw_tsx_tuning tsx = { .value = tsx_tuning }; in intel_get_tsx_weight()
1997 * Since the counter increments a negative counter value and in intel_pmu_save_and_restart_reload()
2056 * The reload value is always hwc->sample_period. in __intel_pmu_pebs_event()
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c317 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
584 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) in mdio_write() argument
588 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value; in mdio_write()
592 np->mii_if.advertising = value; in mdio_write()
1423 static void netdev_set_msglevel(struct net_device *dev, u32 value) in netdev_set_msglevel() argument
1425 debug = value; in netdev_set_msglevel()
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.c257 pool->phys = pool->hw_addr; /* assumes no IOMMU, don't use this value */ in cpdma_desc_pool_create()
306 static int _cpdma_control_set(struct cpdma_ctlr *ctlr, int control, int value) in _cpdma_control_set() argument
325 val |= (value & info->mask) << info->shift; in _cpdma_control_set()
664 void cpdma_ctlr_eoi(struct cpdma_ctlr *ctlr, u32 value) in cpdma_ctlr_eoi() argument
666 dma_reg_write(ctlr, CPDMA_MACEOIVECTOR, value); in cpdma_ctlr_eoi()
1403 int cpdma_control_set(struct cpdma_ctlr *ctlr, int control, int value) in cpdma_control_set() argument
1409 ret = _cpdma_control_set(ctlr, control, value); in cpdma_control_set()
/kernel/linux/linux-6.6/drivers/net/fddi/
H A Ddefxx.c43 * against the expected value.
329 * data - for dfx_port_write_long, this is a value to write;
331 * the read value
1050 u32 data; /* host data register value */ in dfx_driver_init()
1245 * bp->reset_type should be set to a valid reset type value before
1339 /* Set transmit flush timeout value */ in dfx_adap_init()
1343 bp->cmd_req_virt->char_set.item[0].value = 3; /* 3 seconds */ in dfx_adap_init()
1356 bp->cmd_req_virt->snmp_set.item[0].value = bp->full_duplex_enb; in dfx_adap_init()
1359 bp->cmd_req_virt->snmp_set.item[1].value = bp->req_ttrt; in dfx_adap_init()
1630 PI_UINT32 port_status; /* PDQ port status register value */ in dfx_int_pr_halt_id()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c237 static int s5c73m3_check_status(struct s5c73m3 *state, unsigned int value) in s5c73m3_check_status() argument
247 if (ret < 0 || status == value) in s5c73m3_check_status()
258 if (ret == 0 && status != value) { in s5c73m3_check_status()
267 status, value, i2c_status, i2c_seq_status); in s5c73m3_check_status()
461 static int s5c73m3_system_status_wait(struct s5c73m3 *state, u32 value, in s5c73m3_system_status_wait() argument
470 if (reg == value) in s5c73m3_system_status_wait()
1575 * always a default value of 4 lanes is used. in s5c73m3_get_dt_data()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov7251.c959 static int ov7251_set_hflip(struct ov7251 *ov7251, s32 value) in ov7251_set_hflip() argument
964 if (value) in ov7251_set_hflip()
976 static int ov7251_set_vflip(struct ov7251 *ov7251, s32 value) in ov7251_set_vflip() argument
981 if (value) in ov7251_set_vflip()
993 static int ov7251_set_test_pattern(struct ov7251 *ov7251, s32 value) in ov7251_set_test_pattern() argument
998 if (value) in ov7251_set_test_pattern()
1720 dev_err(dev, "could not read test pattern value\n"); in ov7251_probe()
1728 dev_err(dev, "could not read vflip value\n"); in ov7251_probe()
1736 dev_err(dev, "could not read hflip value\n"); in ov7251_probe()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_av1_req_lat_if.c28 #define AV1_DIV_ROUND_UP_POW2(value, n) \
31 typeof(value) _value = value; \
35 #define AV1_DIV_ROUND_UP_POW2_SIGNED(value, n) \
38 typeof(value) _value_ = value; \
258 * @feature_enabled_mask: the corresponding feature value is coded or not.
294 * coefficients and as the base value for the other quantizers.
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwsignal.c43 * A length value 0 indicates variable length tlv.
236 #define brcmf_skb_if_flags_set_field(skb, field, value) \
239 BRCMF_SKB_IF_FLAGS_ ## field ## _SHIFT, (value))
271 #define brcmf_skb_htod_tag_set_field(skb, field, value) \
274 BRCMF_SKB_HTOD_TAG_ ## field ## _SHIFT, (value))
287 #define brcmf_skb_htod_seq_set_field(skb, field, value) \
290 BRCMF_SKB_HTOD_SEQ_ ## field ## _SHIFT, (value))
/kernel/linux/linux-6.6/arch/x86/kvm/svm/
H A Dnested.c211 u32 value, p; in nested_svm_vmrun_msrpm() local
225 if (kvm_vcpu_read_guest(&svm->vcpu, offset, &value, 4)) in nested_svm_vmrun_msrpm()
228 svm->nested.msrpm[p] = svm->msrpm[p] | value; in nested_svm_vmrun_msrpm()
1051 * is stored in vmcb02, but its value doesn't need to be copied from/to in nested_svm_vmexit()
1251 u32 offset, msr, value; in nested_svm_exit_handled_msr() local
1268 if (kvm_vcpu_read_guest(&svm->vcpu, svm->nested.ctl.msrpm_base_pa + offset, &value, 4)) in nested_svm_exit_handled_msr()
1271 return (value & mask) ? NESTED_EXIT_DONE : NESTED_EXIT_HOST; in nested_svm_exit_handled_msr()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_connector.c496 * majority of drivers ignores the return value, so add in a big WARN in drm_connector_attach_encoder()
1003 * drm_get_tv_mode_from_name - Translates a TV mode name into its enum value in DRM_ENUM_NAME_FN()
1009 * Returns: the enum value on success, a negative errno otherwise. in DRM_ENUM_NAME_FN()
1170 * lot more complicated. First, userspace cannot rely on the "DPMS" value
1181 * the software value on legacy drivers.
1185 * never read back the value of "DPMS" because it can be incorrect.
1200 * should update this value using drm_connector_set_tile_property().
1204 * default value of link-status is "GOOD". If something fails during or
1206 * hotplug uevent. Drivers should update this value using
1247 * The value o
2797 drm_connector_set_obj_prop(struct drm_mode_object *obj, struct drm_property *property, uint64_t value) drm_connector_set_obj_prop() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_powertune.c908 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in smu7_program_pt_config_registers()
929 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in smu7_program_pt_config_registers()
962 uint32_t count, value, value2; in smu7_enable_didt_config() local
975 value = 0; in smu7_enable_didt_config()
978 value = SYS_GRBM_GFX_INDEX_DATA__INSTANCE_BROADCAST_WRITES_MASK in smu7_enable_didt_config()
981 cgs_write_register(hwmgr->device, mmGRBM_GFX_INDEX, value); in smu7_enable_didt_config()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dw83627ehf.c151 * REG_MAN_ID has the value 0x5ca3 for all supported chips.
329 u8 in[10]; /* Register value */
330 u8 in_max[10]; /* Register value */
331 u8 in_min[10]; /* Register value */
354 u8 pwm_enable_orig[4]; /* original value of pwm_enable */
364 u8 fan_step_output[4]; /* rate of change output value */
422 u16 value) in w83627ehf_write_value()
431 outb_p(value >> 8, data->addr + DATA_REG_OFFSET); in w83627ehf_write_value()
435 outb_p(value & 0xff, data->addr + DATA_REG_OFFSET); in w83627ehf_write_value()
454 u16 value) in w83627ehf_write_temp()
421 w83627ehf_write_value(struct w83627ehf_data *data, u16 reg, u16 value) w83627ehf_write_value() argument
453 w83627ehf_write_temp(struct w83627ehf_data *data, u16 reg, u16 value) w83627ehf_write_temp() argument
[all...]

Completed in 67 milliseconds

1...<<831832833834835836837838839840>>...976