Home
last modified time | relevance | path

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

/drivers/edac/
Dedac_mc.c139 int row, chn; in edac_mc_alloc() local
170 for (row = 0; row < nr_csrows; row++) { in edac_mc_alloc()
171 csrow = &csi[row]; in edac_mc_alloc()
172 csrow->csrow_idx = row; in edac_mc_alloc()
175 chp = &chi[row * nr_chans]; in edac_mc_alloc()
609 int row, i; in edac_mc_find_csrow_by_page() local
612 row = -1; in edac_mc_find_csrow_by_page()
629 row = i; in edac_mc_find_csrow_by_page()
634 if (row == -1) in edac_mc_find_csrow_by_page()
639 return row; in edac_mc_find_csrow_by_page()
[all …]
Di82975x_edac.c281 int row, multi_chan, chan; in i82975x_process_error_info() local
301 row = edac_mc_find_csrow_by_page(mci, info->eap); in i82975x_process_error_info()
304 edac_mc_handle_ue(mci, info->eap, 0, row, "i82975x UE"); in i82975x_process_error_info()
306 edac_mc_handle_ce(mci, info->eap, 0, info->derrsyn, row, in i82975x_process_error_info()
334 int row; in dual_channel_active() local
337 for (dualch = 1, row = 0; dualch && (row < 4); row++) { in dual_channel_active()
338 drb[row][0] = readb(mch_window + I82975X_DRB + row); in dual_channel_active()
339 drb[row][1] = readb(mch_window + I82975X_DRB + row + 0x80); in dual_channel_active()
340 dualch = dualch && (drb[row][0] == drb[row][1]); in dual_channel_active()
De752x_edac.c270 int row; in do_process_ce() local
283 row = ((page >> 1) & 3); in do_process_ce()
285 "Test row %d Table %d %d %d %d %d %d %d %d\n", row, in do_process_ce()
292 if (pvt->map[i] == row) in do_process_ce()
299 row = i; in do_process_ce()
303 row); in do_process_ce()
305 row = edac_mc_find_csrow_by_page(mci, page); in do_process_ce()
312 sec1_syndrome, row, channel, "e752x CE"); in do_process_ce()
329 int row; in do_process_ue() local
340 row = pvt->mc_symmetric ? in do_process_ue()
[all …]
Damd76x_edac.c138 u32 row; in amd76x_process_error_info() local
149 row = (info->ecc_mode_status >> 4) & 0xf; in amd76x_process_error_info()
150 edac_mc_handle_ue(mci, mci->csrows[row].first_page, 0, in amd76x_process_error_info()
151 row, mci->ctl_name); in amd76x_process_error_info()
162 row = info->ecc_mode_status & 0xf; in amd76x_process_error_info()
163 edac_mc_handle_ce(mci, mci->csrows[row].first_page, 0, in amd76x_process_error_info()
164 0, row, 0, mci->ctl_name); in amd76x_process_error_info()
De7xxx_edac.c206 int row; in process_ce() local
217 row = edac_mc_find_csrow_by_page(mci, page); in process_ce()
220 edac_mc_handle_ce(mci, page, 0, syndrome, row, channel, "e7xxx CE"); in process_ce()
232 int row; in process_ue() local
239 row = edac_mc_find_csrow_by_page(mci, block_page); in process_ue()
240 edac_mc_handle_ue(mci, block_page, 0, row, "e7xxx UE"); in process_ue()
Di82860_edac.c103 int row; in i82860_process_error_info() local
117 row = edac_mc_find_csrow_by_page(mci, info->eap); in i82860_process_error_info()
120 edac_mc_handle_ue(mci, info->eap, 0, row, "i82860 UE"); in i82860_process_error_info()
122 edac_mc_handle_ce(mci, info->eap, 0, info->derrsyn, row, 0, in i82860_process_error_info()
Di3000_edac.c237 int row, multi_chan, channel; in i3000_process_error_info() local
257 row = edac_mc_find_csrow_by_page(mci, pfn); in i3000_process_error_info()
260 edac_mc_handle_ue(mci, pfn, offset, row, "i3000 UE"); in i3000_process_error_info()
262 edac_mc_handle_ce(mci, pfn, offset, info->derrsyn, row, in i3000_process_error_info()
Di82875p_edac.c228 int row, multi_chan; in i82875p_process_error_info() local
244 row = edac_mc_find_csrow_by_page(mci, info->eap); in i82875p_process_error_info()
247 edac_mc_handle_ue(mci, info->eap, 0, row, "i82875p UE"); in i82875p_process_error_info()
249 edac_mc_handle_ce(mci, info->eap, 0, info->derrsyn, row, in i82875p_process_error_info()
Dedac_mc_sysfs.c427 int row, chan; in mci_reset_counters_store() local
434 for (row = 0; row < mci->nr_csrows; row++) { in mci_reset_counters_store()
435 struct csrow_info *ri = &mci->csrows[row]; in mci_reset_counters_store()
Dedac_core.h797 unsigned long syndrome, int row, int channel,
803 unsigned long offset_in_page, int row,
/drivers/input/keyboard/
Domap-keypad.c82 int row; in get_row_gpio_val() local
85 for (row = 0; row < omap_kp->rows; row++) { in get_row_gpio_val()
86 if (gpio_get_value(row_gpios[row])) in get_row_gpio_val()
87 value |= (1 << row); in get_row_gpio_val()
152 static inline int omap_kp_find_key(int col, int row) in omap_kp_find_key() argument
156 key = KEY(col, row, 0); in omap_kp_find_key()
167 int col, row; in omap_kp_tasklet() local
180 for (row = 0; row < omap_kp_data->rows; row++) { in omap_kp_tasklet()
182 if (!(changed & (1 << row))) in omap_kp_tasklet()
186 row, (new_state[col] & (1 << row)) ? in omap_kp_tasklet()
[all …]
Dpxa27x_keypad.c132 int row = ((*key) >> 28) & 0xf; in pxa27x_keypad_build_keycode() local
136 keypad->matrix_keycodes[(row << 3) + col] = code; in pxa27x_keypad_build_keycode()
168 struct pxa27x_keypad *keypad, int row, int col) in lookup_matrix_keycode() argument
170 return keypad->matrix_keycodes[(row << 3) + col]; in lookup_matrix_keycode()
176 int row, col, num_keys_pressed = 0; in pxa27x_keypad_scan_matrix() local
189 row = KPAS_RP(kpas); in pxa27x_keypad_scan_matrix()
193 row >= pdata->matrix_key_rows) in pxa27x_keypad_scan_matrix()
196 new_state[col] = (1 << row); in pxa27x_keypad_scan_matrix()
223 for (row = 0; row < pdata->matrix_key_rows; row++) { in pxa27x_keypad_scan_matrix()
224 if ((bits_changed & (1 << row)) == 0) in pxa27x_keypad_scan_matrix()
[all …]
Daaed2000_kbd.c59 unsigned int row; in aaedkbd_report_col() local
61 for (row = 0; row < KB_ROWS; row++) { in aaedkbd_report_col()
62 scancode = SCANCODE(row, col); in aaedkbd_report_col()
63 pressed = rowd & KB_ROWMASK(row); in aaedkbd_report_col()
Dlocomokbd.c129 unsigned int row, col, rowd; in locomokbd_scankeyboard() local
145 for (row = 0; row < KB_ROWS; row++) { in locomokbd_scankeyboard()
148 scancode = SCANCODE(col, row); in locomokbd_scankeyboard()
149 pressed = rowd & KB_ROWMASK(row); in locomokbd_scankeyboard()
Dtosakbd.c130 unsigned int row, col, rowd; in tosakbd_scankeyboard() local
152 for (row = 0; row < TOSA_KEY_SENSE_NUM; row++) { in tosakbd_scankeyboard()
154 scancode = SCANCODE(row, col); in tosakbd_scankeyboard()
155 pressed = rowd & KB_ROWMASK(row); in tosakbd_scankeyboard()
Dcorgikbd.c135 unsigned int row, col, rowd; in corgikbd_scankeyboard() local
158 for (row = 0; row < KB_ROWS; row++) { in corgikbd_scankeyboard()
161 scancode = SCANCODE(row, col); in corgikbd_scankeyboard()
162 pressed = rowd & KB_ROWMASK(row); in corgikbd_scankeyboard()
Dspitzkbd.c182 unsigned int row, col, rowd; in spitzkbd_scankeyboard() local
205 for (row = 0; row < KB_ROWS; row++) { in spitzkbd_scankeyboard()
208 scancode = SCANCODE(row, col); in spitzkbd_scankeyboard()
209 pressed = rowd & KB_ROWMASK(row); in spitzkbd_scankeyboard()
/drivers/mtd/nand/
Dnandsim.c198 (((ns)->regs.row << (ns)->geom.pgshift) + ((ns)->regs.row * (ns)->geom.oobsz) + (ns)->regs.column)
336 uint row; /* the page number */ member
1132 ns->regs.row |= (byte << 8 * (ns->regs.count - in accept_addr_byte()
1155 ns->regs.row = 0; in switch_to_ready_state()
1382 return &(ns->pages[ns->regs.row]); in NS_GET_PAGE()
1395 unsigned int page_no = ns->regs.row; in do_read_error()
1419 pos, ns->regs.row, ns->regs.column + ns->regs.off, in do_bit_flips()
1433 if (!ns->pages_written[ns->regs.row]) { in read_page()
1434 NS_DBG("read_page: page %d not written\n", ns->regs.row); in read_page()
1441 ns->regs.row, ns->regs.column + ns->regs.off); in read_page()
[all …]
/drivers/video/
Dhgafb.c65 #define HGA_ROWADDR(row) ((row%4)*8192 + (row>>2)*90) argument
69 static inline u8 __iomem * rowaddr(struct fb_info *info, u_int row) in rowaddr() argument
71 return info->screen_base + HGA_ROWADDR(row); in rowaddr()
/drivers/usb/misc/
Dphidgetkit.c139 static int change_string(struct interfacekit *kit, const char *display, unsigned char row) in change_string() argument
157 dev_dbg(&kit->udev->dev, "Setting LCD line %d to %s\n", row, display); in change_string()
159 form_buffer[0] = row * 0x40 + 0x80; in change_string()
168 form_buffer[buf_ptr++] = row * 0x40 + 0x80 + strlen(display); in change_string()
/drivers/media/video/saa7134/
Dsaa7134-video.c802 struct cliplist col[16], row[16]; in setup_clipping() local
807 memset(row, 0, sizeof(row)); in setup_clipping()
815 row[rows].position = clip_range(clips[i].c.top / div); in setup_clipping()
816 row[rows].enable = (1 << i); in setup_clipping()
818 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping()
820 row[rows].disable = (1 << i); in setup_clipping()
824 sort(row, rows, sizeof row[0], cliplist_cmp, NULL); in setup_clipping()
826 set_cliplist(dev,0x384,row,rows,"rows"); in setup_clipping()
/drivers/md/
DKconfig129 of a single drive. For a given sector (row) number, (N - 1) drives
138 (row) number, (N - 2) drives contain data sectors, and two
/drivers/net/wireless/ath9k/
Dhw.h743 #define INI_RA(iniarray, row, column) \ argument
744 (((iniarray)->ia_array)[(row) * ((iniarray)->ia_columns) + (column)])
/drivers/mtd/devices/
DKconfig29 column and row mux values. This option will fix them, but will
/drivers/char/
DKconfig733 row.