Searched defs:column (Results 1 - 23 of 23) sorted by relevance

/drivers/mtd/nand/
H A Dau1550nd.c314 * @column: the column address for this command, -1 if none
317 static void au1550_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) argument
332 if (column >= mtd->writesize) {
334 column -= mtd->writesize;
336 } else if (column < 256) {
340 column -= 256;
350 if (column != -1 || page_addr != -1) {
354 if (column != -1) {
357 column >>
[all...]
H A Dnuc900_nand.c154 int column, int page_addr)
162 column += mtd->writesize;
168 if (column != -1 || page_addr != -1) {
170 if (column != -1) {
172 column >>= 1;
173 write_addr_reg(nand, column);
174 write_addr_reg(nand, column >> 8 | ENDADDR);
153 nuc900_nand_command_lp(struct mtd_info *mtd, unsigned int command, int column, int page_addr) argument
H A Dfsl_elbc_nand.c71 unsigned int column; /* Saved column from SEQIN */ member in struct:fsl_elbc_fcm_ctrl
158 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) argument
177 (oob ? FPAR_LP_MS : 0) | column);
187 (oob ? FPAR_SP_MS : 0) | column);
192 elbc_fcm_ctrl->index = column;
307 int column, int page_addr)
325 column += 256;
331 " 0x%x, column: 0x%x.\n", page_addr, column);
306 fsl_elbc_cmdfunc(struct mtd_info *mtd, unsigned int command, int column, int page_addr) argument
[all...]
H A Dsh_flctl.c100 static void set_addr(struct mtd_info *mtd, int column, int page_addr) argument
105 if (column == -1) {
110 column >>= 1;
112 addr = column & 0x0FFF;
122 addr = column;
511 int column, int page_addr)
539 column >>= 1;
540 flctl->index += column;
588 if (column >= mtd->writesize) {
589 column
510 flctl_cmdfunc(struct mtd_info *mtd, unsigned int command, int column, int page_addr) argument
[all...]
H A Dcafe_nand.c159 int column, int page_addr)
167 command, column, page_addr);
184 column += mtd->writesize;
191 if (column != -1) {
192 cafe_writel(cafe, column, NAND_ADDR1);
222 cafe->datalen = mtd->writesize + mtd->oobsize - column;
158 cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command, int column, int page_addr) argument
H A Ddiskonchip.c721 static void doc2001plus_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) argument
742 if (column >= mtd->writesize) {
744 column -= mtd->writesize;
746 } else if (column < 256) {
750 column -= 256;
759 if (column != -1 || page_addr != -1) {
761 if (column != -1) {
764 column >>= 1;
765 WriteDOC(column, docptr, Mplus_FlashAddress);
H A Dmpc5121_nfc.c126 uint column; member in struct:mpc5121_nfc_prv
246 static void mpc5121_nfc_addr_cycle(struct mtd_info *mtd, int column, int page) argument
251 if (column != -1) {
252 mpc5121_nfc_send_addr(mtd, column);
254 mpc5121_nfc_send_addr(mtd, column >> 8);
333 int column, int page)
338 prv->column = (column >= 0) ? column : 0;
350 column
332 mpc5121_nfc_command(struct mtd_info *mtd, unsigned command, int column, int page) argument
[all...]
H A Dmxc_nand.c741 static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr) argument
746 /* Write out column address, if necessary */
747 if (column != -1) {
751 * perform a read/write buf operation, the saved column
926 int column, int page_addr)
932 command, column, page_addr);
949 mxc_do_addr_cycle(mtd, column, page_addr);
955 host->buf_start = column;
957 host->buf_start = column + mtd->writesize;
962 mxc_do_addr_cycle(mtd, column, page_add
925 mxc_nand_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) argument
[all...]
H A Dnand_base.c529 * @column: the column address for this command, -1 if none
536 int column, int page_addr)
545 if (column >= mtd->writesize) {
547 column -= mtd->writesize;
549 } else if (column < 256) {
553 column -= 256;
564 if (column != -1) {
567 column >>= 1;
568 chip->cmd_ctrl(mtd, column, ctr
535 nand_command(struct mtd_info *mtd, unsigned int command, int column, int page_addr) argument
637 nand_command_lp(struct mtd_info *mtd, unsigned int command, int column, int page_addr) argument
2177 int chipnr, realpage, page, blockmask, column; local
[all...]
H A Dpxa3xx_nand.c490 uint16_t column, int page_addr)
502 /* reset data and oob column point to handle data */
538 info->buf_start = mtd->writesize + column;
540 info->buf_start = column;
556 | (column & 0xFF);
561 | (column & 0xFFFF);
642 int column, int page_addr)
654 column /= 2;
668 exec_cmd = prepare_command_pool(info, command, column, page_addr);
489 prepare_command_pool(struct pxa3xx_nand_info *info, int command, uint16_t column, int page_addr) argument
641 pxa3xx_nand_cmdfunc(struct mtd_info *mtd, unsigned command, int column, int page_addr) argument
H A Dnandsim.c207 /* Calculate the page offset in flash RAM image by (row, column) address */
209 (((ns)->regs.row << (ns)->geom.pgshift) + ((ns)->regs.row * (ns)->geom.oobsz) + (ns)->regs.column)
211 /* Calculate the OOB offset in flash RAM image by (row, column) address */
232 #define STATE_ADDR_PAGE 0x00000010 /* full (row, column) address is accepted */
234 #define STATE_ADDR_COLUMN 0x00000030 /* column address was accepted */
349 uint column; /* the offset within page */ member in struct:nandsim::__anon1761
1143 ns->regs.column |= (byte << 8 * ns->regs.count);
1169 ns->regs.column = 0;
1403 return NS_GET_PAGE(ns)->byte + ns->regs.column + ns->regs.off;
1432 pos, ns->regs.row, ns->regs.column
[all...]
/drivers/uwb/
H A Dallocator.c88 * Find the best column set for a given availability, interval, num safe mas and
223 static void uwb_rsv_fill_column_info(unsigned char *bm, int column, struct uwb_rsv_col_info *rci) argument
236 if (!bm[column * UWB_NUM_ZONES + mas]) {
359 /* try row reservation if no column is found */
/drivers/input/keyboard/
H A Dtc3589x-keypad.c102 u8 column = keypad->board->kcol & 0xf; /* mask out the nibble */ local
113 (rows << KP_ROW_SHIFT) | column);
152 /* Configure pull-up resistors for all column GPIOs */
/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326.c303 int column=0; local
306 column = ((bist_rd(adapter,moduleid, 0x0e)<<8) +
309 pr_err("Result: 0x%x BIST error in ram %d, column: 0x%04x\n",
310 result, moduleid, column);
/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-nand.c1119 int column, page, status, chipnr; local
1133 column = this->swap_block_mark ? mtd->writesize : 0;
1142 chip->cmdfunc(mtd, NAND_CMD_SEQIN, column, page);
/drivers/net/wireless/ath/ath9k/
H A Dar5008_phy.c81 * @column:
88 u32 column)
101 (column * 8);
104 (column * 8)) & mask;
820 /* override CLKDRV value at [row, column] = [31, 1] */
86 ar5008_hw_phy_modify_rx_buffer(u32 *rfBuf, u32 reg32, u32 numBits, u32 firstBit, u32 column) argument
H A Dar9003_phy.c608 int column)
619 * the array is non-modal and force the column to 1.
621 if (column >= iniArr->ia_columns)
622 column = 1;
626 u32 val = INI_RA(iniArr, i, column);
606 ar9003_hw_prog_ini(struct ath_hw *ah, struct ar5416IniArray *iniArr, int column) argument
H A Dhw.c145 int column, unsigned int *writecnt)
152 INI_RA(array, r, column));
144 ath9k_hw_write_array(struct ath_hw *ah, struct ar5416IniArray *array, int column, unsigned int *writecnt) argument
/drivers/mtd/onenand/
H A Donenand_base.c1021 * @param column oob offset to read from
1024 static int onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column, argument
1029 int readcol = column;
1030 int readend = column + thislen;
1053 } else if (column == 0)
1120 int read = 0, column, thislen; local
1151 column = from & (writesize - 1);
1152 if (column + thislen > writesize)
1153 thislen = writesize - column;
1168 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thisle
1224 int read = 0, column, thislen; local
1352 int read = 0, thislen, column, oobsize; local
1574 int read = 0, thislen, column; local
1678 int thislen, column; local
1743 int column, subpage; local
1831 onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, const u_char *buf, int column, int thislen) argument
1876 int written = 0, column, thislen = 0, subpage = 0; local
2072 int column, ret = 0, oobsize; local
2938 int column, ret = 0, oobsize; local
[all...]
/drivers/net/wireless/bcmdhd/
H A Dbcmutils.c2048 int column; local
2055 column = 0;
2068 if (column == 0)
2071 column = 0;
2075 column++;
/drivers/scsi/mpt2sas/
H A Dmpt2sas_scsih.c3813 u32 v_lba, p_lba, stripe_off, stripe_unit, column, io_size; local
3845 column = p_lba % num_pds;
3850 pd_handle[column]);
3876 column = p_lba % num_pds;
3881 pd_handle[column]);
/drivers/acpi/acpica/
H A Daclocal.h732 u32 column; member in struct:acpi_parse_obj_asl
/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddhd_sdio.c3300 int column; local
3306 column = 0;
3321 if (column == 0)
3324 column = 0;
3328 column++;

Completed in 160 milliseconds