Home
last modified time | relevance | path

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

12345678910>>...31

/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.c196 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address() argument
199 if (block & this->density_mask) in onenand_block_address()
200 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask); in onenand_block_address()
213 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address() argument
216 if (block & this->density_mask) in onenand_bufferram_address()
273 static unsigned flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block() argument
277 if (ONENAND_IS_DDP(this) && addr >= this->diesize[0]) { in flexonenand_block()
279 addr -= this->diesize[0]; in flexonenand_block()
282 boundary = this->boundary[die]; in flexonenand_block()
284 blk = addr >> (this->erase_shift - 1); in flexonenand_block()
[all …]
Donenand_bbt.c59 struct onenand_chip *this = mtd->priv; in create_bbt() local
60 struct bbm_info *bbm = this->bbm; in create_bbt()
80 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
96 from + j * this->writesize + bd->offs, &ops); in create_bbt()
103 scanlen, this->writesize, bd)) { in create_bbt()
113 if (FLEXONENAND(this)) { in create_bbt()
134 struct onenand_chip *this = mtd->priv; in onenand_memory_bbt() local
136 return create_bbt(mtd, this->page_buf, bd, -1); in onenand_memory_bbt()
147 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt() local
148 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.c82 struct gpmi_nand_data *this = cookie; in bch_irq() local
84 gpmi_clear_bch(this); in bch_irq()
85 complete(&this->bch_done); in bch_irq()
107 static inline int get_ecc_strength(struct gpmi_nand_data *this) in get_ecc_strength() argument
109 struct bch_geometry *geo = &this->bch_geometry; in get_ecc_strength()
110 struct mtd_info *mtd = &this->mtd; in get_ecc_strength()
120 static inline bool gpmi_check_ecc(struct gpmi_nand_data *this) in gpmi_check_ecc() argument
122 struct bch_geometry *geo = &this->bch_geometry; in gpmi_check_ecc()
125 if (GPMI_IS_MX23(this) || GPMI_IS_MX28(this)) { in gpmi_check_ecc()
130 return geo->ecc_strength <= this->devdata->bch_max_ecc_strength; in gpmi_check_ecc()
[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()
205 void gpmi_dump_info(struct gpmi_nand_data *this) in gpmi_dump_info() argument
207 struct resources *r = &this->resources; in gpmi_dump_info()
[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->priv; 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->priv; 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->priv; in cs553x_read_byte() local
125 return readb(this->IO_ADDR_R); in cs553x_read_byte()
130 struct nand_chip *this = mtd->priv; 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->priv; 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->priv; in read_abs_bbt() local
271 for (i = 0; i < this->numchips; i++) { in read_abs_bbt()
[all …]
Dau1550nd.c42 struct nand_chip *this = mtd->priv; in au_read_byte() local
43 u_char ret = readb(this->IO_ADDR_R); in au_read_byte()
57 struct nand_chip *this = mtd->priv; in au_write_byte() local
58 writeb(byte, this->IO_ADDR_W); in au_write_byte()
70 struct nand_chip *this = mtd->priv; in au_read_byte16() local
71 u_char ret = (u_char) cpu_to_le16(readw(this->IO_ADDR_R)); in au_read_byte16()
85 struct nand_chip *this = mtd->priv; in au_write_byte16() local
86 writew(le16_to_cpu((u16) byte), this->IO_ADDR_W); in au_write_byte16()
98 struct nand_chip *this = mtd->priv; in au_read_word() local
99 u16 ret = readw(this->IO_ADDR_R); in au_read_word()
[all …]
Ddiskonchip.c302 struct nand_chip *this = mtd->priv; in doc2000_write_byte() local
303 struct doc_priv *doc = this->priv; in doc2000_write_byte()
314 struct nand_chip *this = mtd->priv; in doc2000_read_byte() local
315 struct doc_priv *doc = this->priv; in doc2000_read_byte()
329 struct nand_chip *this = mtd->priv; in doc2000_writebuf() local
330 struct doc_priv *doc = this->priv; in doc2000_writebuf()
346 struct nand_chip *this = mtd->priv; in doc2000_readbuf() local
347 struct doc_priv *doc = this->priv; in doc2000_readbuf()
361 struct nand_chip *this = mtd->priv; in doc2000_readbuf_dword() local
362 struct doc_priv *doc = this->priv; in doc2000_readbuf_dword()
[all …]
Dcmx270_nand.c56 struct nand_chip *this = mtd->priv; in cmx270_read_byte() local
58 return (readl(this->IO_ADDR_R) >> 16); in cmx270_read_byte()
64 struct nand_chip *this = mtd->priv; in cmx270_write_buf() local
67 writel((*buf++ << 16), this->IO_ADDR_W); in cmx270_write_buf()
73 struct nand_chip *this = mtd->priv; in cmx270_read_buf() local
76 *buf++ = readl(this->IO_ADDR_R) >> 16; in cmx270_read_buf()
97 struct nand_chip* this = mtd->priv; 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 …]
Dams-delta.c67 struct nand_chip *this = mtd->priv; in ams_delta_write_byte() local
68 void __iomem *io_base = this->priv; in ams_delta_write_byte()
71 writew(byte, this->IO_ADDR_W); in ams_delta_write_byte()
80 struct nand_chip *this = mtd->priv; in ams_delta_read_byte() local
81 void __iomem *io_base = this->priv; 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
197 this = (struct nand_chip *) (&ams_delta_mtd[1]); in ams_delta_init()
200 ams_delta_mtd->priv = this; in ams_delta_init()
215 this->priv = io_base; in ams_delta_init()
[all …]
Dsharpsl.c111 struct nand_chip *this; in sharpsl_nand_probe() local
143 this = (struct nand_chip *)(&sharpsl->chip); in sharpsl_nand_probe()
146 sharpsl->mtd.priv = this; in sharpsl_nand_probe()
157 this->IO_ADDR_R = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
158 this->IO_ADDR_W = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
160 this->cmd_ctrl = sharpsl_nand_hwcontrol; in sharpsl_nand_probe()
161 this->dev_ready = sharpsl_nand_dev_ready; in sharpsl_nand_probe()
163 this->chip_delay = 15; in sharpsl_nand_probe()
165 this->ecc.mode = NAND_ECC_HW; in sharpsl_nand_probe()
166 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/block/drbd/
Ddrbd_interval.c11 struct drbd_interval *this = rb_entry(node, struct drbd_interval, rb); in interval_end() local
12 return this->end; in interval_end()
47 drbd_insert_interval(struct rb_root *root, struct drbd_interval *this) in drbd_insert_interval() argument
50 sector_t this_end = this->sector + (this->size >> 9); in drbd_insert_interval()
52 BUG_ON(!IS_ALIGNED(this->size, 512)); in drbd_insert_interval()
61 if (this->sector < here->sector) in drbd_insert_interval()
63 else if (this->sector > here->sector) in drbd_insert_interval()
65 else if (this < here) in drbd_insert_interval()
67 else if (this > here) in drbd_insert_interval()
73 this->end = this_end; in drbd_insert_interval()
[all …]
/drivers/media/dvb-frontends/
DKconfig13 to support this demodulator based frontends
21 demodulator. Say Y when you want to support this tuner.
44 Say Y when you want to support this frontend.
56 Say Y when you want to support this frontend.
65 Say Y when you want to support this tuner.
74 Say Y when you want to support this frontend.
84 A DVB-S tuner module. Say Y when you want to support this frontend.
91 A DVB-S tuner module. Say Y when you want to support this frontend.
98 A DVB-S tuner module. Say Y when you want to support this frontend.
105 A DVB-S tuner module. Say Y when you want to support this frontend.
[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/staging/comedi/
DKconfig39 Note that the answer to this question won't directly affect the
54 To compile this driver as a module, choose M here: the module will be
65 To compile this driver as a module, choose M here: the module will be
76 To compile this driver as a module, choose M here: the module will be
84 To compile this driver as a module, choose M here: the module will be
93 To compile this driver as a module, choose M here: the module will be
103 Note that the answer to this question won't directly affect the
115 To compile this driver as a module, choose M here: the module will be
136 To compile this driver as a module, choose M here: the module will be
144 To compile this driver as a module, choose M here: the module will be
[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/char/xillybus/
Dxillybus_of.c83 struct xilly_mapping *this; in xilly_map_single_of() local
86 this = kzalloc(sizeof(*this), GFP_KERNEL); in xilly_map_single_of()
87 if (!this) in xilly_map_single_of()
93 kfree(this); in xilly_map_single_of()
97 this->device = ep->dev; in xilly_map_single_of()
98 this->dma_addr = addr; in xilly_map_single_of()
99 this->size = size; in xilly_map_single_of()
100 this->direction = direction; in xilly_map_single_of()
104 rc = devm_add_action(ep->dev, xilly_of_unmap, this); in xilly_map_single_of()
108 kfree(this); in xilly_map_single_of()
Dxillybus_pcie.c100 struct xilly_mapping *this; in xilly_map_single_pci() local
103 this = kzalloc(sizeof(*this), GFP_KERNEL); in xilly_map_single_pci()
104 if (!this) in xilly_map_single_pci()
112 kfree(this); in xilly_map_single_pci()
116 this->device = ep->pdev; in xilly_map_single_pci()
117 this->dma_addr = addr; in xilly_map_single_pci()
118 this->size = size; in xilly_map_single_pci()
119 this->direction = pci_direction; in xilly_map_single_pci()
123 rc = devm_add_action(ep->dev, xilly_pci_unmap, this); in xilly_map_single_pci()
126 kfree(this); in xilly_map_single_pci()
/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
79 To compile this driver as a module, choose M here: the
90 To compile this driver as a module, choose M here: the
102 To compile this driver as a module, choose M here: the
115 To compile this driver as a module, choose M here: the
128 To compile this driver as a module, choose M here: the
[all …]
/drivers/gpu/drm/exynos/
DKconfig11 Choose this option if you have a Samsung SoC EXYNOS chipset.
29 Choose this option if you want to use Exynos FIMD for DRM.
34 Choose this option if you want to use Exynos5433 DECON for DRM.
41 Choose this option if you want to use Exynos DECON for DRM.
47 Choose this option if you want to use Exynos Mixer for DRM.
52 Choose this option if you want to use Exynos VIDI for DRM.
85 Choose this option if you want to use Exynos HDMI for DRM.
91 Choose this option if you want to use Exynos MIC for DRM.
100 Choose this option if you want to use Exynos G2D for DRM.
105 Choose this option if you want to use IPP feature for DRM.
[all …]

12345678910>>...31