Home
last modified time | relevance | path

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

12345678910>>...165

/linux/drivers/scsi/arm/
H A 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 …]
H A 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 …]
H A 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 …]
/linux/drivers/tty/
H A Dsynclink_gt.c41 #define DBGDATA(info, buf, size, label) if (debug_level >= DEBUG_LEVEL_DATA) trace_block((info), (b… argument
396 #define slgt_irq_on(info, mask) \ argument
397 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) | (mask)))
398 #define slgt_irq_off(info, mask) \ argument
399 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) & ~(mask)))
401 static __u8 rd_reg8(struct slgt_info *info, unsigned int addr);
402 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value);
403 static __u16 rd_reg16(struct slgt_info *info, unsigned int addr);
404 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value);
405 static __u32 rd_reg32(struct slgt_info *info, unsigned int addr);
[all …]
/linux/drivers/gpu/drm/tests/
H A 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 …]
/linux/drivers/power/supply/
H A 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 …]
H A 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 …]
H A 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 …]
/linux/drivers/acpi/acpica/
H A 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 …]
/linux/drivers/rtc/
H A Drtc-s3c.c52 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 …]
/linux/fs/smb/client/
H A Dsmbdirect.c16 struct smbd_connection *info);
18 struct smbd_connection *info);
20 struct smbd_connection *info,
22 static int allocate_receive_buffers(struct smbd_connection *info, int num_buf);
23 static void destroy_receive_buffers(struct smbd_connection *info);
26 struct smbd_connection *info, struct smbd_response *response);
28 struct smbd_connection *info,
31 struct smbd_connection *info);
34 struct smbd_connection *info,
37 static int smbd_post_send_empty(struct smbd_connection *info);
[all …]
/linux/drivers/bluetooth/
H A 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 …]
/linux/drivers/usb/host/
H A 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 …]
/linux/drivers/input/misc/
H A 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 …]
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-pkey.c69 static int child(struct shared_info *info) in child() argument
77 ret = wait_parent(&info->child_sync); in child()
85 CHILD_FAIL_IF(pkey1 < 0, &info->child_sync); in child()
91 CHILD_FAIL_IF(pkey2 < 0, &info->child_sync); in child()
94 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); in child()
96 info->amr1 |= 3ul << pkeyshift(pkey1); in child()
97 info->amr2 |= 3ul << pkeyshift(pkey2); in child()
102 info->invalid_amr = info->amr2 | (~0x0UL & ~info->expected_uamor); in child()
108 info->expected_iamr |= 1ul << pkeyshift(pkey1); in child()
110 info->expected_iamr &= ~(1ul << pkeyshift(pkey1)); in child()
[all …]
/linux/arch/csky/mm/
H A Dasid.c16 #define reserved_asid(info, cpu) *per_cpu_ptr((info)->reserved, cpu) argument
18 #define ASID_MASK(info) (~GENMASK((info)->bits - 1, 0)) argument
19 #define ASID_FIRST_VERSION(info) (1UL << ((info)->bits)) argument
21 #define asid2idx(info, asid) (((asid) & ~ASID_MASK(info)) >> (info)->ctxt_shift) argument
22 #define idx2asid(info, idx) (((idx) << (info)->ctxt_shift) & ~ASID_MASK(info)) argument
24 static void flush_context(struct asid_info *info) in flush_context() argument
30 bitmap_zero(info->map, NUM_CTXT_ASIDS(info)); in flush_context()
33 asid = atomic64_xchg_relaxed(&active_asid(info, i), 0); in flush_context()
42 asid = reserved_asid(info, i); in flush_context()
43 __set_bit(asid2idx(info, asid), info->map); in flush_context()
[all …]
/linux/arch/s390/kernel/
H A Dsysinfo.c82 static void stsi_1_1_1(struct seq_file *m, struct sysinfo_1_1_1 *info) in stsi_1_1_1() argument
87 if (stsi(info, 1, 1, 1)) in stsi_1_1_1()
89 has_var_cap = !!info->model_var_cap[0]; in stsi_1_1_1()
90 EBCASC(info->manufacturer, sizeof(info->manufacturer)); in stsi_1_1_1()
91 EBCASC(info->type, sizeof(info->type)); in stsi_1_1_1()
92 EBCASC(info->model, sizeof(info->model)); in stsi_1_1_1()
93 EBCASC(info->sequence, sizeof(info->sequence)); in stsi_1_1_1()
94 EBCASC(info->plant, sizeof(info->plant)); in stsi_1_1_1()
95 EBCASC(info->model_capacity, sizeof(info->model_capacity)); in stsi_1_1_1()
96 EBCASC(info->model_perm_cap, sizeof(info->model_perm_cap)); in stsi_1_1_1()
[all …]
/linux/drivers/extcon/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dextcon-usb-gpio.c63 struct usb_extcon_info *info = container_of(to_delayed_work(work), in usb_extcon_detect_cable() local
68 id = info->id_gpiod ? in usb_extcon_detect_cable()
69 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_extcon_detect_cable()
70 vbus = info->vbus_gpiod ? in usb_extcon_detect_cable()
71 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_extcon_detect_cable()
75 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in usb_extcon_detect_cable()
77 extcon_set_state_sync(info->edev, EXTCON_USB, false); in usb_extcon_detect_cable()
80 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in usb_extcon_detect_cable()
83 extcon_set_state_sync(info->edev, EXTCON_USB, true); in usb_extcon_detect_cable()
89 struct usb_extcon_info *info = dev_id; in usb_irq_handler() local
[all …]
/linux/net/bridge/netfilter/
H A Debt_ip.c40 const struct ebt_ip_info *info = par->matchinfo; in ebt_ip_mt() local
49 if ((info->bitmask & EBT_IP_TOS) && in ebt_ip_mt()
50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) in ebt_ip_mt()
52 if ((info->bitmask & EBT_IP_SOURCE) && in ebt_ip_mt()
53 NF_INVF(info, EBT_IP_SOURCE, in ebt_ip_mt()
54 (ih->saddr & info->smsk) != info->saddr)) in ebt_ip_mt()
56 if ((info->bitmask & EBT_IP_DEST) && in ebt_ip_mt()
57 NF_INVF(info, EBT_IP_DEST, in ebt_ip_mt()
58 (ih->daddr & info->dmsk) != info->daddr)) in ebt_ip_mt()
60 if (info->bitmask & EBT_IP_PROTO) { in ebt_ip_mt()
[all …]
/linux/net/netfilter/
H A Dxt_IDLETIMER.c134 static int idletimer_tg_create(struct idletimer_tg_info *info) in idletimer_tg_create() argument
138 info->timer = kzalloc(sizeof(*info->timer), GFP_KERNEL); in idletimer_tg_create()
139 if (!info->timer) { in idletimer_tg_create()
144 ret = idletimer_check_sysfs_name(info->label, sizeof(info->label)); in idletimer_tg_create()
148 sysfs_attr_init(&info->timer->attr.attr); in idletimer_tg_create()
149 info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); in idletimer_tg_create()
150 if (!info->timer->attr.attr.name) { in idletimer_tg_create()
154 info->timer->attr.attr.mode = 0444; in idletimer_tg_create()
155 info->timer->attr.show = idletimer_tg_show; in idletimer_tg_create()
157 ret = sysfs_create_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_create()
[all …]
H A Dxt_set.c56 const struct xt_set_info_match_v0 *info = par->matchinfo; in set_match_v0() local
58 ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, in set_match_v0()
59 info->match_set.u.compat.flags, 0, UINT_MAX, in set_match_v0()
62 return match_set(info->match_set.index, skb, par, &opt, in set_match_v0()
63 info->match_set.u.compat.flags & IPSET_INV_MATCH); in set_match_v0()
67 compat_flags(struct xt_set_info_v0 *info) in compat_flags() argument
72 info->u.compat.dim = IPSET_DIM_ZERO; in compat_flags()
73 if (info->u.flags[0] & IPSET_MATCH_INV) in compat_flags()
74 info->u.compat.flags |= IPSET_INV_MATCH; in compat_flags()
75 for (i = 0; i < IPSET_DIM_MAX - 1 && info->u.flags[i]; i++) { in compat_flags()
[all …]
/linux/drivers/video/fbdev/
H A 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 …]

12345678910>>...165