/linux-master/drivers/pwm/ |
H A D | pwm-crc.c | 53 const struct pwm_state *state) 59 if (state->period > PWM_MAX_PERIOD_NS) { 64 if (state->polarity != PWM_POLARITY_NORMAL) 67 if (pwm_is_enabled(pwm) && !state->enabled) { 75 if (pwm_get_duty_cycle(pwm) != state->duty_cycle || 76 pwm_get_period(pwm) != state->period) { 77 u64 level = state->duty_cycle * PWM_MAX_LEVEL; 79 do_div(level, state->period); 88 if (pwm_is_enabled(pwm) && state->enabled && 89 pwm_get_period(pwm) != state 52 crc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) argument 122 crc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) argument [all...] |
/linux-master/drivers/media/i2c/ |
H A D | adv7511-v4l2.c | 218 struct adv7511_state *state = get_adv7511_state(sd); local 226 ret = i2c_smbus_read_i2c_block_data(state->i2c_edid, i, 239 struct adv7511_state *state = get_adv7511_state(sd); local 241 return i2c_smbus_read_byte_data(state->i2c_cec, reg); 246 struct adv7511_state *state = get_adv7511_state(sd); local 251 ret = i2c_smbus_write_byte_data(state->i2c_cec, reg, val); 267 struct adv7511_state *state = get_adv7511_state(sd); local 269 return adv_smbus_read_byte_data(state->i2c_pktmem, reg); 346 struct adv7511_state *state = get_adv7511_state(sd); local 349 if (state 382 struct adv7511_state *state = get_adv7511_state(sd); local 418 struct adv7511_state *state = get_adv7511_state(sd); local 427 struct adv7511_state *state = get_adv7511_state(sd); local 450 struct adv7511_state *state = get_adv7511_state(sd); local 547 struct adv7511_state *state = get_adv7511_state(sd); local 643 struct adv7511_state *state = get_adv7511_state(sd); local 696 struct adv7511_state *state = cec_get_drvdata(adap); local 731 struct adv7511_state *state = cec_get_drvdata(adap); local 786 struct adv7511_state *state = cec_get_drvdata(adap); local 821 struct adv7511_state *state = get_adv7511_state(sd); local 873 struct adv7511_state *state = get_adv7511_state(sd); local 938 struct adv7511_state *state = get_adv7511_state(sd); local 985 struct adv7511_state *state = get_adv7511_state(sd); local 1001 struct adv7511_state *state = get_adv7511_state(sd); local 1048 struct adv7511_state *state = get_adv7511_state(sd); local 1168 struct adv7511_state *state = get_adv7511_state(sd); local 1218 adv7511_fill_format(struct adv7511_state *state, struct v4l2_mbus_framefmt *format) argument 1230 struct adv7511_state *state = get_adv7511_state(sd); local 1262 struct adv7511_state *state = get_adv7511_state(sd); local 1442 struct adv7511_state *state = get_adv7511_state(sd); local 1457 struct adv7511_state *state = container_of(dwork, struct adv7511_state, edid_handler); local 1499 struct adv7511_state *state = get_adv7511_state(sd); local 1533 struct adv7511_state *state = get_adv7511_state(sd); local 1541 struct adv7511_state *state = get_adv7511_state(sd); local 1599 struct adv7511_state *state = get_adv7511_state(sd); local 1615 struct adv7511_state *state = get_adv7511_state(sd); local 1625 struct adv7511_state *state = get_adv7511_state(sd); local 1697 struct adv7511_state *state = get_adv7511_state(sd); local 1709 struct adv7511_state *state = get_adv7511_state(sd); local 1723 struct adv7511_state *state = get_adv7511_state(sd); local 1768 struct adv7511_state *state; local 1929 struct adv7511_state *state = get_adv7511_state(sd); local [all...] |
H A D | wm8739.c | 87 struct wm8739_state *state = to_state(sd); local 102 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; 103 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; 109 mute = state->mute->val ? 0x80 : 0; 123 struct wm8739_state *state = to_state(sd); local 125 state->clock_freq = audiofreq; 151 struct wm8739_state *state = to_state(sd); local 153 v4l2_info(sd, "Frequency: %u Hz\n", state 183 struct wm8739_state *state; local 239 struct wm8739_state *state = to_state(sd); local [all...] |
H A D | adv7393.c | 137 struct adv7393_state *state = to_state(sd); local 162 val = state->reg80 & ~SD_STD_MASK; 168 state->reg80 = val; 171 val = state->reg01 & ~INPUT_MODE_MASK; 177 state->reg01 = val; 188 val = state->reg82; 200 state->reg82 = val; 211 struct adv7393_state *state = to_state(sd); local 223 val = state->reg00 & 0x03; 236 state 275 struct adv7393_state *state = to_state(sd); local 313 struct adv7393_state *state = to_state(sd); local 329 struct adv7393_state *state = to_state(sd); local 354 struct adv7393_state *state = to_state(sd); local 386 struct adv7393_state *state; local 442 struct adv7393_state *state = to_state(sd); local [all...] |
/linux-master/block/partitions/ |
H A D | msdos.c | 72 static int aix_magic_present(struct parsed_partitions *state, unsigned char *p) argument 99 d = read_part_sector(state, 7, §); 108 static void set_info(struct parsed_partitions *state, int slot, argument 111 struct partition_meta_info *info = &state->parts[slot].info; 116 state->parts[slot].has_info = true; 130 static void parse_extended(struct parsed_partitions *state, argument 143 sector_size = queue_logical_block_size(state->disk->queue) / 512; 150 if (state->next == state->limit) 152 data = read_part_sector(state, this_secto 250 parse_solaris_x86(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) argument 355 parse_bsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin, char *flavour, int max_partitions) argument 409 parse_freebsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) argument 417 parse_netbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) argument 425 parse_openbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) argument 483 parse_unixware(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) argument 529 parse_minix(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) argument 581 msdos_partition(struct parsed_partitions *state) argument [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | as102_fe.c | 56 struct as102_state *state = fe->demodulator_priv; local 181 return state->ops->set_tune(state->priv, &tune_args); 187 struct as102_state *state = fe->demodulator_priv; local 192 ret = state->ops->get_tps(state->priv, &tps); 304 struct as102_state *state = fe->demodulator_priv; local 308 ret = state->ops->get_status(state->priv, &tstate); 312 state 356 struct as102_state *state = fe->demodulator_priv; local 365 struct as102_state *state = fe->demodulator_priv; local 375 struct as102_state *state = fe->demodulator_priv; local 384 struct as102_state *state = fe->demodulator_priv; local 396 struct as102_state *state = fe->demodulator_priv; local 404 struct as102_state *state = fe->demodulator_priv; local 447 struct as102_state *state; local [all...] |
/linux-master/drivers/media/tuners/ |
H A D | mxl301rf.c | 35 static int raw_write(struct mxl301rf_state *state, const u8 *buf, int len) argument 39 ret = i2c_master_send(state->i2c, buf, len); 45 static int reg_write(struct mxl301rf_state *state, u8 reg, u8 val) argument 49 return raw_write(state, buf, 2); 52 static int reg_read(struct mxl301rf_state *state, u8 reg, u8 *val) argument 57 ret = raw_write(state, wbuf, sizeof(wbuf)); 59 ret = i2c_master_recv(state->i2c, val, 1); 70 struct mxl301rf_state *state; local 82 state = fe->tuner_priv; 83 ret = reg_write(state, 171 struct mxl301rf_state *state; local 236 struct mxl301rf_state *state; local 254 struct mxl301rf_state *state; local 288 struct mxl301rf_state *state; local 311 struct mxl301rf_state *state; local [all...] |
/linux-master/drivers/media/test-drivers/vicodec/ |
H A D | codec-v4l2-fwht.c | 212 int v4l2_fwht_encode(struct v4l2_fwht_state *state, u8 *p_in, u8 *p_out) argument 214 unsigned int size = state->stride * state->coded_height; 215 unsigned int chroma_stride = state->stride; 216 const struct v4l2_fwht_pixfmt_info *info = state->info; 236 cf.i_frame_qp = state->i_frame_qp; 237 cf.p_frame_qp = state->p_frame_qp; 240 encoding = fwht_encode_frame(&rf, &state->ref_frame, &cf, 241 !state->gop_cnt, 242 state 282 v4l2_fwht_decode(struct v4l2_fwht_state *state, u8 *p_in, u8 *p_out) argument [all...] |
/linux-master/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 197 /* Some common HW state calculation code */ 203 uint8_t *regs = priv->state.regs; 234 struct ch7006_state *state = &priv->state; local 242 setbitf(state, CH7006_SUBC_INC0, 28, subc_inc); 243 setbitf(state, CH7006_SUBC_INC1, 24, subc_inc); 244 setbitf(state, CH7006_SUBC_INC2, 20, subc_inc); 245 setbitf(state, CH7006_SUBC_INC3, 16, subc_inc); 246 setbitf(state, CH7006_SUBC_INC4, 12, subc_inc); 247 setbitf(state, CH7006_SUBC_INC 329 struct ch7006_state *state = &priv->state; local 400 ch7006_state_load(struct i2c_client *client, struct ch7006_state *state) argument 434 ch7006_state_save(struct i2c_client *client, struct ch7006_state *state) argument [all...] |
/linux-master/include/linux/platform_data/ |
H A D | mmc-sdhci-s3c.h | 26 * state is new state of the card (0 - removed, 1 - inserted). 49 int state)); 51 int state));
|
/linux-master/include/linux/ |
H A D | i2c-algo-bit.h | 23 void (*setsda) (void *data, int state); 24 void (*setscl) (void *data, int state);
|
/linux-master/arch/arm/mach-mxs/ |
H A D | pm.c | 11 static int mxs_suspend_enter(suspend_state_t state) argument 13 switch (state) {
|
/linux-master/arch/mips/include/asm/ |
H A D | pm-cps.h | 32 * cps_pm_support_state - determine whether the system supports a PM state 33 * @state: the state to test for support 35 * Returns true if the system supports the given state, otherwise false. 37 extern bool cps_pm_support_state(enum cps_pm_state state); 40 * cps_pm_enter_state - enter a PM state 41 * @state: the state to enter 43 * Enter the given PM state. If coupled_coherence is non-zero then it is 47 extern int cps_pm_enter_state(enum cps_pm_state state); [all...] |
/linux-master/drivers/cpuidle/ |
H A D | cpuidle-psci.h | 9 void psci_set_domain_state(u32 state); 10 int psci_dt_parse_state_node(struct device_node *np, u32 *state);
|
/linux-master/include/crypto/internal/ |
H A D | blake2s.h | 13 void blake2s_compress_generic(struct blake2s_state *state, const u8 *block, 16 void blake2s_compress(struct blake2s_state *state, const u8 *block,
|
/linux-master/include/drm/ |
H A D | drm_fb_dma_helper.h | 15 struct drm_plane_state *state, 20 struct drm_plane_state *state);
|
/linux-master/arch/arm/mach-imx/ |
H A D | pm-imx25.c | 11 static int imx25_suspend_enter(suspend_state_t state) argument 16 switch (state) {
|
/linux-master/arch/x86/kernel/acpi/ |
H A D | sleep.h | 21 asmlinkage acpi_status x86_acpi_enter_sleep_state(u8 state);
|
/linux-master/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_mipi_dsi.h | 18 struct drm_atomic_state *state); 22 struct drm_atomic_state *state) 21 rcar_mipi_dsi_pclk_enable(struct drm_bridge *bridge, struct drm_atomic_state *state) argument
|
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | isys_irq_public.h | 24 isys_irqc_state_t *state); 27 const isys_irqc_state_t *state);
|
H A D | pixelgen_public.h | 25 * @brief Get the pixelgen state. 26 * Get the state of the pixelgen regiester-set. 29 * @param[out] state Point to the register-state. 33 pixelgen_ctrl_state_t *state); 35 * @brief Dump the pixelgen state. 36 * Dump the state of the pixelgen regiester-set. 39 * @param[in] state Point to the register-state. 43 pixelgen_ctrl_state_t *state); [all...] |
/linux-master/arch/loongarch/kernel/ |
H A D | elf.c | 16 bool is_interp, struct arch_elf_state *state) 22 struct arch_elf_state *state) 15 arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, bool is_interp, struct arch_elf_state *state) argument 21 arch_check_elf(void *_ehdr, bool has_interpreter, void *_interp_ehdr, struct arch_elf_state *state) argument
|
/linux-master/drivers/acpi/riscv/ |
H A D | cpuidle.c | 38 u32 state; local 54 state = lpi->address; 55 if (!riscv_sbi_suspend_state_is_valid(state)) { 56 pr_warn("Invalid SBI power state %#x\n", state); 71 u32 state = lpi->address; local 73 if (state & SBI_HSM_SUSP_NON_RET_BIT) 76 state); 80 state);
|
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-i2c.c | 22 static int mxl111sf_i2c_bitbang_sendbyte(struct mxl111sf_state *state, argument 30 ret = mxl111sf_read_reg(state, SW_I2C_BUSY_ADDR, &data); 38 ret = mxl111sf_write_reg(state, SW_I2C_ADDR, 43 ret = mxl111sf_write_reg(state, SW_I2C_ADDR, 48 ret = mxl111sf_write_reg(state, SW_I2C_ADDR, 56 ret = mxl111sf_write_reg(state, SW_I2C_ADDR, 63 ret = mxl111sf_write_reg(state, SW_I2C_ADDR, 68 ret = mxl111sf_read_reg(state, SW_I2C_BUSY_ADDR, &data); 73 ret = mxl111sf_write_reg(state, SW_I2C_ADDR, 84 static int mxl111sf_i2c_bitbang_recvbyte(struct mxl111sf_state *state, argument 124 mxl111sf_i2c_start(struct mxl111sf_state *state) argument 147 mxl111sf_i2c_stop(struct mxl111sf_state *state) argument 175 mxl111sf_i2c_ack(struct mxl111sf_state *state) argument 204 mxl111sf_i2c_nack(struct mxl111sf_state *state) argument 225 mxl111sf_i2c_sw_xfer_msg(struct mxl111sf_state *state, struct i2c_msg *msg) argument 307 mxl111sf_i2c_send_data(struct mxl111sf_state *state, u8 index, u8 *wdata) argument 317 mxl111sf_i2c_get_data(struct mxl111sf_state *state, u8 index, u8 *wdata, u8 *rdata) argument 327 mxl111sf_i2c_check_status(struct mxl111sf_state *state) argument 351 mxl111sf_i2c_check_fifo(struct mxl111sf_state *state) argument 381 mxl111sf_i2c_readagain(struct mxl111sf_state *state, u8 count, u8 *rbuf) argument 427 mxl111sf_i2c_hw_xfer_msg(struct mxl111sf_state *state, struct i2c_msg *msg) argument 803 struct mxl111sf_state *state = d->priv; local [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_global_state.h | 20 struct intel_global_state *state); 25 struct intel_global_state *state; member in struct:intel_global_obj 61 struct intel_atomic_state *state; member in struct:intel_global_state 69 struct intel_global_state *state, *old_state, *new_state; member in struct:__intel_global_objs_state 74 struct intel_global_state *state, 79 intel_atomic_get_global_obj_state(struct intel_atomic_state *state, 82 intel_atomic_get_old_global_obj_state(struct intel_atomic_state *state, 85 intel_atomic_get_new_global_obj_state(struct intel_atomic_state *state, 88 void intel_atomic_swap_global_state(struct intel_atomic_state *state); 89 void intel_atomic_clear_global_state(struct intel_atomic_state *state); [all...] |