Home
last modified time | relevance | path

Searched refs:mark (Results 1 – 25 of 32) sorted by relevance

12

/drivers/misc/mic/scif/
Dscif_fence.c30 int mark, err; in scif_recv_mark() local
32 err = _scif_fence_mark(ep, &mark); in scif_recv_mark()
38 msg->payload[2] = mark; in scif_recv_mark()
335 static int _scif_fence_wait(scif_epd_t epd, int mark) in _scif_fence_wait() argument
338 dma_cookie_t cookie = mark & ~SCIF_REMOTE_FENCE; in _scif_fence_wait()
365 int mark, err; in scif_rma_handle_remote_fences() local
377 mark = fence->msg.payload[2]; in scif_rma_handle_remote_fences()
378 err = _scif_fence_wait(ep, mark); in scif_rma_handle_remote_fences()
392 static int _scif_send_fence(scif_epd_t epd, int uop, int mark, int *out_mark) in _scif_send_fence() argument
413 msg.payload[2] = mark; in _scif_send_fence()
[all …]
Dscif_fd.c416 struct scifioctl_fence_mark mark; in scif_fdioctl() local
419 if (copy_from_user(&mark, argp, sizeof(mark))) { in scif_fdioctl()
423 err = scif_fence_mark(priv, mark.flags, &tmp_mark); in scif_fdioctl()
426 if (copy_to_user((void __user *)mark.mark, &tmp_mark, in scif_fdioctl()
Dscif_rma.h337 int _scif_fence_mark(scif_epd_t epd, int *mark);
/drivers/dma/sh/
Dshdma-base.c67 if (sdesc->mark == DESC_SUBMITTED) { in shdma_chan_xfer_ld_queue()
94 if (chunk != desc && (chunk->mark == DESC_IDLE || in shdma_tx_submit()
99 chunk->mark = DESC_SUBMITTED; in shdma_tx_submit()
165 if (sdesc->mark != DESC_PREPARED) { in shdma_get_desc()
166 BUG_ON(sdesc->mark != DESC_IDLE); in shdma_get_desc()
243 desc->mark = DESC_IDLE; in shdma_alloc_chan_resources()
342 BUG_ON(desc->mark != DESC_SUBMITTED && in __ld_cleanup()
343 desc->mark != DESC_COMPLETED && in __ld_cleanup()
344 desc->mark != DESC_WAITING); in __ld_cleanup()
351 if (!all && desc->mark == DESC_SUBMITTED && in __ld_cleanup()
[all …]
/drivers/media/usb/dvb-usb/
Daf9005-remote.c89 u16 mark, space; in af9005_rc_decode() local
95 mark = (u16) (data[0] << 8) + data[1]; in af9005_rc_decode()
97 if (space * 3 < mark) { in af9005_rc_decode()
113 mark = (u16) (data[i] << 8) + data[i + 1]; in af9005_rc_decode()
114 mark >>= 1; in af9005_rc_decode()
117 if (mark * 2 > space) in af9005_rc_decode()
/drivers/macintosh/
Drack-meter.c47 u32 mark ____cacheline_aligned;
160 rm->dma_buf_v->mark = 0; in rackmeter_do_pause()
177 offsetof(struct rackmeter_dma, mark)); in rackmeter_setup_dbdma()
188 offsetof(struct rackmeter_dma, mark)); in rackmeter_setup_dbdma()
201 offsetof(struct rackmeter_dma, mark)); in rackmeter_setup_dbdma()
328 unsigned int mark, i; in rackmeter_irq() local
341 mark = db->mark; in rackmeter_irq()
342 if (mark != 1 && mark != 2) { in rackmeter_irq()
344 mark); in rackmeter_irq()
355 buf = mark == 1 ? db->buf1 : db->buf2; in rackmeter_irq()
/drivers/media/rc/
Dst_rc.c98 unsigned int symbol, mark = 0; in st_rc_rx_interrupt() local
121 mark = readl(dev->rx_base + IRB_RX_ON); in st_rc_rx_interrupt()
127 if ((mark > 2) && (symbol > 1)) { in st_rc_rx_interrupt()
128 symbol -= mark; in st_rc_rx_interrupt()
132 mark *= dev->sample_mult; in st_rc_rx_interrupt()
133 mark /= dev->sample_div; in st_rc_rx_interrupt()
136 ev.duration = US_TO_NS(mark); in st_rc_rx_interrupt()
/drivers/usb/host/
Dehci-dbg.c420 char mark; in qh_lines() local
425 mark = '@'; in qh_lines()
427 mark = token_mark(ehci, hw->hw_token); in qh_lines()
428 if (mark == '/') { /* qh_alt_next controls qh advance? */ in qh_lines()
431 mark = '#'; /* blocked */ in qh_lines()
433 mark = '.'; /* use hw_qtd_next */ in qh_lines()
437 hw_curr = (mark == '*') ? hc32_to_cpup(ehci, &hw->hw_current) : 0; in qh_lines()
444 hc32_to_cpup(ehci, &hw->hw_token), mark, in qh_lines()
455 mark = ' '; in qh_lines()
457 mark = '*'; in qh_lines()
[all …]
Dfotg210-hcd.c373 char mark; in qh_lines() local
378 mark = '@'; in qh_lines()
380 mark = token_mark(fotg210, hw->hw_token); in qh_lines()
381 if (mark == '/') { /* qh_alt_next controls qh advance? */ in qh_lines()
384 mark = '#'; /* blocked */ in qh_lines()
386 mark = '.'; /* use hw_qtd_next */ in qh_lines()
390 hw_curr = (mark == '*') ? hc32_to_cpup(fotg210, &hw->hw_current) : 0; in qh_lines()
397 hc32_to_cpup(fotg210, &hw->hw_token), mark, in qh_lines()
407 mark = ' '; in qh_lines()
409 mark = '*'; in qh_lines()
[all …]
/drivers/pinctrl/sh-pfc/
Dcore.c272 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum() argument
284 if (data[k] == mark) { in sh_pfc_mark_to_enum()
291 mark); in sh_pfc_mark_to_enum()
295 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux() argument
327 pos = sh_pfc_mark_to_enum(pfc, mark, pos, &enum_id); in sh_pfc_config_mux()
Dgpio.c266 unsigned int mark = pfc->info->func_gpios[offset].enum_id; in gpio_function_request() local
277 if (mark == 0) in gpio_function_request()
281 ret = sh_pfc_config_mux(pfc, mark, PINMUX_TYPE_FUNCTION); in gpio_function_request()
Dcore.h67 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type);
Dpfc-emev2.c670 #define EMEV_MUX_PIN(name, pin, mark) \ argument
672 static const unsigned int name##_mux[] = { mark##_MARK }
/drivers/isdn/hisax/
Dconfig.c639 int jiftime(char *s, long mark) in jiftime() argument
644 *s-- = mark % 10 + '0'; in jiftime()
645 mark /= 10; in jiftime()
646 *s-- = mark % 10 + '0'; in jiftime()
647 mark /= 10; in jiftime()
649 *s-- = mark % 10 + '0'; in jiftime()
650 mark /= 10; in jiftime()
651 *s-- = mark % 6 + '0'; in jiftime()
652 mark /= 6; in jiftime()
654 *s-- = mark % 10 + '0'; in jiftime()
[all …]
Dhisax.h1286 int jiftime(char *s, long mark);
/drivers/net/ipvlan/
Dipvlan_core.c361 .flowi4_mark = skb->mark, in ipvlan_process_v4_outbound()
402 .flowi6_mark = skb->mark, in ipvlan_process_v6_outbound()
/drivers/media/i2c/cx25840/
Dcx25840-ir.c879 u32 mark; in cx25840_ir_tx_write()
891 mark = ns_pulse[i] & LEVEL_MASK; in cx25840_ir_tx_write()
896 if (mark) in cx25840_ir_tx_write()
/drivers/gpu/drm/radeon/
Dr300_cmdbuf.c169 #define ADD_RANGE_MARK(reg, count,mark) \ in r300_init_reg_flags() argument
171 r300_reg_flags[i]|=(mark); in r300_init_reg_flags()
/drivers/mtd/nand/
Dnand_bbt.c89 uint8_t mark) in bbt_mark_entry() argument
91 uint8_t msk = (mark & BBT_ENTRY_MASK) << ((block & BBT_ENTRY_MASK) * 2); in bbt_mark_entry()
/drivers/net/
Dvxlan.c1213 skb->mark = md->gbp; in vxlan_rcv()
1882 fl6.flowi6_mark = skb->mark; in vxlan6_get_route()
2023 md->gbp = skb->mark; in vxlan_xmit_one()
2044 fl4.flowi4_mark = skb->mark; in vxlan_xmit_one()
2468 fl4.flowi4_mark = skb->mark; in egress_ipv4_tun_info()
Dgeneve.c722 fl4->flowi4_mark = skb->mark; in geneve_get_v4_rt()
769 fl6->flowi6_mark = skb->mark; in geneve_get_v6_dst()
Dvrf.c199 .flowi6_mark = skb->mark, in vrf_process_v6_outbound()
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dgpc.fuc488 // mark completion in HUB's barrier
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c763 u32 mark, offset; in bnx2x_fw_dump_lvl() local
797 mark = REG_RD(bp, addr); in bnx2x_fw_dump_lvl()
798 if (mark != MFW_TRACE_SIGNATURE) { in bnx2x_fw_dump_lvl()
805 mark = REG_RD(bp, addr); in bnx2x_fw_dump_lvl()
806 mark = MCPR_SCRATCH_BASE(bp) + ((mark + 0x3) & ~0x3) - 0x08000000; in bnx2x_fw_dump_lvl()
807 if (mark >= trace_shmem_base || mark < addr + 4) { in bnx2x_fw_dump_lvl()
811 printk("%s" "begin fw dump (mark 0x%x)\n", lvl, mark); in bnx2x_fw_dump_lvl()
816 for (offset = mark; offset < trace_shmem_base; offset += 0x8*4) { in bnx2x_fw_dump_lvl()
824 for (offset = addr + 4; offset <= mark; offset += 0x8*4) { in bnx2x_fw_dump_lvl()
/drivers/usb/storage/
Dene_ub6250.c767 static int ms_lib_set_logicalblockmark(struct us_data *us, u16 phyblk, u16 mark) in ms_lib_set_logicalblockmark() argument
774 info->MS_Lib.Phy2LogMap[phyblk] = mark; in ms_lib_set_logicalblockmark()

12