/drivers/scsi/arm/ |
D | fas216.c | 144 static inline unsigned char fas216_readb(FAS216_Info *info, unsigned int reg) in fas216_readb() argument 146 unsigned int off = reg << info->scsi.io_shift; in fas216_readb() 147 return readb(info->scsi.io_base + off); in fas216_readb() 150 static inline void fas216_writeb(FAS216_Info *info, unsigned int reg, unsigned int val) in fas216_writeb() argument 152 unsigned int off = reg << info->scsi.io_shift; in fas216_writeb() 153 writeb(val, info->scsi.io_base + off); in fas216_writeb() 156 static void fas216_dumpstate(FAS216_Info *info) in fas216_dumpstate() argument 160 is = fas216_readb(info, REG_IS); in fas216_dumpstate() 161 stat = fas216_readb(info, REG_STAT); in fas216_dumpstate() 162 inst = fas216_readb(info, REG_INST); in fas216_dumpstate() [all …]
|
D | cumana_2.c | 78 FAS216_Info info; member 96 struct cumanascsi2_info *info = ec->irq_data; in cumanascsi_2_irqenable() local 97 writeb(ALATCH_ENA_INT, info->base + CUMANASCSI2_ALATCH); in cumanascsi_2_irqenable() 108 struct cumanascsi2_info *info = ec->irq_data; in cumanascsi_2_irqdisable() local 109 writeb(ALATCH_DIS_INT, info->base + CUMANASCSI2_ALATCH); in cumanascsi_2_irqdisable() 125 struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi_2_terminator_ctl() local 128 info->terms = 1; in cumanascsi_2_terminator_ctl() 129 writeb(ALATCH_ENA_TERM, info->base + CUMANASCSI2_ALATCH); in cumanascsi_2_terminator_ctl() 131 info->terms = 0; in cumanascsi_2_terminator_ctl() 132 writeb(ALATCH_DIS_TERM, info->base + CUMANASCSI2_ALATCH); in cumanascsi_2_terminator_ctl() [all …]
|
D | powertec.c | 61 FAS216_Info info; member 76 struct powertec_info *info = ec->irq_data; in powertecscsi_irqenable() local 77 writeb(POWERTEC_INTR_ENABLE, info->base + POWERTEC_INTR_CONTROL); in powertecscsi_irqenable() 88 struct powertec_info *info = ec->irq_data; in powertecscsi_irqdisable() local 89 writeb(POWERTEC_INTR_DISABLE, info->base + POWERTEC_INTR_CONTROL); in powertecscsi_irqdisable() 105 struct powertec_info *info = (struct powertec_info *)host->hostdata; in powertecscsi_terminator_ctl() local 107 info->term_ctl = on_off ? POWERTEC_TERM_ENABLE : 0; in powertecscsi_terminator_ctl() 108 writeb(info->term_ctl, info->base + POWERTEC_TERM_CONTROL); in powertecscsi_terminator_ctl() 118 struct powertec_info *info = dev_id; in powertecscsi_intr() local 120 return fas216_intr(&info->info); in powertecscsi_intr() [all …]
|
/drivers/tty/ |
D | synclink_gt.c | 41 #define DBGDATA(info, buf, size, label) if (debug_level >= DEBUG_LEVEL_DATA) trace_block((info), (b… argument 395 #define slgt_irq_on(info, mask) \ argument 396 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) | (mask))) 397 #define slgt_irq_off(info, mask) \ argument 398 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) & ~(mask))) 400 static __u8 rd_reg8(struct slgt_info *info, unsigned int addr); 401 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value); 402 static __u16 rd_reg16(struct slgt_info *info, unsigned int addr); 403 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value); 404 static __u32 rd_reg32(struct slgt_info *info, unsigned int addr); [all …]
|
/drivers/gpu/drm/tests/ |
D | drm_format_test.c | 14 const struct drm_format_info *info = NULL; in drm_test_format_block_width_invalid() local 16 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 0); in drm_test_format_block_width_invalid() 17 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0); in drm_test_format_block_width_invalid() 18 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0); in drm_test_format_block_width_invalid() 23 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_XRGB4444); in drm_test_format_block_width_one_plane() local 25 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_one_plane() 27 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 1); in drm_test_format_block_width_one_plane() 28 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0); in drm_test_format_block_width_one_plane() 29 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0); in drm_test_format_block_width_one_plane() 34 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_NV12); in drm_test_format_block_width_two_plane() local [all …]
|
/drivers/power/supply/ |
D | 88pm860x_charger.c | 116 static int measure_vchg(struct pm860x_charger_info *info, int *data) in measure_vchg() argument 121 ret = pm860x_bulk_read(info->i2c, PM8607_VCHG_MEAS1, 2, buf); in measure_vchg() 129 dev_dbg(info->dev, "%s, vchg: %d mv\n", __func__, *data); in measure_vchg() 134 static void set_vchg_threshold(struct pm860x_charger_info *info, in set_vchg_threshold() argument 144 pm860x_reg_write(info->i2c, PM8607_VCHG_LOWTH, data); in set_vchg_threshold() 145 dev_dbg(info->dev, "VCHG_LOWTH:%dmv, 0x%x\n", min, data); in set_vchg_threshold() 151 pm860x_reg_write(info->i2c, PM8607_VCHG_HIGHTH, data); in set_vchg_threshold() 152 dev_dbg(info->dev, "VCHG_HIGHTH:%dmv, 0x%x\n", max, data); in set_vchg_threshold() 156 static void set_vbatt_threshold(struct pm860x_charger_info *info, in set_vbatt_threshold() argument 166 pm860x_reg_write(info->i2c, PM8607_VBAT_LOWTH, data); in set_vbatt_threshold() [all …]
|
D | axp288_charger.c | 153 static inline int axp288_charger_set_cc(struct axp288_chrg_info *info, int cc) in axp288_charger_set_cc() argument 160 else if (cc > info->max_cc) in axp288_charger_set_cc() 161 cc = info->max_cc; in axp288_charger_set_cc() 167 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cc() 171 info->cc = cc; in axp288_charger_set_cc() 176 static inline int axp288_charger_set_cv(struct axp288_chrg_info *info, int cv) in axp288_charger_set_cv() argument 197 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cv() 202 info->cv = cv; in axp288_charger_set_cv() 207 static int axp288_charger_get_vbus_inlmt(struct axp288_chrg_info *info) in axp288_charger_get_vbus_inlmt() argument 211 val = info->backend_control; in axp288_charger_get_vbus_inlmt() [all …]
|
D | 88pm860x_battery.c | 154 static int measure_12bit_voltage(struct pm860x_battery_info *info, in measure_12bit_voltage() argument 160 ret = pm860x_bulk_read(info->i2c, offset, 2, buf); in measure_12bit_voltage() 170 static int measure_vbatt(struct pm860x_battery_info *info, int state, in measure_vbatt() argument 178 ret = measure_12bit_voltage(info, PM8607_VBAT_MEAS1, data); in measure_vbatt() 194 ret = pm860x_bulk_read(info->i2c, PM8607_LDO5, 5, buf); in measure_vbatt() 213 static int measure_current(struct pm860x_battery_info *info, int *data) in measure_current() argument 219 ret = pm860x_bulk_read(info->i2c, PM8607_IBAT_MEAS1, 2, buf); in measure_current() 229 static int set_charger_current(struct pm860x_battery_info *info, int data, in set_charger_current() argument 238 *old = pm860x_reg_read(info->i2c, PM8607_CHG_CTRL2); in set_charger_current() 240 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL2, 0x1f, data); in set_charger_current() [all …]
|
D | sc2731_charger.c | 67 static void sc2731_charger_stop_charge(struct sc2731_charger_info *info) in sc2731_charger_stop_charge() argument 69 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge() 72 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge() 76 static int sc2731_charger_start_charge(struct sc2731_charger_info *info) in sc2731_charger_start_charge() argument 81 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge() 87 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge() 91 static int sc2731_charger_set_current_limit(struct sc2731_charger_info *info, in sc2731_charger_set_current_limit() argument 105 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG5, in sc2731_charger_set_current_limit() 110 static int sc2731_charger_set_current(struct sc2731_charger_info *info, u32 cur) in sc2731_charger_set_current() argument 124 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_set_current() [all …]
|
/drivers/usb/common/ |
D | usb-conn-gpio.c | 67 struct usb_conn_info *info; in usb_conn_detect_cable() local 71 info = container_of(to_delayed_work(work), in usb_conn_detect_cable() 75 id = info->id_gpiod ? in usb_conn_detect_cable() 76 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable() 77 vbus = info->vbus_gpiod ? in usb_conn_detect_cable() 78 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_conn_detect_cable() 87 dev_dbg(info->dev, "role %s -> %s, gpios: id %d, vbus %d\n", in usb_conn_detect_cable() 88 usb_role_string(info->last_role), usb_role_string(role), id, vbus); in usb_conn_detect_cable() 90 if (!info->initial_detection && info->last_role == role) { in usb_conn_detect_cable() 91 dev_warn(info->dev, "repeated role: %s\n", usb_role_string(role)); in usb_conn_detect_cable() [all …]
|
/drivers/iio/adc/ |
D | exynos_adc.c | 163 void (*init_hw)(struct exynos_adc *info); 164 void (*exit_hw)(struct exynos_adc *info); 165 void (*clear_irq)(struct exynos_adc *info); 166 void (*start_conv)(struct exynos_adc *info, unsigned long addr); 169 static void exynos_adc_unprepare_clk(struct exynos_adc *info) in exynos_adc_unprepare_clk() argument 171 if (info->data->needs_sclk) in exynos_adc_unprepare_clk() 172 clk_unprepare(info->sclk); in exynos_adc_unprepare_clk() 173 clk_unprepare(info->clk); in exynos_adc_unprepare_clk() 176 static int exynos_adc_prepare_clk(struct exynos_adc *info) in exynos_adc_prepare_clk() argument 180 ret = clk_prepare(info->clk); in exynos_adc_prepare_clk() [all …]
|
/drivers/rtc/ |
D | rtc-s3c.c | 52 void (*irq_handler) (struct s3c_rtc *info, int mask); 53 void (*enable) (struct s3c_rtc *info); 54 void (*disable) (struct s3c_rtc *info); 57 static int s3c_rtc_enable_clk(struct s3c_rtc *info) in s3c_rtc_enable_clk() argument 61 ret = clk_enable(info->rtc_clk); in s3c_rtc_enable_clk() 65 if (info->data->needs_src_clk) { in s3c_rtc_enable_clk() 66 ret = clk_enable(info->rtc_src_clk); in s3c_rtc_enable_clk() 68 clk_disable(info->rtc_clk); in s3c_rtc_enable_clk() 75 static void s3c_rtc_disable_clk(struct s3c_rtc *info) in s3c_rtc_disable_clk() argument 77 if (info->data->needs_src_clk) in s3c_rtc_disable_clk() [all …]
|
/drivers/acpi/acpica/ |
D | nseval.c | 42 acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info) in acpi_ns_evaluate() argument 48 if (!info) { in acpi_ns_evaluate() 52 if (!info->node) { in acpi_ns_evaluate() 62 acpi_ns_get_node(info->prefix_node, info->relative_pathname, in acpi_ns_evaluate() 63 ACPI_NS_NO_UPSEARCH, &info->node); in acpi_ns_evaluate() 73 if (acpi_ns_get_type(info->node) == ACPI_TYPE_LOCAL_METHOD_ALIAS) { in acpi_ns_evaluate() 74 info->node = in acpi_ns_evaluate() 76 info->node->object); in acpi_ns_evaluate() 81 info->return_object = NULL; in acpi_ns_evaluate() 82 info->node_flags = info->node->flags; in acpi_ns_evaluate() [all …]
|
/drivers/bluetooth/ |
D | bluecard_cs.c | 161 struct bluecard_info *info = from_timer(info, t, timer); in bluecard_activity_led_timeout() local 162 unsigned int iobase = info->p_dev->resource[0]->start; in bluecard_activity_led_timeout() 164 if (test_bit(CARD_ACTIVITY, &(info->hw_state))) { in bluecard_activity_led_timeout() 166 clear_bit(CARD_ACTIVITY, &(info->hw_state)); in bluecard_activity_led_timeout() 167 mod_timer(&(info->timer), jiffies + HZ / 10); in bluecard_activity_led_timeout() 175 static void bluecard_enable_activity_led(struct bluecard_info *info) in bluecard_enable_activity_led() argument 177 unsigned int iobase = info->p_dev->resource[0]->start; in bluecard_enable_activity_led() 180 if (timer_pending(&(info->timer))) in bluecard_enable_activity_led() 183 set_bit(CARD_ACTIVITY, &(info->hw_state)); in bluecard_enable_activity_led() 185 if (test_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state))) { in bluecard_enable_activity_led() [all …]
|
/drivers/usb/host/ |
D | xen-hcd.c | 105 static inline struct usb_hcd *xenhcd_info_to_hcd(struct xenhcd_info *info) in xenhcd_info_to_hcd() argument 107 return container_of((void *)info, struct usb_hcd, hcd_priv); in xenhcd_info_to_hcd() 110 static void xenhcd_set_error(struct xenhcd_info *info, const char *msg) in xenhcd_set_error() argument 112 info->error = true; in xenhcd_set_error() 117 static inline void xenhcd_timer_action_done(struct xenhcd_info *info, in xenhcd_timer_action_done() argument 120 clear_bit(action, &info->actions); in xenhcd_timer_action_done() 123 static void xenhcd_timer_action(struct xenhcd_info *info, in xenhcd_timer_action() argument 126 if (timer_pending(&info->watchdog) && in xenhcd_timer_action() 127 test_bit(TIMER_SCAN_PENDING_URBS, &info->actions)) in xenhcd_timer_action() 130 if (!test_and_set_bit(action, &info->actions)) { in xenhcd_timer_action() [all …]
|
/drivers/xen/events/ |
D | events_base.c | 260 static void set_info_for_irq(unsigned int irq, struct irq_info *info) in set_info_for_irq() argument 263 legacy_info_ptrs[irq] = info; in set_info_for_irq() 265 irq_set_chip_data(irq, info); in set_info_for_irq() 282 static void channels_on_cpu_dec(struct irq_info *info) in channels_on_cpu_dec() argument 284 if (!info->is_accounted) in channels_on_cpu_dec() 287 info->is_accounted = 0; in channels_on_cpu_dec() 289 if (WARN_ON_ONCE(info->cpu >= nr_cpu_ids)) in channels_on_cpu_dec() 292 WARN_ON_ONCE(!atomic_add_unless(&channels_on_cpu[info->cpu], -1 , 0)); in channels_on_cpu_dec() 295 static void channels_on_cpu_inc(struct irq_info *info) in channels_on_cpu_inc() argument 297 if (WARN_ON_ONCE(info->cpu >= nr_cpu_ids)) in channels_on_cpu_inc() [all …]
|
/drivers/input/misc/ |
D | twl6040-vibra.c | 55 struct vibra_info *info = data; in twl6040_vib_irq_handler() local 56 struct twl6040 *twl6040 = info->twl6040; in twl6040_vib_irq_handler() 61 dev_warn(info->dev, "Left Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler() 66 dev_warn(info->dev, "Right Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler() 74 static void twl6040_vibra_enable(struct vibra_info *info) in twl6040_vibra_enable() argument 76 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_enable() 79 ret = regulator_bulk_enable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_enable() 81 dev_err(info->dev, "failed to enable regulators %d\n", ret); in twl6040_vibra_enable() 85 twl6040_power(info->twl6040, 1); in twl6040_vibra_enable() 104 info->enabled = true; in twl6040_vibra_enable() [all …]
|
/drivers/extcon/ |
D | extcon-max77693.c | 216 static int max77693_muic_set_debounce_time(struct max77693_muic_info *info, in max77693_muic_set_debounce_time() argument 231 ret = regmap_write(info->max77693->regmap_muic, in max77693_muic_set_debounce_time() 235 dev_err(info->dev, "failed to set ADC debounce time\n"); in max77693_muic_set_debounce_time() 240 dev_err(info->dev, "invalid ADC debounce time\n"); in max77693_muic_set_debounce_time() 257 static int max77693_muic_set_path(struct max77693_muic_info *info, in max77693_muic_set_path() argument 268 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path() 271 dev_err(info->dev, "failed to update MUIC register\n"); in max77693_muic_set_path() 280 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path() 285 dev_err(info->dev, "failed to update MUIC register\n"); in max77693_muic_set_path() 289 dev_info(info->dev, in max77693_muic_set_path() [all …]
|
D | extcon-max14577.c | 158 static int max14577_muic_set_debounce_time(struct max14577_muic_info *info, in max14577_muic_set_debounce_time() argument 168 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_debounce_time() 173 dev_err(info->dev, "failed to set ADC debounce time\n"); in max14577_muic_set_debounce_time() 178 dev_err(info->dev, "invalid ADC debounce time\n"); in max14577_muic_set_debounce_time() 195 static int max14577_muic_set_path(struct max14577_muic_info *info, in max14577_muic_set_path() argument 202 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path() 206 dev_err(info->dev, "failed to update MUIC register\n"); in max14577_muic_set_path() 215 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path() 219 dev_err(info->dev, "failed to update MUIC register\n"); in max14577_muic_set_path() 228 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path() [all …]
|
D | extcon-ptn5150.c | 72 static void ptn5150_check_state(struct ptn5150_info *info) in ptn5150_check_state() argument 78 ret = regmap_read(info->regmap, PTN5150_REG_CC_STATUS, ®_data); in ptn5150_check_state() 80 dev_err(info->dev, "failed to read CC STATUS %d\n", ret); in ptn5150_check_state() 88 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in ptn5150_check_state() 89 gpiod_set_value_cansleep(info->vbus_gpiod, 0); in ptn5150_check_state() 90 extcon_set_state_sync(info->edev, EXTCON_USB, true); in ptn5150_check_state() 94 extcon_set_state_sync(info->edev, EXTCON_USB, false); in ptn5150_check_state() 97 gpiod_set_value_cansleep(info->vbus_gpiod, 0); in ptn5150_check_state() 99 gpiod_set_value_cansleep(info->vbus_gpiod, 1); in ptn5150_check_state() 101 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in ptn5150_check_state() [all …]
|
D | extcon-max8997.c | 160 static int max8997_muic_set_debounce_time(struct max8997_muic_info *info, in max8997_muic_set_debounce_time() argument 170 ret = max8997_update_reg(info->muic, in max8997_muic_set_debounce_time() 175 dev_err(info->dev, "failed to set ADC debounce time\n"); in max8997_muic_set_debounce_time() 180 dev_err(info->dev, "invalid ADC debounce time\n"); in max8997_muic_set_debounce_time() 197 static int max8997_muic_set_path(struct max8997_muic_info *info, in max8997_muic_set_path() argument 208 ret = max8997_update_reg(info->muic, in max8997_muic_set_path() 211 dev_err(info->dev, "failed to update MUIC register\n"); in max8997_muic_set_path() 220 ret = max8997_update_reg(info->muic, in max8997_muic_set_path() 224 dev_err(info->dev, "failed to update MUIC register\n"); in max8997_muic_set_path() 228 dev_info(info->dev, in max8997_muic_set_path() [all …]
|
/drivers/cpufreq/ |
D | mediatek-cpufreq.c | 68 struct mtk_cpu_dvfs_info *info; in mtk_cpu_dvfs_info_lookup() local 70 list_for_each_entry(info, &dvfs_info_list, list_head) { in mtk_cpu_dvfs_info_lookup() 71 if (cpumask_test_cpu(cpu, &info->cpus)) in mtk_cpu_dvfs_info_lookup() 72 return info; in mtk_cpu_dvfs_info_lookup() 78 static int mtk_cpufreq_voltage_tracking(struct mtk_cpu_dvfs_info *info, in mtk_cpufreq_voltage_tracking() argument 81 const struct mtk_cpufreq_platform_data *soc_data = info->soc_data; in mtk_cpufreq_voltage_tracking() 82 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking() 83 struct regulator *sram_reg = info->sram_reg; in mtk_cpufreq_voltage_tracking() 85 int retry = info->vtrack_max; in mtk_cpufreq_voltage_tracking() 89 dev_err(info->cpu_dev, in mtk_cpufreq_voltage_tracking() [all …]
|
/drivers/video/fbdev/ |
D | ep93xx-fb.c | 148 static void ep93xxfb_set_video_attribs(struct fb_info *info) in ep93xxfb_set_video_attribs() argument 150 struct ep93xx_fbi *fbi = info->par; in ep93xxfb_set_video_attribs() 158 static int ep93xxfb_set_pixelmode(struct fb_info *info) in ep93xxfb_set_pixelmode() argument 160 struct ep93xx_fbi *fbi = info->par; in ep93xxfb_set_pixelmode() 163 info->var.transp.offset = 0; in ep93xxfb_set_pixelmode() 164 info->var.transp.length = 0; in ep93xxfb_set_pixelmode() 166 switch (info->var.bits_per_pixel) { in ep93xxfb_set_pixelmode() 171 info->var.red.offset = 0; in ep93xxfb_set_pixelmode() 172 info->var.red.length = 8; in ep93xxfb_set_pixelmode() 173 info->var.green.offset = 0; in ep93xxfb_set_pixelmode() [all …]
|
/drivers/video/fbdev/core/ |
D | fb_chrdev.c | 23 struct fb_info *info = registered_fb[fbidx]; in file_fb_info() local 25 if (info != file->private_data) in file_fb_info() 26 info = NULL; in file_fb_info() 27 return info; in file_fb_info() 32 struct fb_info *info = file_fb_info(file); in fb_read() local 34 if (!info) in fb_read() 37 if (info->state != FBINFO_STATE_RUNNING) in fb_read() 40 if (info->fbops->fb_read) in fb_read() 41 return info->fbops->fb_read(info, buf, count, ppos); in fb_read() 43 return fb_io_read(info, buf, count, ppos); in fb_read() [all …]
|
/drivers/mtd/maps/ |
D | physmap-core.c | 67 struct physmap_flash_info *info; in physmap_flash_remove() local 71 info = platform_get_drvdata(dev); in physmap_flash_remove() 73 if (info->cmtd) { in physmap_flash_remove() 74 WARN_ON(mtd_device_unregister(info->cmtd)); in physmap_flash_remove() 76 if (info->cmtd != info->mtds[0]) in physmap_flash_remove() 77 mtd_concat_destroy(info->cmtd); in physmap_flash_remove() 80 for (i = 0; i < info->nmaps; i++) { in physmap_flash_remove() 81 if (info->mtds[i]) in physmap_flash_remove() 82 map_destroy(info->mtds[i]); in physmap_flash_remove() 98 struct physmap_flash_info *info; in physmap_set_vpp() local [all …]
|