Home
last modified time | relevance | path

Searched refs:din (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/siox/ !
H A Dsiox-bus-gpio.c18 struct gpio_desc *din; member
53 if (gpiod_get_value_cansleep(ddata->din)) in siox_gpio_pushpull()
102 ddata->din = devm_gpiod_get(dev, "din", GPIOD_IN); in siox_gpio_probe()
103 if (IS_ERR(ddata->din)) in siox_gpio_probe()
104 return dev_err_probe(dev, PTR_ERR(ddata->din), in siox_gpio_probe()
105 "Failed to get din GPIO\n"); in siox_gpio_probe()
/linux/drivers/spi/ !
H A Dspi-sg2044-nor.c201 u8 *din = op->data.buf.in; in sg2044_spifmc_read() local
207 ret = sg2044_spifmc_read_64k(spifmc, op, from, xfer_size, din); in sg2044_spifmc_read()
212 din += xfer_size; in sg2044_spifmc_read()
325 u8 *din = NULL; in sg2044_spifmc_trans_reg() local
331 din = op->data.buf.in; in sg2044_spifmc_trans_reg()
339 if (din) { in sg2044_spifmc_trans_reg()
363 if (din) in sg2044_spifmc_trans_reg()
378 if (din) { in sg2044_spifmc_trans_reg()
380 *din++ = readb(spifmc->io_base + SPIFMC_FIFO_PORT); in sg2044_spifmc_trans_reg()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ !
H A Dcq.c105 u32 din[MLX5_ST_SZ_DW(destroy_cq_in)] = {}; in mlx5_create_cq() local
156 MLX5_SET(destroy_cq_in, din, opcode, MLX5_CMD_OP_DESTROY_CQ); in mlx5_create_cq()
157 MLX5_SET(destroy_cq_in, din, cqn, cq->cqn); in mlx5_create_cq()
158 MLX5_SET(destroy_cq_in, din, uid, cq->uid); in mlx5_create_cq()
159 mlx5_cmd_exec_in(dev, destroy_cq, din); in mlx5_create_cq()
/linux/Documentation/devicetree/bindings/siox/ !
H A Deckelmann,siox-gpio.txt5 - din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the
15 din-gpios = <&gpio6 11 0>;
/linux/drivers/pinctrl/starfive/ !
H A Dpinctrl-starfive-jh7110.h43 /* gpio dout/doen/din/gpioinput register */
59 unsigned int din, u32 dout,
69 unsigned int din, u32 dout, u32 doen);
H A Dpinctrl-starfive-jh7100.c161 * | dout | doen | din | dout rev | doen rev | gpio nr |
657 u32 din = starfive_pinmux_to_din(v); in starfive_set_mux() local
663 dev_dbg(dev, "GPIO%u: dout=0x%x doen=0x%x din=0x%x\n", in starfive_set_mux()
664 gpio, dout, doen, din); in starfive_set_mux()
668 if (din != GPI_NONE) in starfive_set_mux()
669 reg_din = sfp->base + GPI_CFG_OFFSET + 4 * din; in starfive_set_mux()
967 void __iomem *din = sfp->base + GPIODIN + 4 * (gpio / 32); in starfive_gpio_get() local
969 return !!(readl_relaxed(din) & BIT(gpio % 32)); in starfive_gpio_get()
H A Dpinctrl-starfive-jh7110-sys.c338 unsigned int din, u32 dout, in jh7110_sys_set_one_pin_mux() argument
342 jh7110_set_gpiomux(sfp, pin, din, dout, doen); in jh7110_sys_set_one_pin_mux()
/linux/drivers/platform/chrome/ !
H A Dcros_ec_rpmsg.c111 response = (struct ec_host_response *)ec_dev->din; in cros_ec_pkt_xfer_rpmsg()
126 memcpy(ec_msg->data, ec_dev->din + sizeof(*response), in cros_ec_pkt_xfer_rpmsg()
131 sum += ec_dev->din[i]; in cros_ec_pkt_xfer_rpmsg()
180 memcpy(ec_dev->din, resp->data, len); in cros_ec_rpmsg_callback()
H A Dcros_ec_uart.c101 * buffer in din by cros_ec. This will ensure that if EC sends more in cros_ec_uart_rx_bytes()
144 resp->data = ec_dev->din; in cros_ec_uart_pkt_xfer()
172 host_response = (struct ec_host_response *)ec_dev->din; in cros_ec_uart_pkt_xfer()
185 sum += ec_dev->din[i]; in cros_ec_uart_pkt_xfer()
193 memcpy(ec_msg->data, ec_dev->din + sizeof(*host_response), host_response->data_len); in cros_ec_uart_pkt_xfer()
H A Dcros_ec.c195 ec_dev->din = devm_kzalloc(dev, ec_dev->din_size, GFP_KERNEL); in cros_ec_register()
196 if (!ec_dev->din) in cros_ec_register()
H A Dcros_ec_proto.c569 devm_kfree(dev, ec_dev->din); in cros_ec_query_all()
572 ec_dev->din = devm_kzalloc(dev, ec_dev->din_size, GFP_KERNEL); in cros_ec_query_all()
573 if (!ec_dev->din) { in cros_ec_query_all()
580 devm_kfree(dev, ec_dev->din); in cros_ec_query_all()
/linux/drivers/iio/adc/ !
H A Dltc2309.c107 u8 din; in ltc2309_read_raw_channel() local
109 din = FIELD_PREP(LTC2309_DIN_CH_MASK, address & 0x0f) | in ltc2309_read_raw_channel()
113 ret = i2c_smbus_write_byte(ltc2309->client, din); in ltc2309_read_raw_channel()
/linux/arch/microblaze/kernel/cpu/ !
H A Dcache.c523 .din = __invalidate_dcache_all_wb,
539 .din = __invalidate_dcache_all_wb,
555 .din = __invalidate_dcache_all_msr_irq,
570 .din = __invalidate_dcache_all_nomsr_irq,
586 .din = __invalidate_dcache_all_noirq_wt,
601 .din = __invalidate_dcache_all_noirq_wt,
/linux/arch/microblaze/include/asm/ !
H A Dcacheflush.h44 void (*din)(void); /* invalidate */ member
63 #define invalidate_dcache() mbc->din();
/linux/tools/testing/selftests/drivers/net/mlxsw/ !
H A Dqos_pfc.sh396 local din=$((in1 - in0))
399 local pct_in=$((din * 100 / size))
404 ((dout == din))
405 check_err $? "$((din - dout)) bytes out of $din ingressed got lost"
/linux/drivers/iio/imu/ !
H A Dadis16550.c116 __be32 din[2]; member
176 const u16 data, __be32 *din) in adis16550_spi_msg_prepare() argument
191 *din = cpu_to_be32(__din); in adis16550_spi_msg_prepare()
205 .tx_buf = &st->din[0], in adis16550_spi_xfer()
209 .tx_buf = &st->din[1], in adis16550_spi_xfer()
214 .tx_buf = &st->din[1], in adis16550_spi_xfer()
225 &st->din[0]); in adis16550_spi_xfer()
229 adis16550_spi_msg_prepare(reg, wr, writeval, &st->din[1]); in adis16550_spi_xfer()
/linux/arch/mips/include/asm/ !
H A Dtxx9pio.h16 __u32 din; member
/linux/arch/riscv/boot/dts/starfive/ !
H A Djh7110-pinfunc.h13 * | din | dout | doen | function | gpio nr |
17 * din: optional input signal, 0xff = none
21 #define GPIOMUX(n, dout, doen, din) ( \ argument
22 (((din) & 0xff) << 24) | \
/linux/include/dt-bindings/pinctrl/ !
H A Dpinctrl-starfive-jh7100.h17 * | dout | doen | din | dout rev | doen rev | gpio nr |
21 * din: optional input signal, 0xff = none
26 #define GPIOMUX(n, dout, doen, din) ( \ argument
29 (((din) & 0xff) << 8) | \
/linux/drivers/infiniband/hw/mlx5/ !
H A Dqpc.c249 u32 din[MLX5_ST_SZ_DW(destroy_qp_in)] = {}; in mlx5_qpc_create_qp() local
272 MLX5_SET(destroy_qp_in, din, opcode, MLX5_CMD_OP_DESTROY_QP); in mlx5_qpc_create_qp()
273 MLX5_SET(destroy_qp_in, din, qpn, qp->qpn); in mlx5_qpc_create_qp()
274 MLX5_SET(destroy_qp_in, din, uid, qp->uid); in mlx5_qpc_create_qp()
275 mlx5_cmd_exec_in(dev->mdev, destroy_qp, din); in mlx5_qpc_create_qp()
/linux/arch/mips/kernel/ !
H A Dgpio_txx9.c21 return !!(__raw_readl(&txx9_pioptr->din) & (1 << offset)); in txx9_gpio_get()
/linux/drivers/scsi/ !
H A Dsgiwd93.c70 void fill_hpc_entries(struct ip22_hostdata *hd, struct scsi_cmnd *cmd, int din) in fill_hpc_entries() argument
79 physaddr = dma_map_single(hd->dev, addr, len, DMA_DIR(din)); in fill_hpc_entries()
/linux/Documentation/translations/sp_SP/process/ !
H A Ddeprecated.rst
/linux/arch/arm64/boot/dts/qcom/ !
H A Dsdm845-wcd9340.dtsi63 qcom,din-ports = <2>;
/linux/include/linux/platform_data/ !
H A Dcros_ec_proto.h109 * @din: Input buffer (for data from EC). This buffer will always be
121 * @din_size: Size of din buffer to allocate (zero to use static din).
177 u8 *din; member

12