Home
last modified time | relevance | path

Searched refs:req_channel (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/iio/adc/
Dmcp3422.c135 u8 req_channel = channel->channel; in mcp3422_read_channel() local
139 if (req_channel != MCP3422_CHANNEL(adc->config)) { in mcp3422_read_channel()
142 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_read_channel()
144 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_read_channel()
201 u8 req_channel = channel->channel; in mcp3422_write_raw() local
212 adc->pga[req_channel] = i; in mcp3422_write_raw()
215 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_write_raw()
217 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_write_raw()
245 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_write_raw()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c230 u8 req_data_type, req_channel; in pcan_usb_pro_wait_rsp() local
239 req_channel = pum->u.rec_buffer[5]; in pcan_usb_pro_wait_rsp()
293 else if ((req_channel != 0xff) && in pcan_usb_pro_wait_rsp()
294 (pr->bus_act.channel != req_channel)) in pcan_usb_pro_wait_rsp()