Searched refs:pos (Results 276 - 300 of 520) sorted by path

<<11121314151617181920>>

/haiku/src/add-ons/kernel/drivers/graphics/nvidia/
H A Ddriver.c68 static status_t read_hook(void* dev, off_t pos, void* buf, size_t* len);
69 static status_t write_hook(void* dev, off_t pos, const void* buf, size_t* len);
1114 read_hook(void* dev, off_t pos, void* buf, size_t* len) argument
1122 write_hook(void* dev, off_t pos, const void* buf, size_t* len) argument
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Ddriver.c28 static status_t read_hook(void *dev, off_t pos, void *buf, size_t *len);
29 static status_t write_hook(void *dev, off_t pos, const void *buf, size_t *len);
249 read_hook(void *dev, off_t pos, void *buf, size_t *len) argument
258 write_hook(void *dev, off_t pos, const void *buf, size_t *len) argument
/haiku/src/add-ons/kernel/drivers/graphics/s3/
H A Ddriver.cpp117 static status_t device_read(void* dev, off_t pos, void* buf, size_t* len);
118 static status_t device_write(void* dev, off_t pos, const void* buf, size_t* len);
734 device_read(void* dev, off_t pos, void* buf, size_t* len) argument
738 (void)pos;
747 device_write(void* dev, off_t pos, const void* buf, size_t* len) argument
751 (void)pos;
/haiku/src/add-ons/kernel/drivers/graphics/skeleton/
H A Ddriver.c74 static status_t read_hook (void* dev, off_t pos, void* buf, size_t* len);
75 static status_t write_hook (void* dev, off_t pos, const void* buf, size_t* len);
771 read_hook (void* dev, off_t pos, void* buf, size_t* len) argument
781 write_hook (void* dev, off_t pos, const void* buf, size_t* len) argument
/haiku/src/add-ons/kernel/drivers/graphics/via/
H A Ddriver.c74 static status_t read_hook (void* dev, off_t pos, void* buf, size_t* len);
75 static status_t write_hook (void* dev, off_t pos, const void* buf, size_t* len);
759 read_hook (void* dev, off_t pos, void* buf, size_t* len) argument
769 write_hook (void* dev, off_t pos, const void* buf, size_t* len) argument
/haiku/src/add-ons/kernel/drivers/graphics/virtio/
H A Dviogpu.h153 struct virtio_gpu_cursor_pos pos; /* update & move */ member in struct:virtio_gpu_update_cursor
H A Dvirtio_gpu.cpp692 virtio_gpu_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
700 virtio_gpu_write(void* cookie, off_t pos, const void* buffer, argument
/haiku/src/add-ons/kernel/drivers/input/virtio_input/
H A Dvirtio_input.cpp355 virtio_input_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
362 virtio_input_write(void* cookie, off_t pos, const void* buffer, argument
/haiku/src/add-ons/kernel/drivers/input/wacom/
H A Dwacom.c523 device_read(void* cookie, off_t pos, void* buf, size_t* count) argument
536 cookie, pos, buf, *count, kBasePublishPath, device->number));
618 device_write(void *cookie, off_t pos, const void *buf, size_t *count) argument
/haiku/src/add-ons/kernel/drivers/network/ether/3com/dev/xl/
H A Dif_xl.c1814 struct xl_chain_onefrag *pos; local
1819 pos = sc->xl_cdata.xl_rx_head;
1822 if (pos->xl_ptr->xl_status)
1824 pos = pos->xl_next;
1830 sc->xl_cdata.xl_rx_head = pos;
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/
H A Dif_dc.c2816 int i, pos; local
2818 pos = sc->dc_cdata.dc_rx_prod;
2821 cur_rx = &sc->dc_ldata.dc_rx_list[pos];
2824 DC_INC(pos, DC_RX_LIST_CNT);
2832 sc->dc_cdata.dc_rx_prod = pos;
/haiku/src/add-ons/kernel/drivers/network/ether/etherpci/
H A Detherpci.c272 static status_t read_hook(void *data, off_t pos, void *buf, size_t *len);
273 static status_t write_hook(void *data, off_t pos, const void *buf, size_t *len);
1436 read_hook(void *_data, off_t pos, void *buf, size_t *len) argument
1641 write_hook(void *_data, off_t pos, const void *buf, size_t *len) argument
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/
H A Dif_fxp.c227 struct mbuf *m, uint16_t status, int pos);
1801 uint16_t status, int pos)
1862 csum = be16dec(mtod(m, char *) + pos);
1800 fxp_rxcsum(struct fxp_softc *sc, if_t ifp, struct mbuf *m, uint16_t status, int pos) argument
/haiku/src/add-ons/kernel/drivers/network/ether/virtio/
H A Dvirtio_net.cpp611 virtio_net_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
669 virtio_net_write(void* cookie, off_t pos, const void* buffer, argument
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath.c3621 uint8_t pos; local
3627 pos = (val >> 18) ^ (val >> 12) ^ (val >> 6) ^
3630 pos ^= (val >> 18) ^ (val >> 12) ^ (val >> 6) ^
3632 pos &= 0x3f;
3633 mfilt[pos / 32] |= (1 << (pos % 32));
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dbwirf.c975 int pos = (i + 1) % SAVE_RF_MAX; local
977 RF_WRITE(mac, save_rf_regs[pos], save_rf[pos]);
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c5569 uint8_t pos = IWX_PHY_VHT_CTRL_POS_1_BELOW; local
5573 pos = IWX_PHY_VHT_CTRL_POS_2_BELOW;
5576 pos = IWX_PHY_VHT_CTRL_POS_1_BELOW;
5579 pos = IWX_PHY_VHT_CTRL_POS_1_ABOVE;
5582 pos = IWX_PHY_VHT_CTRL_POS_2_ABOVE;
5588 return pos;
6893 uint8_t *frm, *pos; local
6931 pos = frm;
6935 remain -= frm - pos;
6946 preq->band_data[0].len = htole16(frm - pos);
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c6183 uint8_t pos = IWM_PHY_VHT_CTRL_POS_1_BELOW; local
6187 pos = IWM_PHY_VHT_CTRL_POS_2_BELOW;
6190 pos = IWM_PHY_VHT_CTRL_POS_1_BELOW;
6193 pos = IWM_PHY_VHT_CTRL_POS_1_ABOVE;
6196 pos = IWM_PHY_VHT_CTRL_POS_2_ABOVE;
6202 return pos;
7651 uint8_t *frm, *pos; local
7690 pos = frm;
7694 remain -= frm - pos;
7705 preq->band_data[0].len = htole16(frm - pos);
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_rum.c1463 uint8_t mode, pos; local
1467 pos = k->wk_keyix;
1479 pos += 0 * RT2573_SKEY_MAX; /* vap id */
1481 flags |= RT2573_TX_KEY_ID(pos);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_rx.c355 uint8_t pos = 0x27; /* initial value */ local
361 pos ^= (mask >> (i * 8 + j - 1));
363 pos &= 0x3f;
365 return (pos);
372 uint8_t pos; local
374 pos = rtwn_get_multi_pos(LLADDR(sdl));
375 mfilt[pos / 32] |= (1 << (pos % 32));
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/usb/
H A Dr12au_rx.c68 int pos = sizeof(struct r92c_rx_stat); local
70 if (len < pos + 2) /* unknown, skip */
73 if (((uint8_t *)buf)[pos] == R12A_C2H_TX_REPORT)
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.cpp204 Attribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* _length) argument
210 return fInode->ReadAttribute(cookie->name, 0, pos, buffer, _length);
215 Attribute::Write(Transaction& transaction, attr_cookie* cookie, off_t pos, argument
222 pos, buffer, _length, _created);
H A DInode.cpp714 const char* name, uint32 type, off_t pos, const uint8* data, size_t length,
724 uint32 spaceNeeded = sizeof(small_data) + nameLength + 3 + pos + length + 1;
751 if (item->data_size > pos + length
753 || ((uint8*)last + pos + length - item->DataSize())
757 if (force && ((uint8*)last + pos + length - item->DataSize())
761 uint32 needed = pos + length - item->DataSize() -
786 if (pos + length != item->DataSize()) {
803 item->data_size = HOST_ENDIAN_TO_BFS_INT16(pos + length);
808 if ((uint64)oldDataSize < (uint64)pos) {
810 memset(item->Data() + oldDataSize, 0, pos
713 _AddSmallData(Transaction& transaction, NodeGetter& nodeGetter, const char* name, uint32 type, off_t pos, const uint8* data, size_t length, bool force) argument
1044 ReadAttribute(const char* name, int32 type, off_t pos, uint8* buffer, size_t* _length) argument
1094 WriteAttribute(Transaction& transaction, const char* name, int32 type, off_t pos, const uint8* buffer, size_t* _length, bool* _created) argument
1472 FindBlockRun(off_t pos, block_run& run, off_t& offset) argument
1575 ReadAt(off_t pos, uint8* buffer, size_t* _length) argument
1582 WriteAt(Transaction& transaction, off_t pos, const uint8* buffer, size_t* _length) argument
1669 FillGapWithZeros(off_t pos, off_t newSize) argument
[all...]
H A DInode.h122 off_t pos, uint8* buffer, size_t* _length);
124 const char* name, int32 type, off_t pos,
145 status_t FindBlockRun(off_t pos, block_run& run,
148 status_t ReadAt(off_t pos, uint8* buffer, size_t* length);
149 status_t WriteAt(Transaction& transaction, off_t pos,
229 uint32 type, off_t pos, const uint8* data,
H A Dkernel_interface.cpp412 off_t pos, const iovec* vecs, size_t count, size_t* _numBytes)
431 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs,
444 pos += bytes;
454 off_t pos, const iovec* vecs, size_t count, size_t* _numBytes)
476 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs,
489 pos += bytes;
1413 bfs_read(fs_volume* _volume, fs_vnode* _node, void* _cookie, off_t pos, argument
1424 return inode->ReadAt(pos, (uint8*)buffer, _length);
1429 bfs_write(fs_volume* _volume, fs_vnode* _node, void* _cookie, off_t pos, argument
1447 pos
411 bfs_read_pages(fs_volume* _volume, fs_vnode* _node, void* _cookie, off_t pos, const iovec* vecs, size_t count, size_t* _numBytes) argument
453 bfs_write_pages(fs_volume* _volume, fs_vnode* _node, void* _cookie, off_t pos, const iovec* vecs, size_t count, size_t* _numBytes) argument
1924 bfs_read_attr(fs_volume* _volume, fs_vnode* _file, void* _cookie, off_t pos, void* buffer, size_t* _length) argument
1939 bfs_write_attr(fs_volume* _volume, fs_vnode* _file, void* _cookie, off_t pos, const void* buffer, size_t* _length) argument
[all...]

Completed in 328 milliseconds

<<11121314151617181920>>