Home
last modified time | relevance | path

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

12345678910>>...35

/drivers/net/wireless/
Dwl3501_cs.c187 static inline void wl3501_switch_page(struct wl3501_card *this, u8 page) in wl3501_switch_page() argument
189 wl3501_outb(page, this->base_addr + WL3501_NIC_BSS); in wl3501_switch_page()
198 static int wl3501_get_flash_mac_addr(struct wl3501_card *this) in wl3501_get_flash_mac_addr() argument
200 int base_addr = this->base_addr; in wl3501_get_flash_mac_addr()
209 this->mac_addr[0] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
211 this->mac_addr[1] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
213 this->mac_addr[2] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
215 this->mac_addr[3] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
217 this->mac_addr[4] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
219 this->mac_addr[5] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
[all …]
/drivers/mtd/onenand/
Donenand_base.c229 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address() argument
232 if (block & this->density_mask) in onenand_block_address()
233 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask); in onenand_block_address()
246 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address() argument
249 if (block & this->density_mask) in onenand_bufferram_address()
306 static unsigned flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block() argument
310 if (ONENAND_IS_DDP(this) && addr >= this->diesize[0]) { in flexonenand_block()
312 addr -= this->diesize[0]; in flexonenand_block()
315 boundary = this->boundary[die]; in flexonenand_block()
317 blk = addr >> (this->erase_shift - 1); in flexonenand_block()
[all …]
Donenand_bbt.c60 struct onenand_chip *this = mtd->priv; in create_bbt() local
61 struct bbm_info *bbm = this->bbm; in create_bbt()
81 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
97 from + j * this->writesize + bd->offs, &ops); in create_bbt()
104 scanlen, this->writesize, bd)) { in create_bbt()
114 if (FLEXONENAND(this)) { in create_bbt()
135 struct onenand_chip *this = mtd->priv; in onenand_memory_bbt() local
137 return create_bbt(mtd, this->page_buf, bd, -1); in onenand_memory_bbt()
148 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt() local
149 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt()
[all …]
Dsamsung.c226 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_readw() local
228 int reg = addr - this->base; in s3c_onenand_readw()
276 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_writew() local
278 unsigned int reg = addr - this->base; in s3c_onenand_writew()
387 struct onenand_chip *this = mtd->priv; in s3c_onenand_command() local
394 fba = (int) (addr >> this->erase_shift); in s3c_onenand_command()
395 fpa = (int) (addr >> this->page_shift); in s3c_onenand_command()
396 fpa &= this->page_mask; in s3c_onenand_command()
406 ONENAND_SET_NEXT_BUFFERRAM(this); in s3c_onenand_command()
411 index = ONENAND_CURRENT_BUFFERRAM(this); in s3c_onenand_command()
[all …]
/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c54 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ooblayout_ecc() local
55 struct bch_geometry *geo = &this->bch_geometry; in gpmi_ooblayout_ecc()
70 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ooblayout_free() local
71 struct bch_geometry *geo = &this->bch_geometry; in gpmi_ooblayout_free()
144 struct gpmi_nand_data *this = cookie; in bch_irq() local
146 gpmi_clear_bch(this); in bch_irq()
147 complete(&this->bch_done); in bch_irq()
169 static inline int get_ecc_strength(struct gpmi_nand_data *this) in get_ecc_strength() argument
171 struct bch_geometry *geo = &this->bch_geometry; in get_ecc_strength()
172 struct mtd_info *mtd = nand_to_mtd(&this->nand); in get_ecc_strength()
[all …]
Dgpmi-lib.c127 static int __gpmi_enable_clk(struct gpmi_nand_data *this, bool v) in __gpmi_enable_clk() argument
134 clk = this->resources.clock[i]; in __gpmi_enable_clk()
150 clk_disable_unprepare(this->resources.clock[i - 1]); in __gpmi_enable_clk()
157 int gpmi_init(struct gpmi_nand_data *this) in gpmi_init() argument
159 struct resources *r = &this->resources; in gpmi_init()
162 ret = gpmi_enable_clk(this); in gpmi_init()
174 GPMI_IS_MX23(this) || GPMI_IS_MX28(this)); in gpmi_init()
198 gpmi_disable_clk(this); in gpmi_init()
201 gpmi_disable_clk(this); in gpmi_init()
206 void gpmi_dump_info(struct gpmi_nand_data *this) in gpmi_dump_info() argument
[all …]
/drivers/isdn/hardware/eicon/
Ddi.c81 ENTITY *this = NULL; in pr_out() local
108 this = entity_ptr(a, e_no); in pr_out()
110 if (!this) in pr_out()
119 DBG_TRC((">A%d Id=0x%x Req=0x%x", ((ISDN_ADAPTER *)a->io)->ANum, this->Id, this->Req)) in pr_out()
122 dbug(dprintf("out:Req=%x,Id=%x,Ch=%x", this->Req, this->Id, this->ReqCh)); in pr_out()
127 if (!(a->tx_stream[this->Id] && in pr_out()
128 this->Req == N_DATA)) { in pr_out()
133 i = this->XCurrent; in pr_out()
134 X = PTR_X(a, this); in pr_out()
135 while (i < this->XNum && length < 270) { in pr_out()
[all …]
/drivers/s390/net/
Dfsm.c20 fsm_instance *this; in init_fsm() local
24 this = kzalloc(sizeof(fsm_instance), order); in init_fsm()
25 if (this == NULL) { in init_fsm()
30 strlcpy(this->name, name, sizeof(this->name)); in init_fsm()
31 init_waitqueue_head(&this->wait_q); in init_fsm()
37 kfree_fsm(this); in init_fsm()
44 this->f = f; in init_fsm()
50 kfree_fsm(this); in init_fsm()
62 kfree_fsm(this); in init_fsm()
68 return this; in init_fsm()
[all …]
/drivers/mtd/nand/
Dcs553x_nand.c100 struct nand_chip *this = mtd_to_nand(mtd); in cs553x_read_buf() local
103 memcpy_fromio(buf, this->IO_ADDR_R, 0x800); in cs553x_read_buf()
107 memcpy_fromio(buf, this->IO_ADDR_R, len); in cs553x_read_buf()
112 struct nand_chip *this = mtd_to_nand(mtd); in cs553x_write_buf() local
115 memcpy_toio(this->IO_ADDR_R, buf, 0x800); in cs553x_write_buf()
119 memcpy_toio(this->IO_ADDR_R, buf, len); in cs553x_write_buf()
124 struct nand_chip *this = mtd_to_nand(mtd); in cs553x_read_byte() local
125 return readb(this->IO_ADDR_R); in cs553x_read_byte()
130 struct nand_chip *this = mtd_to_nand(mtd); in cs553x_write_byte() local
133 while (i && readb(this->IO_ADDR_R + MM_NAND_STS) & CS_NAND_CTLR_BUSY) { in cs553x_write_byte()
[all …]
Dnand_bbt.c175 struct nand_chip *this = mtd_to_nand(mtd); in read_bbt() local
185 from = ((loff_t)page) << this->page_shift; in read_bbt()
188 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
224 this->bbt_erase_shift); in read_bbt()
225 bbt_mark_entry(this, offs + act, in read_bbt()
236 this->bbt_erase_shift); in read_bbt()
239 bbt_mark_entry(this, offs + act, in read_bbt()
242 bbt_mark_entry(this, offs + act, in read_bbt()
266 struct nand_chip *this = mtd_to_nand(mtd); in read_abs_bbt() local
271 for (i = 0; i < this->numchips; i++) { in read_abs_bbt()
[all …]
Dau1550nd.c41 struct nand_chip *this = mtd_to_nand(mtd); in au_read_byte() local
42 u_char ret = readb(this->IO_ADDR_R); in au_read_byte()
56 struct nand_chip *this = mtd_to_nand(mtd); in au_write_byte() local
57 writeb(byte, this->IO_ADDR_W); in au_write_byte()
69 struct nand_chip *this = mtd_to_nand(mtd); in au_read_byte16() local
70 u_char ret = (u_char) cpu_to_le16(readw(this->IO_ADDR_R)); in au_read_byte16()
84 struct nand_chip *this = mtd_to_nand(mtd); in au_write_byte16() local
85 writew(le16_to_cpu((u16) byte), this->IO_ADDR_W); in au_write_byte16()
97 struct nand_chip *this = mtd_to_nand(mtd); in au_read_word() local
98 u16 ret = readw(this->IO_ADDR_R); in au_read_word()
[all …]
Dcmx270_nand.c56 struct nand_chip *this = mtd_to_nand(mtd); in cmx270_read_byte() local
58 return (readl(this->IO_ADDR_R) >> 16); in cmx270_read_byte()
64 struct nand_chip *this = mtd_to_nand(mtd); in cmx270_write_buf() local
67 writel((*buf++ << 16), this->IO_ADDR_W); in cmx270_write_buf()
73 struct nand_chip *this = mtd_to_nand(mtd); in cmx270_read_buf() local
76 *buf++ = readl(this->IO_ADDR_R) >> 16; in cmx270_read_buf()
97 struct nand_chip *this = mtd_to_nand(mtd); in cmx270_hwcontrol() local
98 unsigned int nandaddr = (unsigned int)this->IO_ADDR_W; in cmx270_hwcontrol()
118 this->IO_ADDR_W = (void __iomem*)nandaddr; in cmx270_hwcontrol()
120 writel((dat << 16), this->IO_ADDR_W); in cmx270_hwcontrol()
[all …]
Ddiskonchip.c298 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_write_byte() local
299 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_write_byte()
310 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_read_byte() local
311 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_read_byte()
325 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_writebuf() local
326 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_writebuf()
342 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_readbuf() local
343 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_readbuf()
357 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_readbuf_dword() local
358 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_readbuf_dword()
[all …]
Dams-delta.c67 struct nand_chip *this = mtd_to_nand(mtd); in ams_delta_write_byte() local
68 void __iomem *io_base = (void __iomem *)nand_get_controller_data(this); in ams_delta_write_byte()
71 writew(byte, this->IO_ADDR_W); in ams_delta_write_byte()
80 struct nand_chip *this = mtd_to_nand(mtd); in ams_delta_read_byte() local
81 void __iomem *io_base = (void __iomem *)nand_get_controller_data(this); in ams_delta_read_byte()
86 res = readw(this->IO_ADDR_R); in ams_delta_read_byte()
177 struct nand_chip *this; in ams_delta_init() local
186 this = kzalloc(sizeof(struct nand_chip), GFP_KERNEL); in ams_delta_init()
187 if (!this) { in ams_delta_init()
193 ams_delta_mtd = nand_to_mtd(this); in ams_delta_init()
[all …]
Dsharpsl.c113 struct nand_chip *this; in sharpsl_nand_probe() local
146 this = (struct nand_chip *)(&sharpsl->chip); in sharpsl_nand_probe()
149 mtd = nand_to_mtd(this); in sharpsl_nand_probe()
161 this->IO_ADDR_R = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
162 this->IO_ADDR_W = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
164 this->cmd_ctrl = sharpsl_nand_hwcontrol; in sharpsl_nand_probe()
165 this->dev_ready = sharpsl_nand_dev_ready; in sharpsl_nand_probe()
167 this->chip_delay = 15; in sharpsl_nand_probe()
169 this->ecc.mode = NAND_ECC_HW; in sharpsl_nand_probe()
170 this->ecc.size = 256; in sharpsl_nand_probe()
[all …]
/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c50 struct nvkm_mm_node *this = *pthis; in nvkm_mm_free() local
52 if (this) { in nvkm_mm_free()
53 struct nvkm_mm_node *prev = node(this, prev); in nvkm_mm_free()
54 struct nvkm_mm_node *next = node(this, next); in nvkm_mm_free()
57 prev->length += this->length; in nvkm_mm_free()
58 list_del(&this->nl_entry); in nvkm_mm_free()
59 kfree(this); this = prev; in nvkm_mm_free()
63 next->offset = this->offset; in nvkm_mm_free()
64 next->length += this->length; in nvkm_mm_free()
65 if (this->type == NVKM_MM_TYPE_NONE) in nvkm_mm_free()
[all …]
/drivers/staging/greybus/
DKconfig14 To compile this code as a module, chose M here: the module
23 Select this option if you have a Toshiba ES3 USB device that
27 To compile this code as a module, chose M here: the module
34 Select this option if you have a device that follows the
37 To compile this code as a module, chose M here: the module
43 Select this option if you have a device that follows the
46 To compile this code as a module, chose M here: the module
53 Select this option if you have a device that follows the
56 To compile this code as a module, chose M here: the module
63 Select this option if you have a device that follows the
[all …]
/drivers/block/drbd/
Ddrbd_interval.c12 struct drbd_interval *this = rb_entry(node, struct drbd_interval, rb); in interval_end() local
13 return this->end; in interval_end()
48 drbd_insert_interval(struct rb_root *root, struct drbd_interval *this) in drbd_insert_interval() argument
51 sector_t this_end = this->sector + (this->size >> 9); in drbd_insert_interval()
53 BUG_ON(!IS_ALIGNED(this->size, 512)); in drbd_insert_interval()
62 if (this->sector < here->sector) in drbd_insert_interval()
64 else if (this->sector > here->sector) in drbd_insert_interval()
66 else if (this < here) in drbd_insert_interval()
68 else if (this > here) in drbd_insert_interval()
74 this->end = this_end; in drbd_insert_interval()
[all …]
/drivers/media/radio/
DKconfig37 Choose Y here if you have this FM radio chip.
41 this API and pointers to "v4l2" programs may be found at
44 To compile this driver as a module, choose M here: the
51 Say Y here if you want to connect this type of radio to your
56 To compile this driver as a module, choose M here: the
63 Say Y here if you want to connect this type of radio to your
68 To compile this driver as a module, choose M here: the
76 Choose Y here if you have this radio card. This card may also be
81 this API and pointers to "v4l" programs may be found at
84 To compile this driver as a module, choose M here: the
[all …]
/drivers/media/dvb-frontends/
DKconfig13 to support this demodulator based frontends
21 demodulator. Say Y when you want to support this tuner.
71 Say Y when you want to support this frontend.
83 Say Y when you want to support this frontend.
92 Say Y when you want to support this tuner.
102 Say Y when you want to support this frontend.
110 Say Y when you want to support this frontend.
118 Say Y when you want to support this frontend.
128 A DVB-S tuner module. Say Y when you want to support this frontend.
135 A DVB-S tuner module. Say Y when you want to support this frontend.
[all …]
/drivers/media/usb/gspca/
DKconfig13 "Video For Linux" to use this driver.
15 To compile this driver as modules, choose M here: the
31 To compile this driver as a module, choose M here: the
40 To compile this driver as a module, choose M here: the
49 applications to understand the videoformat generated by this driver.
51 To compile this driver as a module, choose M here: the
61 To compile this driver as a module, choose M here: the
70 To compile this driver as a module, choose M here: the
79 To compile this driver as a module, choose M here: the
86 Say Y here if you want support for cameras based on this Jeilin chip.
[all …]
/drivers/staging/comedi/
DKconfig38 Note that the answer to this question won't directly affect the
53 To compile this driver as a module, choose M here: the module will be
64 To compile this driver as a module, choose M here: the module will be
75 To compile this driver as a module, choose M here: the module will be
83 To compile this driver as a module, choose M here: the module will be
92 To compile this driver as a module, choose M here: the module will be
102 Note that the answer to this question won't directly affect the
114 To compile this driver as a module, choose M here: the module will be
135 To compile this driver as a module, choose M here: the module will be
143 To compile this driver as a module, choose M here: the module will be
[all …]
/drivers/char/xillybus/
Dxillybus_of.c83 struct xilly_mapping *this; in xilly_map_single_of() local
85 this = kzalloc(sizeof(*this), GFP_KERNEL); in xilly_map_single_of()
86 if (!this) in xilly_map_single_of()
92 kfree(this); in xilly_map_single_of()
96 this->device = ep->dev; in xilly_map_single_of()
97 this->dma_addr = addr; in xilly_map_single_of()
98 this->size = size; in xilly_map_single_of()
99 this->direction = direction; in xilly_map_single_of()
103 return devm_add_action_or_reset(ep->dev, xilly_of_unmap, this); in xilly_map_single_of()
/drivers/gpu/drm/exynos/
DKconfig7 Choose this option if you have a Samsung SoC EXYNOS chipset.
24 Choose this option if you want to use Exynos FIMD for DRM.
29 Choose this option if you want to use Exynos5433 DECON for DRM.
35 Choose this option if you want to use Exynos DECON for DRM.
40 Choose this option if you want to use Exynos Mixer for DRM.
45 Choose this option if you want to use Exynos VIDI for DRM.
80 Choose this option if you want to use Exynos HDMI for DRM.
86 Choose this option if you want to use Exynos MIC for DRM.
95 Choose this option if you want to use Exynos G2D for DRM.
100 Choose this option if you want to use IPP feature for DRM.
[all …]
/drivers/input/touchscreen/
DKconfig27 To compile this driver as a module, choose M here: the
42 (and on ads7846/tsc2046/ad7873, temperature) sensors of this chip.
46 To compile this driver as a module, choose M here: the
59 To compile this driver as a module, choose M here: the
70 To compile this driver as a module, choose M here: the
80 To compile this driver as a module, choose M here: the
92 To compile this driver as a module, choose M here: the
104 To compile this driver as a module, choose M here: the
117 To compile this driver as a module, choose M here: the
139 To compile this driver as a module, choose M here: the
[all …]

12345678910>>...35