Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 25 of 47) sorted by relevance

12

/drivers/media/video/cx18/
Dcx18-av-audio.c27 static int set_audclk_freq(struct cx18 *cx, u32 freq) in set_audclk_freq() argument
29 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq()
77 cx18_av_write4(cx, 0x108, 0x200d040f); in set_audclk_freq()
81 cx18_av_write4(cx, 0x10c, 0x002be2fe); in set_audclk_freq()
85 cx18_av_write4(cx, 0x110, 0x0176740c); in set_audclk_freq()
89 cx18_av_write4(cx, 0x900, 0x0801f77f); in set_audclk_freq()
90 cx18_av_write4(cx, 0x904, 0x0801f77f); in set_audclk_freq()
91 cx18_av_write4(cx, 0x90c, 0x0801f77f); in set_audclk_freq()
94 cx18_av_write(cx, 0x127, 0x60); in set_audclk_freq()
97 cx18_av_write4(cx, 0x12c, 0x11202fff); in set_audclk_freq()
[all …]
Dcx18-scb.c27 void cx18_init_scb(struct cx18 *cx) in cx18_init_scb() argument
29 cx18_setup_page(cx, SCB_OFFSET); in cx18_init_scb()
30 cx18_memset_io(cx, cx->scb, 0, 0x10000); in cx18_init_scb()
32 cx18_writel(cx, IRQ_APU_TO_CPU, &cx->scb->apu2cpu_irq); in cx18_init_scb()
33 cx18_writel(cx, IRQ_CPU_TO_APU_ACK, &cx->scb->cpu2apu_irq_ack); in cx18_init_scb()
34 cx18_writel(cx, IRQ_HPU_TO_CPU, &cx->scb->hpu2cpu_irq); in cx18_init_scb()
35 cx18_writel(cx, IRQ_CPU_TO_HPU_ACK, &cx->scb->cpu2hpu_irq_ack); in cx18_init_scb()
36 cx18_writel(cx, IRQ_PPU_TO_CPU, &cx->scb->ppu2cpu_irq); in cx18_init_scb()
37 cx18_writel(cx, IRQ_CPU_TO_PPU_ACK, &cx->scb->cpu2ppu_irq_ack); in cx18_init_scb()
38 cx18_writel(cx, IRQ_EPU_TO_CPU, &cx->scb->epu2cpu_irq); in cx18_init_scb()
[all …]
Dcx18-driver.c264 static void cx18_iounmap(struct cx18 *cx) in cx18_iounmap() argument
266 if (cx == NULL) in cx18_iounmap()
270 if (cx->enc_mem != NULL) { in cx18_iounmap()
272 iounmap(cx->enc_mem); in cx18_iounmap()
273 cx->enc_mem = NULL; in cx18_iounmap()
278 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) in cx18_read_eeprom() argument
282 cx->i2c_client[0].addr = 0xA0 >> 1; in cx18_read_eeprom()
283 tveeprom_read(&cx->i2c_client[0], eedata, sizeof(eedata)); in cx18_read_eeprom()
284 tveeprom_hauppauge_analog(&cx->i2c_client[0], tv, eedata); in cx18_read_eeprom()
287 static void cx18_process_eeprom(struct cx18 *cx) in cx18_process_eeprom() argument
[all …]
Dcx18-gpio.c49 static void gpio_write(struct cx18 *cx) in gpio_write() argument
51 u32 dir_lo = cx->gpio_dir & 0xffff; in gpio_write()
52 u32 val_lo = cx->gpio_val & 0xffff; in gpio_write()
53 u32 dir_hi = cx->gpio_dir >> 16; in gpio_write()
54 u32 val_hi = cx->gpio_val >> 16; in gpio_write()
56 cx18_write_reg_expect(cx, dir_lo << 16, in gpio_write()
58 cx18_write_reg_expect(cx, (dir_lo << 16) | val_lo, in gpio_write()
60 cx18_write_reg_expect(cx, dir_hi << 16, in gpio_write()
62 cx18_write_reg_expect(cx, (dir_hi << 16) | val_hi, in gpio_write()
66 void cx18_reset_i2c_slaves_gpio(struct cx18 *cx) in cx18_reset_i2c_slaves_gpio() argument
[all …]
Dcx18-av-core.c28 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() argument
33 u32 x = cx18_read_reg(cx, reg); in cx18_av_write()
36 cx18_write_reg(cx, x, reg); in cx18_av_write()
40 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask) in cx18_av_write_expect() argument
44 u32 x = cx18_read_reg(cx, reg); in cx18_av_write_expect()
47 cx18_write_reg_expect(cx, x, reg, in cx18_av_write_expect()
52 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() argument
54 cx18_write_reg(cx, value, 0xc40000 + addr); in cx18_av_write4()
59 cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, u32 mask) in cx18_av_write4_expect() argument
61 cx18_write_reg_expect(cx, value, 0xc40000 + addr, eval, mask); in cx18_av_write4_expect()
[all …]
Dcx18-firmware.c102 static int load_cpu_fw_direct(const char *fn, u8 __iomem *mem, struct cx18 *cx) in load_cpu_fw_direct() argument
110 if (request_firmware(&fw, fn, &cx->dev->dev)) { in load_cpu_fw_direct()
119 cx18_setup_page(cx, i); in load_cpu_fw_direct()
122 cx18_raw_writel(cx, *src, dst); in load_cpu_fw_direct()
123 if (cx18_raw_readl(cx, dst) != *src) { in load_cpu_fw_direct()
126 cx18_setup_page(cx, 0); in load_cpu_fw_direct()
133 if (!test_bit(CX18_F_I_LOADED_FW, &cx->i_flags)) in load_cpu_fw_direct()
137 cx18_setup_page(cx, SCB_OFFSET); in load_cpu_fw_direct()
141 static int load_apu_fw_direct(const char *fn, u8 __iomem *dst, struct cx18 *cx, in load_apu_fw_direct() argument
154 if (request_firmware(&fw, fn, &cx->dev->dev)) { in load_apu_fw_direct()
[all …]
Dcx18-ioctl.c122 struct cx18 *cx = id->cx; in cx18_g_fmt_vid_cap() local
125 pixfmt->width = cx->params.width; in cx18_g_fmt_vid_cap()
126 pixfmt->height = cx->params.height; in cx18_g_fmt_vid_cap()
148 struct cx18 *cx = ((struct cx18_open_id *)fh)->cx; in cx18_g_fmt_vbi_cap() local
153 vbifmt->samples_per_line = cx->vbi.raw_decoder_line_size - 4; in cx18_g_fmt_vbi_cap()
155 vbifmt->start[0] = cx->vbi.start[0]; in cx18_g_fmt_vbi_cap()
156 vbifmt->start[1] = cx->vbi.start[1]; in cx18_g_fmt_vbi_cap()
157 vbifmt->count[0] = vbifmt->count[1] = cx->vbi.count; in cx18_g_fmt_vbi_cap()
174 struct cx18 *cx = id->cx; in cx18_try_fmt_vid_cap() local
180 h = min(h, cx->is_50hz ? 576 : 480); in cx18_try_fmt_vid_cap()
[all …]
Dcx18-streams.c101 static void cx18_stream_init(struct cx18 *cx, int type) in cx18_stream_init() argument
103 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
111 s->cx = cx; in cx18_stream_init()
117 s->buffers = cx->stream_buffers[type]; in cx18_stream_init()
118 s->buf_size = cx->stream_buf_size[type]; in cx18_stream_init()
128 static int cx18_prep_dev(struct cx18 *cx, int type) in cx18_prep_dev() argument
130 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
131 u32 cap = cx->v4l2_cap; in cx18_prep_dev()
133 int num = cx->num + cx18_first_minor + num_offset; in cx18_prep_dev()
139 s->cx = cx; in cx18_prep_dev()
[all …]
Dcx18-i2c.c82 int cx18_i2c_register(struct cx18 *cx, unsigned idx) in cx18_i2c_register() argument
98 if (cx->i2c_clients[i] == NULL) in cx18_i2c_register()
107 c = i2c_new_device(&cx->i2c_adap[bus], &info); in cx18_i2c_register()
111 cx->i2c_clients[i] = c; in cx18_i2c_register()
112 return cx->i2c_clients[i] ? 0 : -ENODEV; in cx18_i2c_register()
116 c = i2c_new_probed_device(&cx->i2c_adap[1], &info, cx->card_i2c->radio); in cx18_i2c_register()
120 cx->i2c_clients[i++] = c; in cx18_i2c_register()
121 c = i2c_new_probed_device(&cx->i2c_adap[1], &info, cx->card_i2c->demod); in cx18_i2c_register()
125 cx->i2c_clients[i++] = c; in cx18_i2c_register()
126 c = i2c_new_probed_device(&cx->i2c_adap[1], &info, cx->card_i2c->tv); in cx18_i2c_register()
[all …]
Dcx18-fileops.c45 struct cx18 *cx = id->cx; in cx18_claim_stream() local
46 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
74 cx->vbi.insert_mpeg && !cx18_raw_vbi(cx)) { in cx18_claim_stream()
79 s_vbi = &cx->streams[vbi_type]; in cx18_claim_stream()
92 struct cx18 *cx = s->cx; in cx18_release_stream() local
111 s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_release_stream()
128 static void cx18_dualwatch(struct cx18 *cx) in cx18_dualwatch() argument
137 new_stereo_mode = cx->params.audio_properties & stereo_mask; in cx18_dualwatch()
139 cx18_call_i2c_clients(cx, VIDIOC_G_TUNER, &vt); in cx18_dualwatch()
144 if (new_stereo_mode == cx->dualwatch_stereo_mode) in cx18_dualwatch()
[all …]
Dcx18-io.h38 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl() argument
44 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() argument
49 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() argument
53 cx18_raw_writel_noretry(cx, val, addr); in cx18_raw_writel()
54 if (val == cx18_raw_readl(cx, addr)) in cx18_raw_writel()
60 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() argument
66 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() argument
71 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() argument
75 cx18_writel_noretry(cx, val, addr); in cx18_writel()
76 if (val == cx18_readl(cx, addr)) in cx18_writel()
[all …]
Dcx18-io.c27 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) in cx18_memset_io() argument
35 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io()
40 cx18_writew(cx, val2, dst); in cx18_memset_io()
45 cx18_writel(cx, val4, dst); in cx18_memset_io()
50 cx18_writew(cx, val2, dst); in cx18_memset_io()
55 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io()
58 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) in cx18_sw1_irq_enable() argument
60 cx18_write_reg_expect(cx, val, SW1_INT_STATUS, ~val, val); in cx18_sw1_irq_enable()
61 cx->sw1_irq_mask = cx18_read_reg(cx, SW1_INT_ENABLE_PCI) | val; in cx18_sw1_irq_enable()
62 cx18_write_reg(cx, cx->sw1_irq_mask, SW1_INT_ENABLE_PCI); in cx18_sw1_irq_enable()
[all …]
Dcx18-mailbox.c101 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() argument
123 static void epu_dma_done(struct cx18 *cx, struct cx18_epu_work_order *order) in epu_dma_done() argument
134 s = cx18_handle_to_stream(cx, handle); in epu_dma_done()
200 wake_up(&cx->dma_waitq); in epu_dma_done()
205 static void epu_debug(struct cx18 *cx, struct cx18_epu_work_order *order) in epu_debug() argument
212 if (!test_bit(CX18_F_I_LOADED_FW, &cx->i_flags) && p && p > str) in epu_debug()
216 static void epu_cmd(struct cx18 *cx, struct cx18_epu_work_order *order) in epu_cmd() argument
223 epu_dma_done(cx, order); in epu_cmd()
226 epu_debug(cx, order); in epu_cmd()
245 void free_epu_work_order(struct cx18 *cx, struct cx18_epu_work_order *order) in free_epu_work_order() argument
[all …]
Dcx18-controls.c56 struct cx18 *cx = ((struct cx18_open_id *)fh)->cx; in cx18_queryctrl() local
69 if (cx18_av_cmd(cx, VIDIOC_QUERYCTRL, qctrl)) in cx18_queryctrl()
79 if (cx18_i2c_hw(cx, cx->card->hw_audio_ctrl, VIDIOC_QUERYCTRL, qctrl)) in cx18_queryctrl()
84 if (cx2341x_ctrl_query(&cx->params, qctrl)) in cx18_queryctrl()
95 struct cx18 *cx = ((struct cx18_open_id *)fh)->cx; in cx18_querymenu() local
101 cx2341x_ctrl_get_menu(&cx->params, qmenu->id)); in cx18_querymenu()
120 static int cx18_s_ctrl(struct cx18 *cx, struct v4l2_control *vctrl) in cx18_s_ctrl() argument
128 return cx18_av_cmd(cx, VIDIOC_S_CTRL, vctrl); in cx18_s_ctrl()
136 return cx18_i2c_hw(cx, cx->card->hw_audio_ctrl, VIDIOC_S_CTRL, vctrl); in cx18_s_ctrl()
145 static int cx18_g_ctrl(struct cx18 *cx, struct v4l2_control *vctrl) in cx18_g_ctrl() argument
[all …]
Dcx18-vbi.c30 static void copy_vbi_data(struct cx18 *cx, int lines, u32 pts_stamp) in copy_vbi_data() argument
43 int idx = cx->vbi.frame % CX18_VBI_FRAMES; in copy_vbi_data()
44 u8 *dst = &cx->vbi.sliced_mpeg_data[idx][0]; in copy_vbi_data()
47 struct v4l2_sliced_vbi_data *sdata = cx->vbi.sliced_data + i; in copy_vbi_data()
85 cx->vbi.sliced_mpeg_size[idx] = sd + size; in copy_vbi_data()
91 static u32 compress_raw_buf(struct cx18 *cx, u8 *buf, u32 size) in compress_raw_buf() argument
93 u32 line_size = cx->vbi.raw_decoder_line_size; in compress_raw_buf()
94 u32 lines = cx->vbi.count; in compress_raw_buf()
95 u8 sav1 = cx->vbi.raw_decoder_sav_odd_field; in compress_raw_buf()
96 u8 sav2 = cx->vbi.raw_decoder_sav_even_field; in compress_raw_buf()
[all …]
Dcx18-audio.c34 int cx18_audio_set_io(struct cx18 *cx) in cx18_audio_set_io() argument
43 if (test_bit(CX18_F_I_RADIO_USER, &cx->i_flags)) { in cx18_audio_set_io()
44 audio_input = cx->card->radio_input.audio_input; in cx18_audio_set_io()
45 mux_input = cx->card->radio_input.muxer_input; in cx18_audio_set_io()
48 cx->card->audio_inputs[cx->audio_input].audio_input; in cx18_audio_set_io()
50 cx->card->audio_inputs[cx->audio_input].muxer_input; in cx18_audio_set_io()
56 cx18_i2c_hw(cx, cx->card->hw_muxer, VIDIOC_INT_S_AUDIO_ROUTING, &route); in cx18_audio_set_io()
59 err = cx18_i2c_hw(cx, cx->card->hw_audio_ctrl, in cx18_audio_set_io()
64 val = cx18_read_reg(cx, CX18_AUDIO_ENABLE) & ~0x30; in cx18_audio_set_io()
67 cx18_write_reg(cx, val | 0xb00, CX18_AUDIO_ENABLE); in cx18_audio_set_io()
[all …]
Dcx18-irq.c29 static void xpu_ack(struct cx18 *cx, u32 sw2) in xpu_ack() argument
32 wake_up(&cx->mb_cpu_waitq); in xpu_ack()
34 wake_up(&cx->mb_apu_waitq); in xpu_ack()
37 static void epu_cmd(struct cx18 *cx, u32 sw1) in epu_cmd() argument
40 cx18_api_epu_cmd_irq(cx, CPU); in epu_cmd()
42 cx18_api_epu_cmd_irq(cx, APU); in epu_cmd()
47 struct cx18 *cx = (struct cx18 *)dev_id; in cx18_irq_handler() local
50 sw1 = cx18_read_reg(cx, SW1_INT_STATUS) & cx->sw1_irq_mask; in cx18_irq_handler()
51 sw2 = cx18_read_reg(cx, SW2_INT_STATUS) & cx->sw2_irq_mask; in cx18_irq_handler()
52 hw2 = cx18_read_reg(cx, HW2_INT_CLR_STATUS) & cx->hw2_irq_mask; in cx18_irq_handler()
[all …]
Dcx18-av-firmware.c30 int cx18_av_loadfw(struct cx18 *cx) in cx18_av_loadfw() argument
39 if (request_firmware(&fw, FWFILE, &cx->dev->dev) != 0) { in cx18_av_loadfw()
47 cx18_av_write4_expect(cx, CXADEC_CHIP_CTRL, 0x00010000, in cx18_av_loadfw()
49 cx18_av_write_expect(cx, CXADEC_STD_DET_CTL, 0xf6, 0xf6, 0xff); in cx18_av_loadfw()
52 cx18_av_write4_expect(cx, 0x8100, 0x00010000, in cx18_av_loadfw()
56 cx18_av_write4_noretry(cx, CXADEC_DL_CTL, 0x0F000000); in cx18_av_loadfw()
69 cx18_av_write4_noretry(cx, CXADEC_DL_CTL, in cx18_av_loadfw()
72 value = cx18_av_read4(cx, CXADEC_DL_CTL); in cx18_av_loadfw()
96 cx18_av_write4_expect(cx, CXADEC_DL_CTL, in cx18_av_loadfw()
100 cx18_av_and_or4(cx, CXADEC_PIN_CTRL1, ~0, 0x78000); in cx18_av_loadfw()
[all …]
Dcx18-av-vbi.c86 int cx18_av_vbi(struct cx18 *cx, unsigned int cmd, void *arg) in cx18_av_vbi() argument
88 struct cx18_av_state *state = &cx->av_state; in cx18_av_vbi()
111 if ((cx18_av_read(cx, 0x404) & 0x10) == 0) in cx18_av_vbi()
116 u8 v = cx18_av_read(cx, 0x424 + i - 7); in cx18_av_vbi()
125 u8 v = cx18_av_read(cx, 0x424 + i - 10); in cx18_av_vbi()
153 cx18_av_std_setup(cx); in cx18_av_vbi()
156 cx18_av_write(cx, 0x47f, vbi_offset); in cx18_av_vbi()
157 cx18_av_write(cx, 0x404, 0x2e); in cx18_av_vbi()
165 cx18_av_std_setup(cx); in cx18_av_vbi()
168 cx18_av_write(cx, 0x404, 0x32); /* Ancillary data */ in cx18_av_vbi()
[all …]
Dcx18-dvb.c73 struct cx18 *cx = stream->cx; in cx18_dvb_start_feed() local
80 mutex_lock(&cx->serialize_lock); in cx18_dvb_start_feed()
81 ret = cx18_init_on_first_open(cx); in cx18_dvb_start_feed()
82 mutex_unlock(&cx->serialize_lock); in cx18_dvb_start_feed()
89 switch (cx->card->type) { in cx18_dvb_start_feed()
92 v = cx18_read_reg(cx, CX18_REG_DMUX_NUM_PORT_0_CONTROL); in cx18_dvb_start_feed()
98 cx18_write_reg(cx, v, CX18_REG_DMUX_NUM_PORT_0_CONTROL); in cx18_dvb_start_feed()
137 struct cx18 *cx = stream->cx; in cx18_dvb_stop_feed() local
158 struct cx18 *cx = stream->cx; in cx18_dvb_register() local
170 THIS_MODULE, &cx->dev->dev, adapter_nr); in cx18_dvb_register()
[all …]
Dcx18-av-core.h303 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value);
304 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value);
305 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value);
306 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask);
307 int cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval,
309 u8 cx18_av_read(struct cx18 *cx, u16 addr);
310 u32 cx18_av_read4(struct cx18 *cx, u16 addr);
311 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned mask, u8 value);
312 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 mask, u32 value);
313 int cx18_av_cmd(struct cx18 *cx, unsigned int cmd, void *arg);
[all …]
Dcx18-i2c.h24 int cx18_i2c_hw_addr(struct cx18 *cx, u32 hw);
25 int cx18_i2c_hw(struct cx18 *cx, u32 hw, unsigned int cmd, void *arg);
26 int cx18_call_i2c_client(struct cx18 *cx, int addr, unsigned cmd, void *arg);
27 void cx18_call_i2c_clients(struct cx18 *cx, unsigned int cmd, void *arg);
28 int cx18_i2c_register(struct cx18 *cx, unsigned idx);
31 int init_cx18_i2c(struct cx18 *cx);
32 void exit_cx18_i2c(struct cx18 *cx);
Dcx18-queue.c93 struct cx18 *cx = s->cx; in cx18_queue_get_buf() local
170 struct cx18 *cx = s->cx; in cx18_stream_alloc() local
180 if (((char __iomem *)&cx->scb->cpu_mdl[cx->mdl_offset + s->buffers] - in cx18_stream_alloc()
181 (char __iomem *)cx->scb) > SCB_RESERVED_SIZE) { in cx18_stream_alloc()
182 unsigned bufsz = (((char __iomem *)cx->scb) + SCB_RESERVED_SIZE - in cx18_stream_alloc()
183 ((char __iomem *)cx->scb->cpu_mdl)); in cx18_stream_alloc()
191 s->mdl_offset = cx->mdl_offset; in cx18_stream_alloc()
205 buf->id = cx->buffer_id++; in cx18_stream_alloc()
207 buf->dma_handle = pci_map_single(s->cx->dev, in cx18_stream_alloc()
213 cx->mdl_offset += s->buffers; in cx18_stream_alloc()
[all …]
Dcx18-streams.h25 u32 cx18_find_handle(struct cx18 *cx);
26 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle);
27 int cx18_streams_setup(struct cx18 *cx);
28 int cx18_streams_register(struct cx18 *cx);
29 void cx18_streams_cleanup(struct cx18 *cx, int unregister);
38 void cx18_stop_all_captures(struct cx18 *cx);
/drivers/acpi/
Dprocessor_idle.c210 struct acpi_processor_cx *cx) in acpi_timer_check_state() argument
222 if (cx->type >= type) in acpi_timer_check_state()
238 struct acpi_processor_cx *cx, in acpi_state_timer_broadcast() argument
241 int state = cx - pr->power.states; in acpi_state_timer_broadcast()
258 struct acpi_processor_cx *cx, in acpi_state_timer_broadcast() argument
401 struct acpi_processor_cx cx; in acpi_processor_get_power_info_cst() local
403 memset(&cx, 0, sizeof(cx)); in acpi_processor_get_power_info_cst()
428 cx.type = obj->integer.value; in acpi_processor_get_power_info_cst()
433 if (i == 1 && cx.type != ACPI_STATE_C1) in acpi_processor_get_power_info_cst()
436 cx.address = reg->address; in acpi_processor_get_power_info_cst()
[all …]

12