Home
last modified time | relevance | path

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

12

/drivers/mtd/nand/
Dmpc5121_nfc.c127 uint column; member
247 static void mpc5121_nfc_addr_cycle(struct mtd_info *mtd, int column, int page) in mpc5121_nfc_addr_cycle() argument
252 if (column != -1) { in mpc5121_nfc_addr_cycle()
253 mpc5121_nfc_send_addr(mtd, column); in mpc5121_nfc_addr_cycle()
255 mpc5121_nfc_send_addr(mtd, column >> 8); in mpc5121_nfc_addr_cycle()
334 int column, int page) in mpc5121_nfc_command() argument
339 prv->column = (column >= 0) ? column : 0; in mpc5121_nfc_command()
351 column = 0; in mpc5121_nfc_command()
355 prv->column += 256; in mpc5121_nfc_command()
357 column = 0; in mpc5121_nfc_command()
[all …]
Dfsl_elbc_nand.c71 unsigned int column; /* Saved column from SEQIN */ member
145 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() argument
164 (oob ? FPAR_LP_MS : 0) | column); in set_addr()
174 (oob ? FPAR_SP_MS : 0) | column); in set_addr()
179 elbc_fcm_ctrl->index = column; in set_addr()
301 int column, int page_addr) in fsl_elbc_cmdfunc() argument
319 column += 256; in fsl_elbc_cmdfunc()
325 " 0x%x, column: 0x%x.\n", page_addr, column); in fsl_elbc_cmdfunc()
332 elbc_fcm_ctrl->index += column; in fsl_elbc_cmdfunc()
342 " 0x%x, column: 0x%x.\n", page_addr, column); in fsl_elbc_cmdfunc()
[all …]
Dau1550nd.c268 static void au1550_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in au1550_command() argument
283 if (column >= mtd->writesize) { in au1550_command()
285 column -= mtd->writesize; in au1550_command()
287 } else if (column < 256) { in au1550_command()
291 column -= 256; in au1550_command()
301 if (column != -1 || page_addr != -1) { in au1550_command()
305 if (column != -1) { in au1550_command()
309 column >>= 1; in au1550_command()
310 ctx->write_byte(mtd, column); in au1550_command()
Dnuc900_nand.c137 int column, int page_addr) in nuc900_nand_command_lp() argument
145 column += mtd->writesize; in nuc900_nand_command_lp()
151 if (column != -1 || page_addr != -1) { in nuc900_nand_command_lp()
153 if (column != -1) { in nuc900_nand_command_lp()
156 column >>= 1; in nuc900_nand_command_lp()
157 write_addr_reg(nand, column); in nuc900_nand_command_lp()
158 write_addr_reg(nand, column >> 8 | ENDADDR); in nuc900_nand_command_lp()
Dfsl_ifc_nand.c62 unsigned int column; /* Saved column from SEQIN */ member
232 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() argument
243 iowrite32be((oob ? IFC_NAND_COL_MS : 0) | column, &ifc->ifc_nand.col0); in set_addr()
248 ifc_nand_ctrl->index = column; in set_addr()
412 int column, int page_addr) { in fsl_ifc_cmdfunc() argument
430 ifc_nand_ctrl->index += column; in fsl_ifc_cmdfunc()
441 iowrite32be(mtd->oobsize - column, &ifc->ifc_nand.nand_fbcr); in fsl_ifc_cmdfunc()
442 set_addr(mtd, column, page_addr, 1); in fsl_ifc_cmdfunc()
463 iowrite32be(column, &ifc->ifc_nand.row3); in fsl_ifc_cmdfunc()
501 ifc_nand_ctrl->column = column; in fsl_ifc_cmdfunc()
[all …]
Dsh_flctl.c194 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr() argument
199 if (column == -1) { in set_addr()
204 column >>= 1; in set_addr()
206 addr = column & 0x0FFF; in set_addr()
216 addr = column; in set_addr()
700 int column, int page_addr) in flctl_cmdfunc() argument
729 column >>= 1; in flctl_cmdfunc()
730 flctl->index += column; in flctl_cmdfunc()
761 set_addr(mtd, column, 0); in flctl_cmdfunc()
763 flctl->read_bytes = mtd->writesize + mtd->oobsize - column; in flctl_cmdfunc()
[all …]
Dmxc_nand.c832 static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr) in mxc_do_addr_cycle() argument
838 if (column != -1) { in mxc_do_addr_cycle()
1050 int column, int page_addr) in mxc_nand_command() argument
1056 command, column, page_addr); in mxc_nand_command()
1073 mxc_do_addr_cycle(mtd, column, page_addr); in mxc_nand_command()
1079 host->buf_start = column; in mxc_nand_command()
1081 host->buf_start = column + mtd->writesize; in mxc_nand_command()
1086 mxc_do_addr_cycle(mtd, column, page_addr); in mxc_nand_command()
1100 if (column >= mtd->writesize) in mxc_nand_command()
1104 host->buf_start = column; in mxc_nand_command()
[all …]
Dpxa3xx_nand.c707 unsigned int page_size, uint16_t column, int page_addr) in set_command_address() argument
712 | (column & 0xFF); in set_command_address()
717 | (column & 0xFFFF); in set_command_address()
775 int ext_cmd_type, uint16_t column, int page_addr) in prepare_set_command() argument
800 info->buf_start = column; in prepare_set_command()
823 set_command_address(info, mtd->writesize, column, page_addr); in prepare_set_command()
828 info->buf_start = column; in prepare_set_command()
895 info->ndcb1 = (column & 0xFF); in prepare_set_command()
905 info->ndcb1 = (column & 0xFF); in prepare_set_command()
950 int column, int page_addr) in nand_cmdfunc() argument
[all …]
Dnandsim.c208 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column)
349 uint column; /* the offset within page */ member
1181 ns->regs.column |= (byte << 8 * ns->regs.count); in accept_addr_byte()
1207 ns->regs.column = 0; in switch_to_ready_state()
1433 return NS_GET_PAGE(ns)->byte + ns->regs.column + ns->regs.off; in NS_PAGE_BYTE_OFF()
1459 pos, ns->regs.row, ns->regs.column + ns->regs.off, in do_bit_flips()
1481 ns->regs.row, ns->regs.column + ns->regs.off); in read_page()
1501 ns->regs.row, ns->regs.column + ns->regs.off); in read_page()
1552 pg_off = ns->file_buf + ns->regs.column + ns->regs.off; in prog_page()
1636 if (ns->regs.column >= (ns->geom.pgszoob - ns->regs.off)) { in do_state_action()
[all …]
Ddocg4.c85 int column; member
653 static uint32_t mtd_to_docg4_address(int page, int column) in mtd_to_docg4_address() argument
685 int g4_index = (page % 4) * 0x108 + column/2; /* offset into page */ in mtd_to_docg4_address()
689 static void docg4_command(struct mtd_info *mtd, unsigned command, int column, in docg4_command() argument
696 uint32_t g4_addr = mtd_to_docg4_address(page_addr, column); in docg4_command()
699 __func__, command, page_addr, column); in docg4_command()
706 doc->last_command.column = column; in docg4_command()
Dnand_base.c580 int column, int page_addr) in nand_command() argument
589 if (column >= mtd->writesize) { in nand_command()
591 column -= mtd->writesize; in nand_command()
593 } else if (column < 256) { in nand_command()
597 column -= 256; in nand_command()
608 if (column != -1) { in nand_command()
612 column >>= 1; in nand_command()
613 chip->cmd_ctrl(mtd, column, ctrl); in nand_command()
683 int column, int page_addr) in nand_command_lp() argument
689 column += mtd->writesize; in nand_command_lp()
[all …]
Dcafe_nand.c159 int column, int page_addr) in cafe_nand_cmdfunc() argument
167 command, column, page_addr); in cafe_nand_cmdfunc()
184 column += mtd->writesize; in cafe_nand_cmdfunc()
191 if (column != -1) { in cafe_nand_cmdfunc()
192 cafe_writel(cafe, column, NAND_ADDR1); in cafe_nand_cmdfunc()
222 cafe->datalen = mtd->writesize + mtd->oobsize - column; in cafe_nand_cmdfunc()
Ddiskonchip.c659 static void doc2001plus_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in doc2001plus_command() argument
680 if (column >= mtd->writesize) { in doc2001plus_command()
682 column -= mtd->writesize; in doc2001plus_command()
684 } else if (column < 256) { in doc2001plus_command()
688 column -= 256; in doc2001plus_command()
697 if (column != -1 || page_addr != -1) { in doc2001plus_command()
699 if (column != -1) { in doc2001plus_command()
703 column >>= 1; in doc2001plus_command()
704 WriteDOC(column, docptr, Mplus_FlashAddress); in doc2001plus_command()
Datmel_nand.c1731 static int nfc_make_addr(struct mtd_info *mtd, int command, int column, in nfc_make_addr() argument
1745 if (column != -1) { in nfc_make_addr()
1748 column >>= 1; in nfc_make_addr()
1749 addr_bytes[acycle++] = column & 0xff; in nfc_make_addr()
1751 addr_bytes[acycle++] = (column >> 8) & 0xff; in nfc_make_addr()
1772 int column, int page_addr) in nfc_nand_command() argument
1794 __func__, command, column, page_addr); in nfc_nand_command()
1819 if (column != -1) in nfc_nand_command()
1820 addr1234 = column; in nfc_nand_command()
1829 column += mtd->writesize; in nfc_nand_command()
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Dfirmware.c56 u32 column; member
92 nvp->line, nvp->column); in brcmf_nvram_handle_idle()
94 nvp->column++; in brcmf_nvram_handle_idle()
109 nvp->line, nvp->column); in brcmf_nvram_handle_key()
113 nvp->column++; in brcmf_nvram_handle_key()
140 nvp->column++; in brcmf_nvram_handle_value()
156 nvp->column = 1; in brcmf_nvram_handle_comment()
187 nvp->column = 1; in brcmf_init_nvram_parser()
/drivers/mtd/onenand/
Donenand_base.c1023 static int onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column, in onenand_transfer_auto_oob() argument
1028 int readcol = column; in onenand_transfer_auto_oob()
1029 int readend = column + thislen; in onenand_transfer_auto_oob()
1052 } else if (column == 0) in onenand_transfer_auto_oob()
1119 int read = 0, column, thislen; in onenand_mlc_read_ops_nolock() local
1150 column = from & (writesize - 1); in onenand_mlc_read_ops_nolock()
1151 if (column + thislen > writesize) in onenand_mlc_read_ops_nolock()
1152 thislen = writesize - column; in onenand_mlc_read_ops_nolock()
1167 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen); in onenand_mlc_read_ops_nolock()
1224 int read = 0, column, thislen; in onenand_read_ops_nolock() local
[all …]
/drivers/tty/
Dn_tty.c123 unsigned int column; member
476 ldata->column = 0; in do_output_char()
480 ldata->canon_column = ldata->column = 0; in do_output_char()
484 ldata->canon_column = ldata->column; in do_output_char()
487 if (O_ONOCR(tty) && ldata->column == 0) in do_output_char()
492 ldata->canon_column = ldata->column = 0; in do_output_char()
495 ldata->canon_column = ldata->column = 0; in do_output_char()
498 spaces = 8 - (ldata->column & 7); in do_output_char()
502 ldata->column += spaces; in do_output_char()
506 ldata->column += spaces; in do_output_char()
[all …]
/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c327 u16 column; in spinand_read_from_cache() local
329 column = byte_id; in spinand_read_from_cache()
332 cmd.addr[0] = (u8)((column & 0xff00) >> 8); in spinand_read_from_cache()
334 cmd.addr[1] = (u8)(column & 0x00ff); in spinand_read_from_cache()
425 u16 column; in spinand_program_data_to_cache() local
427 column = byte_id; in spinand_program_data_to_cache()
430 cmd.addr[0] = (u8)((column & 0xff00) >> 8); in spinand_program_data_to_cache()
432 cmd.addr[1] = (u8)(column & 0x00ff); in spinand_program_data_to_cache()
733 int column, int page) in spinand_cmdfunc() argument
754 state->buf_ptr = column; in spinand_cmdfunc()
[all …]
/drivers/net/wireless/iwlwifi/mvm/
Drs.c674 if (tbl->column != RS_COLUMN_INVALID) { in rs_collect_tx_data()
677 pers->tx_stats[tbl->column][scale_index].total += attempts; in rs_collect_tx_data()
678 pers->tx_stats[tbl->column][scale_index].success += successes; in rs_collect_tx_data()
1282 const struct rs_tx_column *column) in rs_get_max_allowed_rate() argument
1284 switch (column->mode) { in rs_get_max_allowed_rate()
1299 const struct rs_tx_column *column, in rs_get_expected_tpt_table() argument
1305 if (WARN_ON_ONCE(column->mode != RS_LEGACY && in rs_get_expected_tpt_table()
1306 column->mode != RS_SISO && in rs_get_expected_tpt_table()
1307 column->mode != RS_MIMO2)) in rs_get_expected_tpt_table()
1311 if (column->mode == RS_LEGACY) in rs_get_expected_tpt_table()
[all …]
/drivers/net/wireless/ath/ath9k/
Dcalib.h48 #define INI_RA(iniarray, row, column) \ argument
49 (((iniarray)->ia_array)[(row) * ((iniarray)->ia_columns) + (column)])
/drivers/staging/speakup/
DDefaultKeyAssignments38 InsKeyPad-star n<x|y> go to line (y) or column (x). Where 'n' is any
39 allowed value for the row or column for your current screen.
/drivers/mtd/nand/bcm47xxnflash/
Dops_bcm4706.c216 unsigned command, int column, in bcm47xxnflash_ops_bcm4706_cmdfunc() argument
225 if (column != -1) in bcm47xxnflash_ops_bcm4706_cmdfunc()
226 b47n->curr_column = column; in bcm47xxnflash_ops_bcm4706_cmdfunc()
/drivers/firmware/efi/
Dcper.c234 n += scnprintf(msg + n, len - n, "column: %d ", mem->column); in cper_mem_err_location()
284 cmem->column = mem->column; in cper_mem_err_pack()
/drivers/uwb/
Dallocator.c223 static void uwb_rsv_fill_column_info(unsigned char *bm, int column, struct uwb_rsv_col_info *rci) in uwb_rsv_fill_column_info() argument
236 if (!bm[column * UWB_NUM_ZONES + mas]) { in uwb_rsv_fill_column_info()
/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c303 int column=0; in check_bist() local
306 column = ((bist_rd(adapter,moduleid, 0x0e)<<8) + in check_bist()
310 result, moduleid, column); in check_bist()

12