Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 3424) sorted by relevance

12345678910>>...137

/drivers/scsi/arm/
Dfas216.c144 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 …]
Dcumana_2.c78 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 …]
Dpowertec.c61 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/
Dsynclink_gt.c41 #define DBGDATA(info, buf, size, label) if (debug_level >= DEBUG_LEVEL_DATA) trace_block((info), (b… argument
397 #define slgt_irq_on(info, mask) \ argument
398 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) | (mask)))
399 #define slgt_irq_off(info, mask) \ argument
400 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) & ~(mask)))
402 static __u8 rd_reg8(struct slgt_info *info, unsigned int addr);
403 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value);
404 static __u16 rd_reg16(struct slgt_info *info, unsigned int addr);
405 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value);
406 static __u32 rd_reg32(struct slgt_info *info, unsigned int addr);
[all …]
/drivers/char/pcmcia/
Dsynclink_cs.c321 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg)) argument
322 #define read_reg(info, reg) inb((info)->io_base + (reg)) argument
324 #define read_reg16(info, reg) inw((info)->io_base + (reg)) argument
325 #define write_reg16(info, reg, val) outw((val), (info)->io_base + (reg)) argument
327 #define set_reg_bits(info, reg, mask) \ argument
328 write_reg(info, (reg), \
329 (unsigned char) (read_reg(info, (reg)) | (mask)))
330 #define clear_reg_bits(info, reg, mask) \ argument
331 write_reg(info, (reg), \
332 (unsigned char) (read_reg(info, (reg)) & ~(mask)))
[all …]
/drivers/gpu/drm/tests/
Ddrm_format_test.c14 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/
D88pm860x_charger.c116 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 …]
Daxp288_charger.c153 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 …]
D88pm860x_battery.c154 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 …]
Dsc2731_charger.c67 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 …]
Daxp288_fuel_gauge.c157 static int fuel_gauge_reg_readb(struct axp288_fg_info *info, int reg) in fuel_gauge_reg_readb() argument
162 ret = regmap_read(info->regmap, reg, &val); in fuel_gauge_reg_readb()
164 dev_err(info->dev, "Error reading reg 0x%02x err: %d\n", reg, ret); in fuel_gauge_reg_readb()
171 static int fuel_gauge_reg_writeb(struct axp288_fg_info *info, int reg, u8 val) in fuel_gauge_reg_writeb() argument
175 ret = regmap_write(info->regmap, reg, (unsigned int)val); in fuel_gauge_reg_writeb()
178 dev_err(info->dev, "Error writing reg 0x%02x err: %d\n", reg, ret); in fuel_gauge_reg_writeb()
183 static int fuel_gauge_read_15bit_word(struct axp288_fg_info *info, int reg) in fuel_gauge_read_15bit_word() argument
188 ret = regmap_bulk_read(info->regmap, reg, buf, 2); in fuel_gauge_read_15bit_word()
190 dev_err(info->dev, "Error reading reg 0x%02x err: %d\n", reg, ret); in fuel_gauge_read_15bit_word()
196 dev_err(info->dev, "Error reg 0x%02x contents not valid\n", reg); in fuel_gauge_read_15bit_word()
[all …]
/drivers/usb/common/
Dusb-conn-gpio.c67 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/
Dexynos_adc.c163 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/acpi/acpica/
Dnseval.c42 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/rtc/
Drtc-s3c.c53 void (*irq_handler) (struct s3c_rtc *info, int mask);
54 void (*enable) (struct s3c_rtc *info);
55 void (*disable) (struct s3c_rtc *info);
58 static int s3c_rtc_enable_clk(struct s3c_rtc *info) in s3c_rtc_enable_clk() argument
62 ret = clk_enable(info->rtc_clk); in s3c_rtc_enable_clk()
66 if (info->data->needs_src_clk) { in s3c_rtc_enable_clk()
67 ret = clk_enable(info->rtc_src_clk); in s3c_rtc_enable_clk()
69 clk_disable(info->rtc_clk); in s3c_rtc_enable_clk()
76 static void s3c_rtc_disable_clk(struct s3c_rtc *info) in s3c_rtc_disable_clk() argument
78 if (info->data->needs_src_clk) in s3c_rtc_disable_clk()
[all …]
/drivers/bluetooth/
Dbluecard_cs.c161 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/
Dxen-hcd.c105 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/input/misc/
Dtwl6040-vibra.c55 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/
Dextcon-max77693.c216 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 …]
Dextcon-max14577.c158 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 …]
Dextcon-ptn5150.c72 static void ptn5150_check_state(struct ptn5150_info *info) in ptn5150_check_state() argument
78 ret = regmap_read(info->regmap, PTN5150_REG_CC_STATUS, &reg_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 …]
Dextcon-max8997.c160 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/
Dmediatek-cpufreq.c68 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/
Dep93xx-fb.c148 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/mtd/maps/
Dphysmap-core.c67 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 …]

12345678910>>...137